aboutsummaryrefslogtreecommitdiff
path: root/msd3D/06_msd3Dcylindre.pd
diff options
context:
space:
mode:
Diffstat (limited to 'msd3D/06_msd3Dcylindre.pd')
-rw-r--r--msd3D/06_msd3Dcylindre.pd201
1 files changed, 201 insertions, 0 deletions
diff --git a/msd3D/06_msd3Dcylindre.pd b/msd3D/06_msd3Dcylindre.pd
new file mode 100644
index 0000000..e25967f
--- /dev/null
+++ b/msd3D/06_msd3Dcylindre.pd
@@ -0,0 +1,201 @@
+#N canvas 545 25 696 822 10;
+#X obj 221 384 t a;
+#X obj 159 5 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 231 57 reset;
+#X obj 37 10 loadbang;
+#X text 178 4 reset;
+#X obj 159 27 t b b b b b;
+#X msg 456 528 0 \, destroy;
+#X obj 501 682 gemhead;
+#X obj 504 755 world_light;
+#X msg 456 468 reset \, create \, lighting 1 \, 1;
+#X obj 52 380 t b;
+#N canvas 643 123 605 590 massrender 0;
+#X obj 127 22 inlet;
+#X obj 48 203 translateXYZ;
+#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 125 136 t b f;
+#X obj 247 86 / 12.5;
+#X obj 247 109 - 4;
+#X obj 127 57 unpack f f f f;
+#X obj 48 229 cube 0.03;
+#X connect 0 0 12 0;
+#X connect 1 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 9 0;
+#X connect 4 0 5 0;
+#X connect 5 0 1 2;
+#X connect 6 0 8 1;
+#X connect 7 0 1 0;
+#X connect 8 0 7 0;
+#X connect 9 0 8 0;
+#X connect 9 1 1 1;
+#X connect 10 0 11 0;
+#X connect 11 0 1 3;
+#X connect 12 1 2 0;
+#X connect 12 2 4 0;
+#X connect 12 3 10 0;
+#X restore 52 699 pd massrender;
+#X obj 556 234 random 100;
+#X obj 480 234 random 100;
+#X msg 405 192 seed 3;
+#X obj 52 357 gemhead;
+#X obj 456 548 gemwin;
+#X obj 52 655 msd3D --------------------------------;
+#X obj 568 279 random 100;
+#X msg 568 258 seed 4;
+#X obj 405 258 pack f f f f;
+#X msg 179 328 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0 \, Zmax 100
+\, Zmin 0;
+#X msg 456 508 view 8 0 0.5 0 0 0 0 0 1;
+#X obj 406 131 repeat 300;
+#X text 501 21 <-- Number of masses;
+#X obj 456 487 t b;
+#X obj 52 678 route massesPos;
+#X msg 52 414 bang \, get massesPos;
+#X text 300 485 <-- Move masses;
+#X floatatom 539 700 5 0 0 0 - - -;
+#X floatatom 580 703 5 0 0 0 - - -;
+#X floatatom 633 704 5 0 0 0 - - -;
+#X msg 198 527 forceY mob 100;
+#X msg 197 551 forceY mob -100;
+#X msg 211 575 forceZ mob 100;
+#X msg 210 599 forceZ mob -100;
+#X msg 179 501 forceX mob -100;
+#X msg 405 280 mass mob 1 \$1 \$2 \$3 \$4;
+#X obj 75 491 metro 10;
+#X obj 76 469 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X floatatom 107 470 5 0 0 0 - - -;
+#X text 74 453 instead of GEM;
+#X msg 480 213 seed 20;
+#X msg 556 213 seed 10;
+#X msg 456 582 view 0 0 8 0 0 0 1 0 0;
+#X obj 477 162 t b;
+#X obj 406 153 t b b;
+#X msg 178 477 forceX mob 100;
+#X obj 501 725 rotateXYZ 30 30 0;
+#X msg 456 619 view 8 8 0 0 0 0 0 1 0;
+#X obj 405 234 + 200;
+#X obj 405 213 random 50;
+#X msg 213 130 mass fix 0 100 50 50 50;
+#X obj 34 141 vradio 20 1 0 3 \$0-choix empty empty 0 -6 0 8 -262144
+-1 -1 2;
+#N canvas 82 198 791 599 cylindertype 0;
+#X obj 49 14 inlet;
+#X obj 248 503 outlet;
+#X obj 194 33 r \$0-choix;
+#X obj 181 112 sel 0 1 2;
+#X msg 368 193 nLink cylin fix mob 5 2.5 1 0 0;
+#X obj 177 86 f;
+#X msg 257 191 setL cylin 45;
+#X obj 172 188 t b b;
+#X obj 186 226 t b b;
+#X obj 162 263 t b b;
+#X msg 419 227 nLink cylin fix mob 2 15 1 0 0 1 0 20;
+#X msg 440 283 nLink cylin3 fix mob 2 15 1 0 0 1 50 100;
+#X msg 312 279 setL cylin3 25;
+#X msg 309 225 setL cylin 25;
+#X msg 313 251 setL cylin2 30;
+#X msg 431 254 nLink cylin2 fix mob 2 15 1 0 0 1 27 40;
+#X msg 265 329 nLink cylin fix mob 1 40 1 0 0 1 0 20;
+#X msg 161 328 setL cylin 20;
+#X connect 0 0 5 0;
+#X connect 2 0 5 1;
+#X connect 3 0 7 0;
+#X connect 3 1 8 0;
+#X connect 3 2 9 0;
+#X connect 4 0 1 0;
+#X connect 5 0 3 0;
+#X connect 6 0 1 0;
+#X connect 7 0 6 0;
+#X connect 7 1 4 0;
+#X connect 8 0 13 0;
+#X connect 8 0 14 0;
+#X connect 8 0 12 0;
+#X connect 8 1 10 0;
+#X connect 8 1 15 0;
+#X connect 8 1 11 0;
+#X connect 9 0 17 0;
+#X connect 9 1 16 0;
+#X connect 10 0 1 0;
+#X connect 11 0 1 0;
+#X connect 12 0 1 0;
+#X connect 13 0 1 0;
+#X connect 14 0 1 0;
+#X connect 15 0 1 0;
+#X connect 16 0 1 0;
+#X connect 17 0 1 0;
+#X restore 160 217 pd cylindertype;
+#X text 62 143 Cylinder;
+#X text 63 164 Rings;
+#X text 63 184 Obstacle;
+#X obj 434 22 nbx 5 14 200 20000 1 0 empty empty empty 0 -6 0 10 -262144
+-1 -1 1473.05 256;
+#X connect 0 0 17 0;
+#X connect 1 0 5 0;
+#X connect 2 0 0 0;
+#X connect 3 0 5 0;
+#X connect 5 0 54 0;
+#X connect 5 1 21 0;
+#X connect 5 2 23 0;
+#X connect 5 3 52 0;
+#X connect 5 4 2 0;
+#X connect 5 4 45 0;
+#X connect 6 0 16 0;
+#X connect 7 0 48 0;
+#X connect 9 0 16 0;
+#X connect 9 0 25 0;
+#X connect 10 0 27 0;
+#X connect 12 0 20 2;
+#X connect 13 0 20 1;
+#X connect 14 0 51 0;
+#X connect 15 0 10 0;
+#X connect 17 0 26 0;
+#X connect 18 0 20 3;
+#X connect 19 0 18 0;
+#X connect 20 0 37 0;
+#X connect 21 0 0 0;
+#X connect 22 0 16 0;
+#X connect 23 0 46 0;
+#X connect 25 0 22 0;
+#X connect 26 0 11 0;
+#X connect 27 0 17 0;
+#X connect 29 0 48 1;
+#X connect 30 0 48 2;
+#X connect 31 0 48 3;
+#X connect 32 0 17 0;
+#X connect 33 0 17 0;
+#X connect 34 0 17 0;
+#X connect 35 0 17 0;
+#X connect 36 0 17 0;
+#X connect 37 0 0 0;
+#X connect 38 0 17 0;
+#X connect 39 0 38 0;
+#X connect 40 0 38 1;
+#X connect 42 0 13 0;
+#X connect 43 0 12 0;
+#X connect 44 0 16 0;
+#X connect 45 0 14 0;
+#X connect 45 0 42 0;
+#X connect 45 0 43 0;
+#X connect 45 0 19 0;
+#X connect 46 0 51 0;
+#X connect 46 1 13 0;
+#X connect 46 1 18 0;
+#X connect 46 1 12 0;
+#X connect 47 0 17 0;
+#X connect 48 0 8 0;
+#X connect 49 0 16 0;
+#X connect 50 0 20 0;
+#X connect 51 0 50 0;
+#X connect 52 0 0 0;
+#X connect 54 0 0 0;
+#X connect 58 0 23 1;