PDA

View Full Version : randomly scatterd objects


jeyms
12-27-2006, 09:57 PM
hello all,

i'am writing here to ask for some help.

well , what i'am trying to get is an effect of scatterd objects ( the same objects with different sizes and opacity ) but no objets hits the other.

like this effect:
http://designet.ru/images/object_98.1144061400.83521.jpg

as you see , in "2006" circles have differnt sizes and diffenent s opacity and no circle hits an other. there is some manual job for sure. but we can use a script to generate randomly those circles, and after that , by using a shape or a text , and the hit test, we can remove the unwanted circles and keep just the one we want, and than complete this manually.

i'have tried different scripts , but i get always an error message that it's gonna be so sloooow.

the diffuclty is how to make these circles "run away" one from the other.
i have tried to affect to original (movieclip before duplicationg) a script tha told him to scale it self untill it hits wit no other circle, but it s difficulte to handle with all these objects.
one other idea is to have different movie clips (mc1,mc2,....mcn) with different sizes, than duplicate them from the bigger to the smaller and at any step. the movie clip mci+1 should fill a part of the empty area
left by ( mc1......mci-1)

so, any one have an idea ?

jeyms
01-08-2007, 06:06 PM
up!