diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2013-01-07 16:00:43 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2013-01-07 16:00:43 +0000 |
commit | eecc67b519fff80279c7836eaaba9a303f11907c (patch) | |
tree | dd5ad6c79a1e6544dd6c18fcbd2d5dea0b7a34ca /puremapping/pmrepulsor_3d.pd | |
parent | deeb0608b0522d7f282d22a5b4fba6882f8953f1 (diff) |
use pmpd better than msd
svn path=/trunk/externals/nusmuk/; revision=16836
Diffstat (limited to 'puremapping/pmrepulsor_3d.pd')
-rw-r--r-- | puremapping/pmrepulsor_3d.pd | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/puremapping/pmrepulsor_3d.pd b/puremapping/pmrepulsor_3d.pd index e0771f7..5b337ac 100644 --- a/puremapping/pmrepulsor_3d.pd +++ b/puremapping/pmrepulsor_3d.pd @@ -1,4 +1,4 @@ -#N canvas 146 213 871 573 10; +#N canvas 144 218 871 573 10; #X obj 31 34 inlet; #X obj 59 326 loadbang; #X obj 32 535 outlet; @@ -8,13 +8,10 @@ #X obj 461 38 inlet; #X msg 461 84 setD lnk \$1; #X msg 206 239 bang \, get massesPos out \, get massesForces out; -#X obj 32 507 route out; #X obj 141 536 outlet; -#X obj 141 508 route out; #X obj 32 483 route massesPosId massesForcesId; #X obj 139 321 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X obj 32 461 msd3D; #X msg 171 216 forceX out \$1 \, forceY out \$2 \, forceZ out \$3; #X msg 31 112 posX grab \$1; #X msg 145 192 setK lgrab \$1; @@ -26,30 +23,33 @@ 0 \, link lnk center out \$1 0 \, tLink damp center out 0 \$2 0 1 0 \, tLink damp center out 0 \$2 1 0 0 \, tLink damp center out 0 \$2 0 0 1 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0 0; -#X connect 0 0 19 0; +#X obj 32 461 pmpd3d; +#X obj 32 507 route 1; +#X obj 141 508 route 1; +#X connect 0 0 16 0; #X connect 1 0 3 0; -#X connect 3 0 22 0; +#X connect 3 0 19 0; #X connect 4 0 5 0; -#X connect 5 0 14 0; +#X connect 5 0 20 0; #X connect 6 0 7 0; -#X connect 7 0 14 0; -#X connect 8 0 14 0; -#X connect 9 0 2 0; -#X connect 11 0 10 0; -#X connect 12 0 9 0; -#X connect 12 1 11 0; -#X connect 13 0 3 0; -#X connect 14 0 12 0; -#X connect 15 0 14 0; -#X connect 16 0 14 0; -#X connect 17 0 14 0; -#X connect 18 0 14 0; +#X connect 7 0 20 0; +#X connect 8 0 20 0; +#X connect 10 0 21 0; +#X connect 10 1 22 0; +#X connect 11 0 3 0; +#X connect 12 0 20 0; +#X connect 13 0 20 0; +#X connect 14 0 20 0; +#X connect 15 0 20 0; +#X connect 16 0 17 0; +#X connect 16 1 14 0; +#X connect 16 2 12 0; +#X connect 16 3 8 0; +#X connect 17 0 13 0; +#X connect 17 1 15 0; +#X connect 17 2 18 0; +#X connect 18 0 20 0; #X connect 19 0 20 0; -#X connect 19 1 17 0; -#X connect 19 2 15 0; -#X connect 19 3 8 0; -#X connect 20 0 16 0; -#X connect 20 1 18 0; -#X connect 20 2 21 0; -#X connect 21 0 14 0; -#X connect 22 0 14 0; +#X connect 20 0 10 0; +#X connect 21 0 2 0; +#X connect 22 0 9 0; |