aboutsummaryrefslogtreecommitdiff
path: root/msd2D/editor/link2masses.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/link2masses.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/link2masses.pd')
-rw-r--r--msd2D/editor/link2masses.pd25
1 files changed, 25 insertions, 0 deletions
diff --git a/msd2D/editor/link2masses.pd b/msd2D/editor/link2masses.pd
new file mode 100644
index 0000000..6fe8b4b
--- /dev/null
+++ b/msd2D/editor/link2masses.pd
@@ -0,0 +1,25 @@
+#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 42 118 unpack p p;
+#X obj 191 162 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 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;