I’m having a hard time trying to find the way to achieve this. Maybe I’m not using the proper words to search but haven’t found anything on Google or this forum yet. I’d like to create a series of objects programmatically and still keep them identified so I can modify their properties individually or by group. Let’s say somewhere I have something like:
id=0 for x in range(0, 99): for y in range(0, 99): s[id]=new Sphere() #making this up, I have no idea... s[id].x=x s[id].y=y s[id].z=x+y s[id].radius=0.5 id+=1
That would just create 10,000 spheres and give then an initial position. Then at anytime let’s say, change some of their sizes by using something like:
id=1500 for i in range(0, 200): s[id].radius=1.5 #or even better calling a function that animates the property id=id+4
Does this makes any sense? Is this a reasonable way of creating and accessing geometry in TD?
I’m just trying to do this zoada.com/lpa/ and instead of using controls, make it audio reactive.