From f7d99fa42033e7e5447ae05d0d6033354189f262 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Thu, 22 Aug 2013 08:51:41 +0000 Subject: include Marco Donnarumma language correction svn path=/trunk/externals/pmpd/; revision=17196 --- mass2D-help.pd | 98 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'mass2D-help.pd') diff --git a/mass2D-help.pd b/mass2D-help.pd index 3550949..2f094af 100644 --- a/mass2D-help.pd +++ b/mass2D-help.pd @@ -1,75 +1,75 @@ -#N canvas 751 176 712 738 10; -#X text 152 81 M is positive. negative value give non physical things. -; +#N canvas 596 85 712 771 10; #X msg 115 519 resetF; #X msg 116 496 reset; -#X text 246 492 reset position (to it's initial value) and forces to -zero. send it's position to it's outlet.; -#X text 340 289 set the minimum and maximum position of the masse; -#X text 283 375 when the masses are at Xmin \, Xmax \, Ymon \, Ymax -\, Zmin or Zmax \, the mouvement is possible only if force apply is -superior to the threshold; -#X text 283 362 change the threshold value; #X msg 116 450 bang; #X msg 115 541 off; #X msg 116 564 on; #X msg 115 588 loadbang; -#X text 244 590 output curent position; -#X text 246 545 stop mass mouvement; -#X text 245 567 restart mass movement; -#X text 252 447 compute position and output it; -#X text 250 474 add force to this mass; #X msg 120 153 setM 1; #X msg 119 344 setT 0; -#X text 261 97 1 : name; -#X text 282 115 this is the name of the mass. you can set value to +#X text 284 122 this is the name of the mass. you can set value to this name instead of making a pd connection.; #X obj 29 625 mass2D; -#X msg 120 256 setXmin -10000 \, setXmax 10000 \, setYmin -10000 \, +#X msg 118 260 setXmin -10000 \, setXmax 10000 \, setYmin -10000 \, setYmax 10000; #X text 260 277 5 : Xmin; #X text 260 293 6 : Xmax; #X text 260 309 7 : Ymin; #X text 260 325 8 : Ymax; #X text 259 343 9 : Threshold; -#X text 156 23 mass2D : get liaison forces and output position; #X msg 121 182 setX 0 \, setY 0; #X msg 121 206 setXY 0 0 0; #X msg 114 427 setD 0; -#X text 256 423 10 : set velocity damping of the mass; -#X obj 60 657 unpack s f f f; +#X obj 62 657 unpack s f f f; #X obj 45 683 unpack s f f f; #X obj 29 707 unpack s f f; #X msg 116 472 force2D $f1 $f2; -#X text 282 162 change weight of the mass; -#X text 259 181 3 : X = initial position of the mass; -#X text 259 202 4 : Y = initial position of the mass; +#X text 259 191 3 : X = initial position of the mass; +#X text 259 212 4 : Y = initial position of the mass; #X text 317 6 mass; -#X text 246 523 reset the total forces applied to the mass; #X text 169 660 X Y & total velocity of the mass; -#X text 154 684 X Y & total force apply to the mass; #X text 140 708 X Y position of the mass; -#X text 259 149 2 : M = weight of the mass; -#X text 152 37 the sum of the forces apply to a mass modifie its velocity -(depending of it's weight). the position is change according to the -velocity and the weight of the mass; -#X text 342 305 if the position of the mass is < Xmin then position -will be Xmin; -#X text 283 220 change position of the mass \, and reset memory (for +#X text 259 159 2 : M = weight of the mass; +#X text 261 107 1 : Name; +#X text 282 172 changes weight of the mass; +#X text 281 225 changes position of the mass \, and resets memory (for history).; -#X connect 1 0 20 0; -#X connect 2 0 20 0; -#X connect 7 0 20 0; -#X connect 8 0 20 0; -#X connect 9 0 20 0; -#X connect 10 0 20 0; -#X connect 16 0 20 0; -#X connect 17 0 20 0; -#X connect 20 0 34 0; -#X connect 20 1 33 0; -#X connect 20 2 32 0; -#X connect 21 0 20 0; -#X connect 28 0 20 0; -#X connect 29 0 20 0; -#X connect 30 0 20 0; -#X connect 35 0 20 0; +#X text 340 289 sets the minimum and maximum position of the mass; +#X text 342 305 if the position of the mass is < Xmin the position +will be Xmin; +#X text 282 356 changes the threshold value; +#X text 282 371 when the masses are at Xmin \, Xmax \, Ymon \, Ymax +\, Zmin or Zmax \, the movement is possible only if the force applied +is higher than the threshold; +#X text 257 423 10 : sets velocity damping of the mass; +#X text 257 449 computes position and outputs it; +#X text 257 476 adds force to this mass; +#X text 255 494 resets position (to its initial value) and forces to +zero. send its position to its outlet.; +#X text 255 525 resets the total forces applied to the mass; +#X text 255 546 stops mass movement; +#X text 255 569 restarts mass movement; +#X text 255 592 outputs current position; +#X text 154 684 X Y & total force applied to the mass; +#X text 156 23 mass2D : gets link forces and outputs position.; +#X text 154 78 M is positive. Negative value produce non physical behaviours. +; +#X text 154 37 The sum of the forces applied to a mass modifies its +velocity (depending of its weight). The position is changed according +to the velocity and the weight of the mass.; +#X connect 0 0 9 0; +#X connect 1 0 9 0; +#X connect 2 0 9 0; +#X connect 3 0 9 0; +#X connect 4 0 9 0; +#X connect 5 0 9 0; +#X connect 6 0 9 0; +#X connect 7 0 9 0; +#X connect 9 0 21 0; +#X connect 9 1 20 0; +#X connect 9 2 19 0; +#X connect 10 0 9 0; +#X connect 16 0 9 0; +#X connect 17 0 9 0; +#X connect 18 0 9 0; +#X connect 22 0 9 0; -- cgit v1.2.1