aboutsummaryrefslogtreecommitdiff
path: root/msd2D/04_msd2Dperf.pd
diff options
context:
space:
mode:
Diffstat (limited to 'msd2D/04_msd2Dperf.pd')
-rw-r--r--msd2D/04_msd2Dperf.pd207
1 files changed, 207 insertions, 0 deletions
diff --git a/msd2D/04_msd2Dperf.pd b/msd2D/04_msd2Dperf.pd
new file mode 100644
index 0000000..8f90db2
--- /dev/null
+++ b/msd2D/04_msd2Dperf.pd
@@ -0,0 +1,207 @@
+#N canvas 291 84 827 783 10;
+#X obj 167 310 t a;
+#X obj 167 33 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 239 84 reset;
+#X obj 52 15 loadbang;
+#X text 205 34 reset;
+#X msg 281 402 forceX mob 100;
+#X obj 167 55 t b b b b b;
+#X obj 313 658 print msd;
+#X obj 52 583 msd2D --------------------------------;
+#X msg 461 409 0 \, destroy;
+#X obj 481 320 gemhead;
+#X obj 481 343 world_light;
+#X msg 221 104 mass fix 0 100 50 50;
+#N canvas 311 224 450 300 gemmouse 0;
+#X obj 31 26 gemmouse;
+#X obj 31 133 pack f f;
+#X obj 31 167 spigot;
+#X obj 31 193 outlet;
+#X obj 31 80 - 0;
+#X obj 82 94 + 100;
+#X obj 31 57 / 5;
+#X obj 82 71 / -5;
+#X connect 0 0 6 0;
+#X connect 0 1 7 0;
+#X connect 0 2 2 1;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 4 0 1 0;
+#X connect 5 0 1 1;
+#X connect 6 0 4 0;
+#X connect 7 0 5 0;
+#X restore 393 540 pd gemmouse;
+#X obj 360 524 gemhead;
+#X obj 360 575 l;
+#X obj 360 552 t b;
+#X msg 360 602 posX fix \$1;
+#X msg 360 623 posY fix \$2;
+#X msg 185 192 50 50;
+#X msg 167 261 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0;
+#X msg 460 386 reset \, create \, lighting 1 \, 1;
+#X obj 52 301 t b;
+#N canvas 643 123 605 590 massrender 0;
+#X obj 127 22 inlet;
+#X obj 48 203 translateXYZ;
+#X obj 48 229 sphere 0.1;
+#X obj 127 86 / 12.5;
+#X obj 127 109 - 4;
+#X obj 192 87 / 12.5;
+#X obj 192 110 - 4;
+#X obj 64 114 gemhead;
+#X obj 48 177 separator;
+#X obj 48 153 any;
+#X obj 127 57 unpack f f;
+#X obj 125 136 t b f;
+#X connect 0 0 10 0;
+#X connect 1 0 2 0;
+#X connect 3 0 4 0;
+#X connect 4 0 11 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 2;
+#X connect 7 0 9 1;
+#X connect 8 0 1 0;
+#X connect 9 0 8 0;
+#X connect 10 0 3 0;
+#X connect 10 1 5 0;
+#X connect 11 0 9 0;
+#X connect 11 1 1 1;
+#X restore 133 635 pd massrender;
+#N canvas 284 227 587 558 linkrender 0;
+#X obj 93 25 inlet;
+#X obj 93 117 / 12.5;
+#X obj 93 140 - 4;
+#X obj 147 118 / 12.5;
+#X obj 147 141 - 4;
+#X obj 35 134 gemhead;
+#X obj 44 222 separator;
+#X obj 44 192 any;
+#X obj 93 164 t b f;
+#X obj 93 69 unpack f f f f;
+#X obj 44 265 curve 2;
+#X obj 207 121 / 12.5;
+#X obj 207 144 - 4;
+#X obj 261 122 / 12.5;
+#X obj 261 145 - 4;
+#X obj 123 194 pack f f;
+#X msg 123 217 \$1 \$2 0;
+#X obj 207 193 pack f f;
+#X msg 207 216 \$1 \$2 0;
+#X connect 0 0 9 0;
+#X connect 1 0 2 0;
+#X connect 2 0 8 0;
+#X connect 3 0 4 0;
+#X connect 4 0 15 1;
+#X connect 5 0 7 1;
+#X connect 6 0 10 0;
+#X connect 7 0 6 0;
+#X connect 8 0 7 0;
+#X connect 8 1 15 0;
+#X connect 9 0 1 0;
+#X connect 9 1 3 0;
+#X connect 9 2 11 0;
+#X connect 9 3 13 0;
+#X connect 11 0 12 0;
+#X connect 12 0 17 0;
+#X connect 13 0 14 0;
+#X connect 14 0 17 1;
+#X connect 15 0 16 0;
+#X connect 16 0 10 1;
+#X connect 17 0 18 0;
+#X connect 18 0 10 2;
+#X restore 52 656 pd linkrender;
+#X msg 211 170 mass mob 1 \$1 \$2 \$3;
+#X obj 379 180 random 100;
+#X msg 380 158 seed 1;
+#X obj 379 221 random 100;
+#X obj 470 179 random 100;
+#X msg 379 200 seed 2;
+#X msg 470 157 seed 3;
+#X obj 470 201 + 100;
+#X obj 219 140 pack f f f;
+#X obj 591 127 t b;
+#X obj 591 171 + 1;
+#X obj 627 221 f;
+#X obj 628 196 + 1;
+#X obj 568 204 t f b;
+#X msg 622 148 -1;
+#X obj 591 148 f -1;
+#X obj 582 248 pack f f;
+#X obj 380 134 t b b b;
+#X msg 167 284 link souple \$1 \$2 100 0.5 0.5;
+#X obj 52 278 gemhead;
+#X obj 413 432 gemwin;
+#X msg 52 335 bang \, get massesPos \, get linksPos;
+#X obj 52 606 route linksPos massesPos;
+#X msg 465 433 view 0 0 4 0 0 0 0 1 0;
+#X msg 281 425 forceX mob -100;
+#X obj 380 109 repeat 500;
+#X obj 592 105 repeat 500;
+#X msg 445 53 500;
+#X text 478 52 change number of mass to test performance;
+#X connect 0 0 8 0;
+#X connect 1 0 6 0;
+#X connect 2 0 0 0;
+#X connect 3 0 6 0;
+#X connect 5 0 8 0;
+#X connect 6 0 51 0;
+#X connect 6 1 19 0;
+#X connect 6 1 20 0;
+#X connect 6 2 50 0;
+#X connect 6 3 12 0;
+#X connect 6 4 2 0;
+#X connect 6 4 39 0;
+#X connect 6 4 31 0;
+#X connect 6 4 27 0;
+#X connect 6 4 30 0;
+#X connect 8 0 47 0;
+#X connect 8 1 7 0;
+#X connect 9 0 45 0;
+#X connect 10 0 11 0;
+#X connect 12 0 0 0;
+#X connect 13 0 15 1;
+#X connect 14 0 16 0;
+#X connect 15 0 17 0;
+#X connect 15 0 18 0;
+#X connect 16 0 15 0;
+#X connect 17 0 8 0;
+#X connect 18 0 8 0;
+#X connect 19 0 15 0;
+#X connect 20 0 0 0;
+#X connect 21 0 45 0;
+#X connect 22 0 46 0;
+#X connect 25 0 0 0;
+#X connect 26 0 33 2;
+#X connect 27 0 26 0;
+#X connect 28 0 33 1;
+#X connect 29 0 32 0;
+#X connect 30 0 28 0;
+#X connect 31 0 29 0;
+#X connect 32 0 33 0;
+#X connect 33 0 25 0;
+#X connect 34 0 40 0;
+#X connect 35 0 37 0;
+#X connect 35 0 38 0;
+#X connect 35 0 40 1;
+#X connect 36 0 41 1;
+#X connect 37 0 36 1;
+#X connect 38 0 41 0;
+#X connect 38 1 36 0;
+#X connect 39 0 40 1;
+#X connect 40 0 35 0;
+#X connect 41 0 43 0;
+#X connect 42 0 29 0;
+#X connect 42 1 28 0;
+#X connect 42 2 26 0;
+#X connect 43 0 0 0;
+#X connect 44 0 22 0;
+#X connect 46 0 8 0;
+#X connect 47 0 24 0;
+#X connect 47 1 23 0;
+#X connect 48 0 45 0;
+#X connect 49 0 8 0;
+#X connect 50 0 42 0;
+#X connect 51 0 34 0;
+#X connect 52 0 50 1;
+#X connect 52 0 51 1;