From c9684a4f81640fc854b299c86f209554409bde80 Mon Sep 17 00:00:00 2001 From: Frank Barknecht Date: Mon, 2 May 2005 10:36:10 +0000 Subject: Link and Mass structures now carry info about physical parameters, this is settable on creation of links. svn path=/trunk/externals/nusmuk/; revision=2872 --- msd2D/editor/link2masses.pd | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) (limited to 'msd2D/editor/link2masses.pd') diff --git a/msd2D/editor/link2masses.pd b/msd2D/editor/link2masses.pd index 6fe8b4b..157ea8b 100644 --- a/msd2D/editor/link2masses.pd +++ b/msd2D/editor/link2masses.pd @@ -1,25 +1,32 @@ #N canvas 567 387 568 421 10; #X obj 42 51 inlet; #X obj 42 83 t a b; -#X obj 191 213 append liaison mid1 x1 y1; -#X obj 42 249 set liaison mid2 x2 y2; -#X obj 361 190 pointer; -#X msg 361 161 traverse pd-data \, bang; +#X obj 259 221 append liaison mid1 x1 y1; +#X obj 429 198 pointer; +#X msg 429 169 traverse pd-data \, bang; #X obj 42 118 unpack p p; -#X obj 191 162 get mass mid x y; +#X obj 259 170 get mass mid x y; #X obj 42 177 get mass mid x y; -#X text 183 56 Link two masses with a link in [pd data]; +#X text 199 24 Link two masses with a link in [pd data]; +#X obj 178 55 inlet; +#X obj 178 89 unpack 0 0 0; +#X obj 42 249 set liaison mid2 x2 y2 K D D2; +#X text 227 54 List: K \, D \, D2; #X connect 0 0 1 0; -#X connect 1 0 6 0; -#X connect 1 1 5 0; -#X connect 2 0 3 3; -#X connect 4 0 2 3; -#X connect 5 0 4 0; -#X connect 6 0 8 0; -#X connect 6 1 7 0; -#X connect 7 0 2 0; -#X connect 7 1 2 1; -#X connect 7 2 2 2; -#X connect 8 0 3 0; -#X connect 8 1 3 1; -#X connect 8 2 3 2; +#X connect 1 0 5 0; +#X connect 1 1 4 0; +#X connect 2 0 11 6; +#X connect 3 0 2 3; +#X connect 4 0 3 0; +#X connect 5 0 7 0; +#X connect 5 1 6 0; +#X connect 6 0 2 0; +#X connect 6 1 2 1; +#X connect 6 2 2 2; +#X connect 7 0 11 0; +#X connect 7 1 11 1; +#X connect 7 2 11 2; +#X connect 9 0 10 0; +#X connect 10 0 11 3; +#X connect 10 1 11 4; +#X connect 10 2 11 5; -- cgit v1.2.1