aboutsummaryrefslogtreecommitdiff
path: root/editor/msd_append.pd
diff options
context:
space:
mode:
Diffstat (limited to 'editor/msd_append.pd')
-rw-r--r--editor/msd_append.pd178
1 files changed, 103 insertions, 75 deletions
diff --git a/editor/msd_append.pd b/editor/msd_append.pd
index d01906b..7c5a13e 100644
--- a/editor/msd_append.pd
+++ b/editor/msd_append.pd
@@ -5,88 +5,112 @@
;
#X obj 34 29 bng 15 250 50 0 empty empty fix 0 -6 0 8 -258699 -1 -1
;
-#N canvas 355 457 863 719 guts 0;
-#X obj 252 139 pointer;
-#X obj 66 179 random 100;
-#X msg 252 102 traverse pd-data \, bang;
-#X obj 105 126 random 100;
-#X obj 70 24 inlet;
-#X obj 177 24 inlet;
-#X obj 385 351 + 1;
-#X obj 355 291 r \$0-counter-bng;
-#X obj 355 393 s \$0-nextmass;
-#X obj 145 153 r \$0-nextmass;
-#X obj 70 97 s \$0-counter-bng;
-#X obj 70 71 t b b b b b f b;
-#X msg 70 47 0;
-#X text 111 24 mobile;
-#X text 223 24 fixed mass;
-#X msg 177 46 900;
-#X obj 355 351 f 0;
-#X obj 391 316 loadbang;
-#X obj 255 294 r \$0-counter;
-#X msg 296 384 set \$1;
-#X obj 296 425 s \$0-counter-in;
-#X obj 66 203 + 20;
-#X obj 105 148 + 20;
-#X obj 208 133 r \$0-M;
+#N canvas 355 305 863 719 guts 0;
+#X obj 289 340 pointer;
+#X msg 289 303 traverse pd-data \, bang;
+#X obj 107 89 inlet;
+#X obj 214 89 inlet;
+#X obj 679 378 + 1;
+#X obj 649 318 r \$0-counter-bng;
+#X obj 649 420 s \$0-nextmass;
+#X obj 182 354 r \$0-nextmass;
+#X obj 107 298 s \$0-counter-bng;
+#X msg 107 112 0;
+#X text 148 89 mobile;
+#X text 260 89 fixed mass;
+#X msg 214 111 900;
+#X obj 649 378 f 0;
+#X obj 685 343 loadbang;
+#X obj 549 321 r \$0-counter;
+#X msg 590 411 set \$1;
+#X obj 590 452 s \$0-counter-in;
+#X obj 245 334 r \$0-M;
#X obj 553 175 f \$1;
#X obj 553 199 select 0;
#X obj 553 254 s \$0-M;
#X msg 552 224 100;
#X obj 558 152 loadbang;
-#X obj 21 135 r \$0-geos;
-#X obj 252 77 r \$0-start-traverse;
-#X obj 179 204 f 0;
-#X obj 21 158 t a b;
-#X obj 195 173 r \$0-mfds;
-#X obj 233 198 r \$0-msid;
-#X obj 68 231 append mass x y mid mob M sid;
+#X obj 40 316 r \$0-geos;
+#X obj 289 278 r \$0-start-traverse;
+#X obj 216 405 f 0;
+#X obj 40 339 t a b;
+#X obj 232 374 r \$0-mfds;
+#X obj 270 399 r \$0-msid;
+#X obj 105 432 append mass x y mid mob M sid;
#X obj 678 195 loadbang;
#X obj 678 249 s \$0-msid;
#X msg 678 221 0;
-#X connect 0 0 35 6;
-#X connect 1 0 21 0;
-#X connect 2 0 0 0;
-#X connect 3 0 22 0;
-#X connect 4 0 12 0;
-#X connect 5 0 15 0;
-#X connect 6 0 16 1;
-#X connect 7 0 16 0;
-#X connect 9 0 35 2;
-#X connect 11 0 10 0;
-#X connect 11 1 1 0;
-#X connect 11 3 3 0;
-#X connect 11 5 35 3;
-#X connect 11 6 2 0;
-#X connect 12 0 11 0;
-#X connect 15 0 11 0;
-#X connect 16 0 6 0;
-#X connect 16 0 8 0;
-#X connect 16 0 19 0;
-#X connect 17 0 16 0;
-#X connect 18 0 16 0;
+#X msg 197 376 \$1;
+#X obj 141 172 random 100;
+#X obj 227 172 random 100;
+#X obj 141 196 + 20;
+#X obj 227 194 + 20;
+#X obj 107 272 t b a b b b a b;
+#X msg 123 356 \$2 \$3;
+#X obj 128 150 t f b;
+#X obj 107 230 pack 0 0 0;
+#X obj 363 90 inlet;
+#X text 410 91 another mass: list of "mob \, x \, y";
+#X obj 105 477 outlet;
+#X text 159 480 last mass created;
+#X obj 338 531 append hole x y;
+#X obj 438 505 pointer;
+#X msg 438 468 traverse pd-data \, bang;
+#X obj 438 443 r \$0-start-traverse;
+#X msg 338 479 10 10;
+#X connect 0 0 30 6;
+#X connect 1 0 0 0;
+#X connect 2 0 9 0;
+#X connect 3 0 12 0;
+#X connect 4 0 13 1;
+#X connect 5 0 13 0;
+#X connect 7 0 30 2;
+#X connect 9 0 41 0;
+#X connect 12 0 41 0;
+#X connect 13 0 4 0;
+#X connect 13 0 6 0;
+#X connect 13 0 16 0;
+#X connect 14 0 13 0;
+#X connect 15 0 13 0;
+#X connect 16 0 17 0;
+#X connect 18 0 30 4;
#X connect 19 0 20 0;
-#X connect 21 0 35 0;
-#X connect 22 0 35 1;
-#X connect 23 0 35 4;
-#X connect 24 0 25 0;
-#X connect 25 0 27 0;
-#X connect 25 1 26 0;
-#X connect 27 0 26 0;
-#X connect 28 0 24 0;
-#X connect 29 0 32 0;
-#X connect 30 0 2 0;
-#X connect 31 0 35 3;
-#X connect 32 0 35 0;
-#X connect 32 1 31 0;
-#X connect 33 0 31 1;
-#X connect 34 0 35 5;
+#X connect 20 0 22 0;
+#X connect 20 1 21 0;
+#X connect 22 0 21 0;
+#X connect 23 0 19 0;
+#X connect 24 0 27 0;
+#X connect 25 0 1 0;
+#X connect 26 0 30 3;
+#X connect 27 0 30 0;
+#X connect 27 1 26 0;
+#X connect 28 0 26 1;
+#X connect 29 0 30 5;
+#X connect 30 0 45 0;
+#X connect 31 0 33 0;
+#X connect 33 0 32 0;
+#X connect 34 0 30 3;
+#X connect 35 0 37 0;
#X connect 36 0 38 0;
-#X connect 38 0 37 0;
+#X connect 37 0 42 1;
+#X connect 38 0 42 2;
+#X connect 39 0 8 0;
+#X connect 39 1 40 0;
+#X connect 39 5 34 0;
+#X connect 39 6 1 0;
+#X connect 40 0 30 0;
+#X connect 41 0 42 0;
+#X connect 41 1 35 0;
+#X connect 41 1 36 0;
+#X connect 42 0 39 0;
+#X connect 43 0 42 0;
+#X connect 48 0 47 2;
+#X connect 49 0 48 0;
+#X connect 50 0 49 0;
+#X connect 51 0 47 0;
#X restore 105 79 pd guts;
-#X obj 126 6 inlet;
-#X obj 169 5 inlet;
+#X obj 105 6 inlet;
+#X obj 148 5 inlet;
#X obj 25 59 nbx 5 14 -1e+37 1e+37 0 0 \$0-counter \$0-counter-in id
-22 8 0 10 -262144 -1 -1 0 256;
#X obj 2 79 cnv 15 80 60 empty empty empty 10 10 0 10 -195568 -1 0
@@ -99,7 +123,7 @@
#X obj 93 188 s \$0-counter-bng;
#X obj 48 33 r \$0-make-rect;
#X msg 93 67 bang;
-#N canvas 449 480 450 300 1024-geos 0;
+#N canvas 449 480 450 300 1015-geos 0;
#X obj 48 82 bng 24 250 50 0 \$0-make-rect empty make-rect 0 -6 0 8
-24198 -1 -1;
#X floatatom 151 76 5 0 0 0 x0 - #0-x0;
@@ -129,7 +153,7 @@
#X msg 516 22 bang;
#X obj 48 66 t b b;
#X obj 78 226 s \$0-start-traverse;
-#N canvas 0 0 930 534 1024-sixpack 0;
+#N canvas 0 0 930 534 1015-sixpack 0;
#X obj 250 282 r \$0-x0;
#X text 452 208 Args;
#X obj 320 310 sixpack --------------------;
@@ -150,7 +174,7 @@
#X obj 93 128 t b a;
#X obj 524 45 r \$0-show-geos;
#X obj 63 322 r \$0-make-circ;
-#N canvas 0 0 930 534 1024-fourpack 0;
+#N canvas 0 0 930 534 1015-fourpack 0;
#X text 452 208 Args;
#X obj 320 310 sixpack --------------------;
#X obj 319 390 outlet;
@@ -208,13 +232,17 @@
#X connect 27 0 23 0;
#X connect 29 0 28 0;
#X connect 30 0 28 0;
-#X restore 113 41 pd geos;
+#X restore 106 122 pd geos;
#X obj 59 29 bng 15 250 50 0 \$0-show-geos \$0-show-geos geos 0 -6
0 8 -225271 -1 -1;
#X obj 35 111 nbx 4 14 -1e+37 1e+37 0 0 \$0-msid \$0-msid SID -30 8
0 10 -261681 -1 -1 0 256;
+#X obj 200 1 inlet;
+#X obj 105 103 outlet;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
+#X connect 3 0 13 0;
#X connect 4 0 3 0;
#X connect 5 0 3 1;
+#X connect 12 0 3 2;
#X coords 0 0 1 1 82 130 1;