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
there is an example of this with "iemguts"
On Mon, Jun 4, 2012 at 2:59 PM, flad chester flad.chester@gmail.com wrote:
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
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-04 22:00, Marian Weger wrote:
how do you edit your patch while the objects are moving?
well, that's part of the fun, isn't it?
fgmasdr IOhannes