aboutsummaryrefslogtreecommitdiff
path: root/msd2D/02_msd2Dadd.pd
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2008-03-28 00:54:03 +0000
committerN.N. <nimon@users.sourceforge.net>2008-03-28 00:54:03 +0000
commitd9451f13b229c79a955888d4764e373ebc6191c7 (patch)
treefacfad55b9a39973ad301357e0cd408ffefef261 /msd2D/02_msd2Dadd.pd
parent7668ac85d55cb34b3a955747cad20bfc8530e71a (diff)
modified examples
svn path=/trunk/externals/nusmuk/; revision=9634
Diffstat (limited to 'msd2D/02_msd2Dadd.pd')
-rw-r--r--msd2D/02_msd2Dadd.pd748
1 files changed, 380 insertions, 368 deletions
diff --git a/msd2D/02_msd2Dadd.pd b/msd2D/02_msd2Dadd.pd
index ab91f09..8dbc071 100644
--- a/msd2D/02_msd2Dadd.pd
+++ b/msd2D/02_msd2Dadd.pd
@@ -1,348 +1,223 @@
-#N canvas 572 22 720 780 10;
-#X obj 137 211 t a;
-#X obj 137 39 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#N canvas 572 22 686 162 10;
+#X obj 22 16 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X msg 195 86 reset;
-#X obj 52 15 loadbang;
-#X obj 313 571 print msd;
-#X obj 52 549 msd2D --------------------------------;
-#X msg 448 219 0 \, destroy;
-#X obj 539 576 gemhead;
-#X obj 539 599 world_light;
#N canvas 177 95 954 737 synthese 0;
-#X obj 267 9 inlet;
-#X msg -35 224 \$1 50;
-#X obj -35 246 line~;
-#X obj -75 250 *~;
-#X msg 60 224 \$1 50;
-#X obj 60 246 line~;
-#X obj 20 250 *~;
-#X msg 153 226 \$1 50;
-#X obj 153 248 line~;
-#X obj 113 252 *~;
-#X msg 245 224 \$1 50;
-#X obj 245 246 line~;
-#X obj 205 250 *~;
-#X obj 62 298 dac~;
-#X msg 346 227 \$1 50;
-#X obj 346 249 line~;
-#X obj 306 253 *~;
-#X msg 441 227 \$1 50;
-#X obj 441 249 line~;
-#X obj 401 253 *~;
-#X msg 534 229 \$1 50;
-#X obj 534 251 line~;
-#X obj 494 255 *~;
-#X msg 626 227 \$1 50;
-#X obj 626 249 line~;
-#X obj 586 253 *~;
-#X obj 443 301 dac~;
-#X obj -77 194 osc~ 55;
-#X obj 19 194 osc~ 110;
-#X obj 204 195 osc~ 222;
-#X obj -13 128 unpack f f;
-#X obj 176 134 unpack f f;
-#X obj 362 131 unpack f f;
-#X obj 553 138 unpack f f;
-#X msg -45 428 \$1 50;
-#X obj -45 450 line~;
-#X obj -85 454 *~;
-#X msg 50 428 \$1 50;
-#X obj 50 450 line~;
-#X obj 10 454 *~;
-#X msg 143 430 \$1 50;
-#X obj 143 452 line~;
-#X obj 103 456 *~;
-#X msg 235 428 \$1 50;
-#X obj 235 450 line~;
-#X obj 195 454 *~;
-#X obj 52 502 dac~;
-#X msg 336 431 \$1 50;
-#X obj 336 453 line~;
-#X obj 296 457 *~;
-#X msg 431 431 \$1 50;
-#X obj 431 453 line~;
-#X obj 391 457 *~;
-#X msg 524 433 \$1 50;
-#X obj 524 455 line~;
-#X obj 484 459 *~;
-#X msg 616 431 \$1 50;
-#X obj 616 453 line~;
-#X obj 576 457 *~;
-#X obj 433 505 dac~;
-#X obj 483 403 osc~ 1113;
-#X obj 575 401 osc~ 2229;
-#X obj -15 343 unpack f f;
-#X obj 166 338 unpack f f;
-#X obj 352 335 unpack f f;
-#X obj 543 342 unpack f f;
-#X obj 112 196 osc~ 165;
-#X obj 305 197 osc~ 267;
-#X obj 400 197 osc~ 311;
-#X obj 268 44 route 1 5 9 13 17 21 25 29;
-#X obj 493 199 osc~ 366;
-#X obj 585 197 osc~ 421;
-#X obj -87 398 osc~ 444;
-#X obj 9 398 osc~ 554;
-#X obj 102 400 osc~ 664;
-#X obj 194 398 osc~ 776;
-#X obj 295 401 osc~ 888;
-#X obj 390 401 osc~ 1000;
-#X obj -75 368 / 20;
-#X obj 52 374 / 20;
-#X obj 144 376 / 20;
-#X obj 240 374 / 50;
-#X obj 307 371 / 50;
-#X obj 434 377 / 50;
-#X obj 524 379 / 100;
-#X obj 621 377 / 100;
-#X obj 631 173 / 100;
-#X obj 532 176 / 100;
-#X obj 444 174 / 50;
-#X obj 317 167 / 50;
-#X obj 250 170 / 50;
-#X obj 153 172 / 20;
-#X obj 61 171 / 20;
-#X obj -64 164 / 20;
-#X connect 0 0 69 0;
-#X connect 1 0 2 0;
-#X connect 2 0 3 1;
-#X connect 3 0 13 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 1;
-#X connect 6 0 13 0;
-#X connect 6 0 13 1;
-#X connect 7 0 8 0;
-#X connect 8 0 9 1;
-#X connect 9 0 13 0;
-#X connect 9 0 13 1;
-#X connect 10 0 11 0;
+#X msg -35 254 \$1 50;
+#X obj -35 276 line~;
+#X obj -75 280 *~;
+#X msg 60 254 \$1 50;
+#X obj 60 276 line~;
+#X obj 20 280 *~;
+#X msg 153 256 \$1 50;
+#X obj 153 278 line~;
+#X obj 113 282 *~;
+#X msg 245 254 \$1 50;
+#X obj 245 276 line~;
+#X obj 205 280 *~;
+#X obj 62 328 dac~;
+#X msg 346 257 \$1 50;
+#X obj 346 279 line~;
+#X obj 306 283 *~;
+#X msg 441 257 \$1 50;
+#X obj 441 279 line~;
+#X obj 401 283 *~;
+#X msg 534 259 \$1 50;
+#X obj 534 281 line~;
+#X obj 494 285 *~;
+#X msg 626 257 \$1 50;
+#X obj 626 279 line~;
+#X obj 586 283 *~;
+#X obj 443 331 dac~;
+#X obj -77 224 osc~ 55;
+#X obj 19 224 osc~ 110;
+#X obj 204 225 osc~ 222;
+#X obj -13 158 unpack f f;
+#X obj 176 164 unpack f f;
+#X obj 362 161 unpack f f;
+#X obj 553 168 unpack f f;
+#X msg -45 458 \$1 50;
+#X obj -45 480 line~;
+#X obj -85 484 *~;
+#X msg 50 458 \$1 50;
+#X obj 50 480 line~;
+#X obj 10 484 *~;
+#X msg 143 460 \$1 50;
+#X obj 143 482 line~;
+#X obj 103 486 *~;
+#X msg 235 458 \$1 50;
+#X obj 235 480 line~;
+#X obj 195 484 *~;
+#X obj 52 532 dac~;
+#X msg 336 461 \$1 50;
+#X obj 336 483 line~;
+#X obj 296 487 *~;
+#X msg 431 461 \$1 50;
+#X obj 431 483 line~;
+#X obj 391 487 *~;
+#X msg 524 463 \$1 50;
+#X obj 524 485 line~;
+#X obj 484 489 *~;
+#X msg 616 461 \$1 50;
+#X obj 616 483 line~;
+#X obj 576 487 *~;
+#X obj 433 535 dac~;
+#X obj 483 433 osc~ 1113;
+#X obj 575 431 osc~ 2229;
+#X obj -15 373 unpack f f;
+#X obj 166 368 unpack f f;
+#X obj 352 365 unpack f f;
+#X obj 543 372 unpack f f;
+#X obj 112 226 osc~ 165;
+#X obj 305 227 osc~ 267;
+#X obj 400 227 osc~ 311;
+#X obj 268 74 route 1 5 9 13 17 21 25 29;
+#X obj 493 229 osc~ 366;
+#X obj 585 227 osc~ 421;
+#X obj -87 428 osc~ 444;
+#X obj 9 428 osc~ 554;
+#X obj 102 430 osc~ 664;
+#X obj 194 428 osc~ 776;
+#X obj 295 431 osc~ 888;
+#X obj 390 431 osc~ 1000;
+#X obj -75 398 / 20;
+#X obj 52 404 / 20;
+#X obj 144 406 / 20;
+#X obj 240 404 / 50;
+#X obj 307 401 / 50;
+#X obj 434 407 / 50;
+#X obj 524 409 / 100;
+#X obj 621 407 / 100;
+#X obj 631 203 / 100;
+#X obj 532 206 / 100;
+#X obj 444 204 / 50;
+#X obj 317 197 / 50;
+#X obj 250 200 / 50;
+#X obj 153 202 / 20;
+#X obj 61 201 / 20;
+#X obj -64 194 / 20;
+#X obj 268 49 route massesSpeedsNo;
+#X obj 268 27 r \$0-msdout;
+#X connect 0 0 1 0;
+#X connect 1 0 2 1;
+#X connect 2 0 12 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 1;
+#X connect 5 0 12 0;
+#X connect 5 0 12 1;
+#X connect 6 0 7 0;
+#X connect 7 0 8 1;
+#X connect 8 0 12 0;
+#X connect 8 0 12 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 1;
#X connect 11 0 12 1;
-#X connect 12 0 13 1;
-#X connect 14 0 15 0;
-#X connect 15 0 16 1;
-#X connect 16 0 26 0;
-#X connect 17 0 18 0;
-#X connect 18 0 19 1;
-#X connect 19 0 26 0;
-#X connect 19 0 26 1;
-#X connect 20 0 21 0;
-#X connect 21 0 22 1;
-#X connect 22 0 26 0;
-#X connect 22 0 26 1;
-#X connect 23 0 24 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 1;
+#X connect 15 0 25 0;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 25 0;
+#X connect 18 0 25 1;
+#X connect 19 0 20 0;
+#X connect 20 0 21 1;
+#X connect 21 0 25 0;
+#X connect 21 0 25 1;
+#X connect 22 0 23 0;
+#X connect 23 0 24 1;
#X connect 24 0 25 1;
-#X connect 25 0 26 1;
-#X connect 27 0 3 0;
-#X connect 28 0 6 0;
-#X connect 29 0 12 0;
-#X connect 30 0 93 0;
-#X connect 30 1 92 0;
-#X connect 31 0 91 0;
-#X connect 31 1 90 0;
-#X connect 32 0 89 0;
-#X connect 32 1 88 0;
-#X connect 33 0 87 0;
-#X connect 33 1 86 0;
-#X connect 34 0 35 0;
-#X connect 35 0 36 1;
-#X connect 36 0 46 0;
-#X connect 37 0 38 0;
-#X connect 38 0 39 1;
-#X connect 39 0 46 0;
-#X connect 39 0 46 1;
-#X connect 40 0 41 0;
-#X connect 41 0 42 1;
-#X connect 42 0 46 0;
-#X connect 42 0 46 1;
-#X connect 43 0 44 0;
+#X connect 26 0 2 0;
+#X connect 27 0 5 0;
+#X connect 28 0 11 0;
+#X connect 29 0 92 0;
+#X connect 29 1 91 0;
+#X connect 30 0 90 0;
+#X connect 30 1 89 0;
+#X connect 31 0 88 0;
+#X connect 31 1 87 0;
+#X connect 32 0 86 0;
+#X connect 32 1 85 0;
+#X connect 33 0 34 0;
+#X connect 34 0 35 1;
+#X connect 35 0 45 0;
+#X connect 36 0 37 0;
+#X connect 37 0 38 1;
+#X connect 38 0 45 0;
+#X connect 38 0 45 1;
+#X connect 39 0 40 0;
+#X connect 40 0 41 1;
+#X connect 41 0 45 0;
+#X connect 41 0 45 1;
+#X connect 42 0 43 0;
+#X connect 43 0 44 1;
#X connect 44 0 45 1;
-#X connect 45 0 46 1;
-#X connect 47 0 48 0;
-#X connect 48 0 49 1;
-#X connect 49 0 59 0;
-#X connect 50 0 51 0;
-#X connect 51 0 52 1;
-#X connect 52 0 59 0;
-#X connect 52 0 59 1;
-#X connect 53 0 54 0;
-#X connect 54 0 55 1;
-#X connect 55 0 59 0;
-#X connect 55 0 59 1;
-#X connect 56 0 57 0;
+#X connect 46 0 47 0;
+#X connect 47 0 48 1;
+#X connect 48 0 58 0;
+#X connect 49 0 50 0;
+#X connect 50 0 51 1;
+#X connect 51 0 58 0;
+#X connect 51 0 58 1;
+#X connect 52 0 53 0;
+#X connect 53 0 54 1;
+#X connect 54 0 58 0;
+#X connect 54 0 58 1;
+#X connect 55 0 56 0;
+#X connect 56 0 57 1;
#X connect 57 0 58 1;
-#X connect 58 0 59 1;
-#X connect 60 0 55 0;
-#X connect 61 0 58 0;
-#X connect 62 0 78 0;
-#X connect 62 1 79 0;
-#X connect 63 0 80 0;
-#X connect 63 1 81 0;
-#X connect 64 0 82 0;
-#X connect 64 1 83 0;
-#X connect 65 0 84 0;
-#X connect 65 1 85 0;
-#X connect 66 0 9 0;
-#X connect 67 0 16 0;
-#X connect 68 0 19 0;
-#X connect 69 0 30 0;
-#X connect 69 1 31 0;
-#X connect 69 2 32 0;
-#X connect 69 3 33 0;
-#X connect 69 4 62 0;
-#X connect 69 5 63 0;
-#X connect 69 6 64 0;
-#X connect 69 7 65 0;
-#X connect 70 0 22 0;
-#X connect 71 0 25 0;
-#X connect 72 0 36 0;
-#X connect 73 0 39 0;
-#X connect 74 0 42 0;
-#X connect 75 0 45 0;
-#X connect 76 0 49 0;
-#X connect 77 0 52 0;
-#X connect 78 0 34 0;
-#X connect 79 0 37 0;
-#X connect 80 0 40 0;
-#X connect 81 0 43 0;
-#X connect 82 0 47 0;
-#X connect 83 0 50 0;
-#X connect 84 0 53 0;
-#X connect 85 0 56 0;
-#X connect 86 0 23 0;
-#X connect 87 0 20 0;
-#X connect 88 0 17 0;
-#X connect 89 0 14 0;
-#X connect 90 0 10 0;
-#X connect 91 0 7 0;
-#X connect 92 0 4 0;
-#X connect 93 0 1 0;
-#X restore 230 645 pd synthese;
-#X obj 374 461 gemhead;
+#X connect 59 0 54 0;
+#X connect 60 0 57 0;
+#X connect 61 0 77 0;
+#X connect 61 1 78 0;
+#X connect 62 0 79 0;
+#X connect 62 1 80 0;
+#X connect 63 0 81 0;
+#X connect 63 1 82 0;
+#X connect 64 0 83 0;
+#X connect 64 1 84 0;
+#X connect 65 0 8 0;
+#X connect 66 0 15 0;
+#X connect 67 0 18 0;
+#X connect 68 0 29 0;
+#X connect 68 1 30 0;
+#X connect 68 2 31 0;
+#X connect 68 3 32 0;
+#X connect 68 4 61 0;
+#X connect 68 5 62 0;
+#X connect 68 6 63 0;
+#X connect 68 7 64 0;
+#X connect 69 0 21 0;
+#X connect 70 0 24 0;
+#X connect 71 0 35 0;
+#X connect 72 0 38 0;
+#X connect 73 0 41 0;
+#X connect 74 0 44 0;
+#X connect 75 0 48 0;
+#X connect 76 0 51 0;
+#X connect 77 0 33 0;
+#X connect 78 0 36 0;
+#X connect 79 0 39 0;
+#X connect 80 0 42 0;
+#X connect 81 0 46 0;
+#X connect 82 0 49 0;
+#X connect 83 0 52 0;
+#X connect 84 0 55 0;
+#X connect 85 0 22 0;
+#X connect 86 0 19 0;
+#X connect 87 0 16 0;
+#X connect 88 0 13 0;
+#X connect 89 0 9 0;
+#X connect 90 0 6 0;
+#X connect 91 0 3 0;
+#X connect 92 0 0 0;
+#X connect 93 0 68 0;
+#X connect 94 0 93 0;
+#X restore 23 107 pd synthese;
+#X text 40 16 Reset;
+#N canvas 0 22 450 300 structure_creation 0;
+#X msg 195 86 reset;
+#X obj 52 15 loadbang;
#X msg 156 145 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0;
-#X msg 448 196 reset \, create \, lighting 1 \, 1;
-#X obj 52 399 t b;
-#N canvas 643 123 617 602 massrender 0;
-#X obj 127 22 inlet;
-#X obj 62 267 translateXYZ;
-#X obj 166 123 / 12.5;
-#X obj 166 146 - 4;
-#X obj 231 124 / 12.5;
-#X obj 231 147 - 4;
-#X obj 62 241 separator;
-#X obj 127 57 unpack f f f;
-#X msg 128 194 \$1;
-#X obj 62 314 sphere 0.1;
-#X obj 62 219 colorRGB 1 1 1;
-#X obj 128 174 / 29;
-#X obj 127 85 t b f;
-#X obj 62 135 gemhead 45;
-#X obj 62 63 loadbang;
-#X msg 62 93 0;
-#X connect 0 0 7 0;
-#X connect 1 0 9 0;
-#X connect 2 0 3 0;
-#X connect 3 0 1 1;
-#X connect 4 0 5 0;
-#X connect 5 0 1 2;
-#X connect 6 0 1 0;
-#X connect 7 0 12 0;
-#X connect 7 1 2 0;
-#X connect 7 2 4 0;
-#X connect 8 0 10 2;
-#X connect 8 0 10 3;
-#X connect 10 0 6 0;
-#X connect 11 0 8 0;
-#X connect 12 0 13 0;
-#X connect 12 1 11 0;
-#X connect 13 0 10 0;
-#X connect 14 0 15 0;
-#X connect 15 0 13 0;
-#X restore 141 623 pd massrender;
-#N canvas 284 227 595 566 linkrender 0;
-#X obj 261 87 inlet;
-#X obj 261 179 / 12.5;
-#X obj 261 202 - 4;
-#X obj 315 180 / 12.5;
-#X obj 315 203 - 4;
-#X obj 189 288 separator;
-#X obj 261 226 t b f;
-#X obj 189 331 curve 2;
-#X obj 375 183 / 12.5;
-#X obj 375 206 - 4;
-#X obj 429 184 / 12.5;
-#X obj 429 207 - 4;
-#X obj 291 256 pack f f;
-#X msg 291 279 \$1 \$2 0;
-#X obj 375 255 pack f f;
-#X msg 375 278 \$1 \$2 0;
-#X obj 261 131 unpack f f f f f;
-#X obj 189 310 colorRGB 1 1 1;
-#X obj 189 262 gemhead 45;
-#X obj 189 180 loadbang;
-#X msg 189 229 0;
-#X connect 0 0 16 0;
-#X connect 1 0 2 0;
-#X connect 2 0 6 0;
-#X connect 3 0 4 0;
-#X connect 4 0 12 1;
-#X connect 5 0 17 0;
-#X connect 6 0 18 0;
-#X connect 6 1 12 0;
-#X connect 8 0 9 0;
-#X connect 9 0 14 0;
-#X connect 10 0 11 0;
-#X connect 11 0 14 1;
-#X connect 12 0 13 0;
-#X connect 13 0 7 1;
-#X connect 14 0 15 0;
-#X connect 15 0 7 2;
-#X connect 16 1 1 0;
-#X connect 16 2 3 0;
-#X connect 16 3 8 0;
-#X connect 16 4 10 0;
-#X connect 17 0 7 0;
-#X connect 18 0 5 0;
-#X connect 19 0 20 0;
-#X connect 20 0 18 0;
-#X restore 52 644 pd linkrender;
-#X obj 52 359 gemhead;
-#X obj 448 240 gemwin;
-#X text 175 41 Reset;
-#X text 281 106 Random positions and masses;
-#X text 304 195 1 Create window -->;
-#X text 225 464 Add force;
-#X msg 446 268 \; pd dsp 1;
-#X text 320 274 2 SET DSP ON -->;
-#N canvas 311 224 413 534 gemmouse2 0;
-#X obj 114 29 gemmouse;
-#X obj 96 266 outlet;
-#X obj 114 83 - 0;
-#X obj 165 97 + 100;
-#X obj 114 60 / 5;
-#X obj 165 74 / -5;
-#X obj 32 81 t b;
-#X obj 32 37 inlet;
-#X obj 96 177 f;
-#X obj 96 206 pack 0 0 0;
-#X connect 0 0 4 0;
-#X connect 0 1 5 0;
-#X connect 0 2 9 2;
-#X connect 2 0 8 1;
-#X connect 3 0 9 1;
-#X connect 4 0 2 0;
-#X connect 5 0 3 0;
-#X connect 6 0 8 0;
-#X connect 7 0 6 0;
-#X connect 8 0 9 0;
-#X connect 9 0 1 0;
-#X restore 374 483 pd gemmouse2;
-#X msg 374 506 grabMass \$1 \$2 \$3;
-#X obj 52 594 route linksPos massesPos massesSpeedsNo;
-#X msg 52 420 bang \, get massesPos \, get linksPos \, get massesSpeeds
-1 5 9 13 17 21 25 29;
-#X text 130 679 Move red masses for bass and white ones for high tones...
-;
+#X text 238 112 Random positions and masses;
#N canvas 557 309 487 357 masses 0;
#X msg 245 215 mass mob 1 \$1 \$2 \$3;
#X obj 417 165 random 100;
@@ -419,33 +294,170 @@
#X connect 11 0 3 0;
#X restore 137 176 pd links;
#X obj 137 62 t b b b b;
-#X text 491 431 Get a few masses speeds;
-#X msg 94 458 forceX mob 100;
-#X msg 95 484 forceX mob -100;
-#X connect 0 0 5 0;
-#X connect 1 0 31 0;
-#X connect 2 0 0 0;
-#X connect 3 0 31 0;
-#X connect 5 0 26 0;
-#X connect 5 1 4 0;
-#X connect 6 0 17 0;
-#X connect 7 0 8 0;
-#X connect 10 0 24 0;
-#X connect 11 0 0 0;
-#X connect 12 0 17 0;
-#X connect 13 0 27 0;
-#X connect 16 0 13 0;
-#X connect 24 0 25 0;
-#X connect 25 0 5 0;
-#X connect 26 0 15 0;
-#X connect 26 1 14 0;
-#X connect 26 2 9 0;
-#X connect 27 0 5 0;
-#X connect 29 0 0 0;
-#X connect 30 0 0 0;
-#X connect 31 0 30 0;
-#X connect 31 1 11 0;
-#X connect 31 2 29 0;
-#X connect 31 3 2 0;
-#X connect 33 0 5 0;
-#X connect 34 0 5 0;
+#X obj 137 15 inlet;
+#X obj 137 211 s \$0-msdin;
+#X connect 0 0 8 0;
+#X connect 1 0 6 0;
+#X connect 2 0 8 0;
+#X connect 4 0 8 0;
+#X connect 5 0 8 0;
+#X connect 6 0 5 0;
+#X connect 6 1 2 0;
+#X connect 6 2 4 0;
+#X connect 6 3 0 0;
+#X connect 7 0 6 0;
+#X restore 22 39 pd structure_creation;
+#N canvas 0 22 763 327 gem_stuff 0;
+#X msg 137 179 0 \, destroy;
+#X obj 118 200 gemwin;
+#X obj 118 104 inlet;
+#X obj 118 129 sel 1 0;
+#X msg 118 156 reset \, create \, 1;
+#X obj 274 105 gemhead;
+#N canvas 311 224 413 534 gemmouse2 0;
+#X obj 114 29 gemmouse;
+#X obj 96 266 outlet;
+#X obj 114 83 - 0;
+#X obj 165 97 + 100;
+#X obj 114 60 / 5;
+#X obj 165 74 / -5;
+#X obj 32 81 t b;
+#X obj 32 37 inlet;
+#X obj 96 177 f;
+#X obj 96 206 pack 0 0 0;
+#X connect 0 0 4 0;
+#X connect 0 1 5 0;
+#X connect 0 2 9 2;
+#X connect 2 0 8 1;
+#X connect 3 0 9 1;
+#X connect 4 0 2 0;
+#X connect 5 0 3 0;
+#X connect 6 0 8 0;
+#X connect 7 0 6 0;
+#X connect 8 0 9 0;
+#X connect 9 0 1 0;
+#X restore 274 127 pd gemmouse2;
+#X msg 274 150 grabMass \$1 \$2 \$3;
+#N canvas 643 123 617 602 massrender 0;
+#X obj 127 22 inlet;
+#X obj 62 267 translateXYZ;
+#X obj 166 123 / 12.5;
+#X obj 166 146 - 4;
+#X obj 231 124 / 12.5;
+#X obj 231 147 - 4;
+#X obj 62 241 separator;
+#X obj 127 57 unpack f f f;
+#X msg 128 194 \$1;
+#X obj 62 219 colorRGB 1 1 1;
+#X obj 128 174 / 29;
+#X obj 127 85 t b f;
+#X obj 62 135 gemhead 45;
+#X obj 62 63 loadbang;
+#X msg 62 93 0;
+#X obj 62 314 circle 0.1;
+#X connect 0 0 7 0;
+#X connect 1 0 15 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 1;
+#X connect 4 0 5 0;
+#X connect 5 0 1 2;
+#X connect 6 0 1 0;
+#X connect 7 0 11 0;
+#X connect 7 1 2 0;
+#X connect 7 2 4 0;
+#X connect 8 0 9 2;
+#X connect 8 0 9 3;
+#X connect 9 0 6 0;
+#X connect 10 0 8 0;
+#X connect 11 0 12 0;
+#X connect 11 1 10 0;
+#X connect 12 0 9 0;
+#X connect 13 0 14 0;
+#X connect 14 0 12 0;
+#X restore 502 153 pd massrender;
+#N canvas 284 227 595 566 linkrender 0;
+#X obj 261 87 inlet;
+#X obj 261 179 / 12.5;
+#X obj 261 202 - 4;
+#X obj 315 180 / 12.5;
+#X obj 315 203 - 4;
+#X obj 189 288 separator;
+#X obj 261 226 t b f;
+#X obj 189 331 curve 2;
+#X obj 375 183 / 12.5;
+#X obj 375 206 - 4;
+#X obj 429 184 / 12.5;
+#X obj 429 207 - 4;
+#X obj 291 256 pack f f;
+#X msg 291 279 \$1 \$2 0;
+#X obj 375 255 pack f f;
+#X msg 375 278 \$1 \$2 0;
+#X obj 261 131 unpack f f f f f;
+#X obj 189 310 colorRGB 1 1 1;
+#X obj 189 262 gemhead 45;
+#X obj 189 180 loadbang;
+#X msg 189 229 0;
+#X connect 0 0 16 0;
+#X connect 1 0 2 0;
+#X connect 2 0 6 0;
+#X connect 3 0 4 0;
+#X connect 4 0 12 1;
+#X connect 5 0 17 0;
+#X connect 6 0 18 0;
+#X connect 6 1 12 0;
+#X connect 8 0 9 0;
+#X connect 9 0 14 0;
+#X connect 10 0 11 0;
+#X connect 11 0 14 1;
+#X connect 12 0 13 0;
+#X connect 13 0 7 1;
+#X connect 14 0 15 0;
+#X connect 15 0 7 2;
+#X connect 16 1 1 0;
+#X connect 16 2 3 0;
+#X connect 16 3 8 0;
+#X connect 16 4 10 0;
+#X connect 17 0 7 0;
+#X connect 18 0 5 0;
+#X connect 19 0 20 0;
+#X connect 20 0 18 0;
+#X restore 432 174 pd linkrender;
+#X obj 432 124 route linksPos massesPos;
+#X obj 273 174 s \$0-msdin;
+#X obj 432 101 r \$0-msdout;
+#X connect 0 0 1 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 1 0 0;
+#X connect 4 0 1 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 11 0;
+#X connect 10 0 9 0;
+#X connect 10 1 8 0;
+#X connect 12 0 10 0;
+#X restore 23 86 pd gem_stuff;
+#X obj 23 64 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
+;
+#X text 43 63 gem on/off;
+#X text 196 54 1 Create window;
+#X text 196 74 2 Set dsp on;
+#N canvas 0 22 450 300 compute 0;
+#X obj 110 186 print msd;
+#X obj 52 69 gemhead;
+#X msg 52 96 bang \, get massesPos \, get linksPos \, get massesSpeeds
+1 5 9 13 17 21 25 29;
+#X obj 52 162 msd2D;
+#X obj 67 133 r \$0-msdin;
+#X obj 52 186 s \$0-msdout;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 3 0 5 0;
+#X connect 3 1 0 0;
+#X connect 4 0 3 0;
+#X restore 23 129 pd compute;
+#X text 196 94 Drag red masses for bass and white ones for high tones...
+;
+#X text 196 17 Additive synthesis example;
+#X connect 0 0 3 0;
+#X connect 5 0 4 0;