#N canvas 340 121 673 719 10; #X text 282 7 link between 2 masses; #X text 126 593 1 : force to apply to mass 1 (float); #X text 158 563 2 : force to apply to mass 2 (float); #X msg 105 125 setL 0; #X msg 105 154 setK 0; #X msg 105 184 setD 0; #X msg 104 214 setD2 0; #X msg 104 270 bang; #X msg 106 300 reset; #X msg 105 326 resetF; #X msg 105 350 resetL; #X msg 104 374 setLmin 0; #X text 249 185 4 : Damping of the link deformation; #X text 250 214 5 : Damping of the masses speed; #X msg 104 424 setLmax 10000; #X text 272 84 you can use it in pd to send messages / bang / etc to the lia. this is for simplifying connection.; #X obj 33 536 link2D; #X msg 103 238 position2D $f1 $f2; #X msg 102 508 position2D $f1 $f2; #X text 244 508 position of mass 2; #X obj 64 563 unpack s f f; #X obj 33 591 unpack s f f; #X text 131 647 this object is a 3D version of link. more exemple can be find in the link help; #X msg 104 475 setM 1; #X text 248 122 2 : Length; #X text 244 385 if the size of the link is < Lmin then the force of the link will be null; #X text 242 436 if the size of the link is > Lmax then the force of the link will be null; #X text 150 609 forces depend of the physicals properies of the link ; #X text 272 134 changes Length of the link; #X text 272 166 changes rigidity; #X text 248 153 3 : Rigidity; #X text 250 238 changes position of mass 1; #X text 249 266 computes and outputs forces \, according to the last masses positions; #X text 246 297 resets position of masses and sets speed of the link to zero; #X text 246 324 resets damping and inertial force of the link.; #X text 245 351 sets the length of the link to its current length; #X text 245 372 sets the minimum size of the link; #X text 243 424 sets the maximum size of the link; #X text 244 473 changes muscle force : a muscle can change the link size (link size = muscle * lenght); #X text 247 68 1 : Name; #X text 217 31 link2D : get position of masses \, output forces.; #X connect 3 0 16 0; #X connect 4 0 16 0; #X connect 5 0 16 0; #X connect 6 0 16 0; #X connect 7 0 16 0; #X connect 8 0 16 0; #X connect 9 0 16 0; #X connect 10 0 16 0; #X connect 11 0 16 0; #X connect 14 0 16 0; #X connect 16 0 21 0; #X connect 16 1 20 0; #X connect 17 0 16 0; #X connect 18 0 16 1; #X connect 23 0 16 0;