aboutsummaryrefslogtreecommitdiff
path: root/msd2D/editor/mass-set.pd
diff options
context:
space:
mode:
authorFrank Barknecht <fbar@users.sourceforge.net>2005-04-29 19:28:36 +0000
committerFrank Barknecht <fbar@users.sourceforge.net>2005-04-29 19:28:36 +0000
commit4246735fbfbf7a9ef9cc25386381a215054ae8b4 (patch)
tree8155b0363ff3d74055b43168fa61eae906acae33 /msd2D/editor/mass-set.pd
parent1d77ab8203fa300ba6c0e1ff4c846b4008602b8c (diff)
* Initial import of the msd2d-editor.
* Changes compared to previous version available on footils.org: * Link creation now done by selectind two or more masses, then the link-bang will connect each two masses with a link. svn path=/trunk/externals/nusmuk/; revision=2856
Diffstat (limited to 'msd2D/editor/mass-set.pd')
-rw-r--r--msd2D/editor/mass-set.pd56
1 files changed, 56 insertions, 0 deletions
diff --git a/msd2D/editor/mass-set.pd b/msd2D/editor/mass-set.pd
new file mode 100644
index 0000000..b40c1f6
--- /dev/null
+++ b/msd2D/editor/mass-set.pd
@@ -0,0 +1,56 @@
+#N canvas 471 153 686 707 10;
+#X obj 251 159 pack 0 p;
+#X obj 251 187 route \$1;
+#X obj 130 347 set mass x y;
+#X obj 251 100 t p p;
+#X obj 251 131 get mass mid;
+#X text 261 220 Select pointer with mid matching \$1;
+#X obj 91 229 spigot;
+#X msg 133 203 1;
+#X obj 216 212 t b p;
+#X obj 91 165 r masspositions;
+#X text 94 145 mid \, x \, y;
+#X obj 91 291 route \$1;
+#X obj 148 227 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 251 73 r mypointer;
+#X obj 263 348 pointer;
+#X obj 263 509 s pointer2msd;
+#X obj 263 395 get mass mid x y;
+#X msg 263 448 posX \$1 \$2;
+#X obj 263 423 pack 0 0 0;
+#X msg 275 474 posY \$1 \$3;
+#X obj 91 261 t b a;
+#X obj 263 320 spigot;
+#X msg 305 294 1;
+#X obj 320 318 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 263 274 r pollpos;
+#X connect 0 0 1 0;
+#X connect 1 0 8 0;
+#X connect 3 0 4 0;
+#X connect 3 1 0 1;
+#X connect 4 0 0 0;
+#X connect 6 0 20 0;
+#X connect 7 0 6 1;
+#X connect 7 0 12 0;
+#X connect 8 0 7 0;
+#X connect 8 0 22 0;
+#X connect 8 1 2 2;
+#X connect 8 1 14 1;
+#X connect 9 0 6 0;
+#X connect 11 0 2 0;
+#X connect 13 0 3 0;
+#X connect 14 0 16 0;
+#X connect 16 0 18 0;
+#X connect 16 1 18 1;
+#X connect 16 2 18 2;
+#X connect 17 0 15 0;
+#X connect 18 0 17 0;
+#X connect 18 0 19 0;
+#X connect 19 0 15 0;
+#X connect 20 1 11 0;
+#X connect 21 0 14 0;
+#X connect 22 0 21 1;
+#X connect 22 0 23 0;
+#X connect 24 0 21 0;