great, thanks!
next step would be to get position from the data structure and not from the masses : to be able to move all points.
when bang masses : masses position ->link when bang link : link -> masses -> data structure.
when move data structure : data stucture -> masse
with a trigger b b : -> bang_mass and bang_link, in order to be able to move all the data structure points (and not only the right and left point)
the integer limitation could be a problem, but i realy would like to try...
cyrille
Frank Barknecht wrote:
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I attached a little pmpd variation to whet your appetite. ;)
Oops, small bugfix.
Ciao
#N canvas 653 526 450 300 10; #X obj 88 150 element masses m; #X msg 180 70 traverse pd-paint , next; #X obj 181 105 pointer masses; #X obj 38 194 set mass y; #X obj 92 113 float $1; #X obj 23 39 inlet; #X obj 20 61 t f b b; #X obj 132 198 get mass y; #X obj 133 227 outlet; #X obj 167 29 inlet; #X obj 136 57 t b b; #X connect 0 0 3 1; #X connect 0 0 7 0; #X connect 1 0 2 0; #X connect 2 0 0 1; #X connect 4 0 0 0; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 6 1 4 0; #X connect 6 2 1 0; #X connect 7 0 8 0; #X connect 9 0 10 0; #X connect 10 0 4 0; #X connect 10 1 1 0;