how do you edit your patch while the objects are moving?
i think it would be much more practicable to separate the graphical animation from the signal processing. i.e. make a nice anmation in gem, with moving objects and make abstractions that do neither move nor connect by wires, but only toggle sends and receives to the others, according to your graphical animation.
if you know the positions of your moving objects, good old pythagoras will tell you the distance...
cheers, marian
Am 04.06.12 19:59, schrieb flad chester:
Hi , I have a patch with subpatches, i need that each abstraction can move randonmly and when the distance between 2 abstractions is less than 5 then it will generate a link between them. Do anybody have tried something like this? I was wondering if its possible to animate abstractions in pd? For example image i have 20 abstractions or subpatches, i would like that they can move randomly (x, y) ,and i also need to calculate the distance between abstractions and generate a link based on the distance.
any idea?
thanks
Flad
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list