aboutsummaryrefslogtreecommitdiff
path: root/msd3D
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2005-04-20 15:38:20 +0000
committerN.N. <nimon@users.sourceforge.net>2005-04-20 15:38:20 +0000
commit3251c3f5f98bd5ee4fcbd7a5146412d858efc215 (patch)
treefbaa6ddd385c5d58ec9e60f36d813057c66f4fd1 /msd3D
parent23da1f7dc2d2c2984e4b391e69d7bbb26cca2430 (diff)
MSD Version 0.02
svn path=/trunk/externals/nusmuk/; revision=2796
Diffstat (limited to 'msd3D')
-rw-r--r--msd3D/05_msd3Dvline.pd402
-rw-r--r--msd3D/curve2.pd133
-rw-r--r--msd3D/partiel.pd25
3 files changed, 560 insertions, 0 deletions
diff --git a/msd3D/05_msd3Dvline.pd b/msd3D/05_msd3Dvline.pd
new file mode 100644
index 0000000..d11b21b
--- /dev/null
+++ b/msd3D/05_msd3Dvline.pd
@@ -0,0 +1,402 @@
+#N canvas 422 196 796 654 10;
+#X obj 32 13 loadbang;
+#X obj 294 522 print msd;
+#X obj 457 430 gemwin;
+#X msg 457 408 0 \, destroy;
+#X obj 288 577 gemhead;
+#X obj 288 600 world_light;
+#X obj 146 205 t a;
+#X obj 146 16 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262131 -1
+-1;
+#X msg 204 68 reset;
+#X obj 33 179 gemhead;
+#X msg 204 88 symbol reset;
+#X obj 33 497 msd3D --------------------------------;
+#X text 156 412 Ambient force;
+#X obj 146 42 t b b b b;
+#X msg 296 393 forceZ filet \$1;
+#X obj 444 207 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 1
+1;
+#X obj 444 258 f;
+#X obj 444 234 metro 65;
+#X msg 326 468 setD fil 1;
+#X obj 33 257 t b b b b b;
+#X msg 457 327 reset \, dimen 800 800 \, create \, lighting 1 \, 1
+;
+#X obj 421 221 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262131
+-1 -1 9300 1;
+#X obj 206 315 sin;
+#X obj 206 335 *;
+#X obj 206 255 counter 0 360;
+#X obj 206 204 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 1
+1;
+#X obj 206 275 / 3.6;
+#X obj 206 295 * 6.28319;
+#X obj 206 232 metro 35;
+#N canvas 0 0 504 533 getmmasses 0;
+#X obj 154 46 inlet;
+#X obj 175 226 outlet;
+#X obj 157 85 t b b;
+#X obj 264 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 174 165 f 0;
+#X obj 175 197 + 1;
+#X obj 130 128 repeat 30;
+#X msg 229 140 209;
+#X connect 0 0 2 0;
+#X connect 2 0 6 0;
+#X connect 2 1 7 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 4 1;
+#X connect 5 0 1 0;
+#X connect 6 0 4 0;
+#X connect 7 0 4 1;
+#X restore 33 359 pd getmmasses;
+#N canvas 224 164 901 724 synthese 0;
+#X obj 232 66 inlet;
+#X obj 232 88 unpack f f f;
+#X obj 232 176 pack f f f f;
+#X obj 231 316 partiel;
+#N canvas 582 426 450 300 drone 0;
+#X obj 178 51 inlet;
+#X obj 197 241 outlet~;
+#X obj 178 95 abs;
+#X obj 302 189 line~;
+#X obj 262 193 *~;
+#X obj 178 142 t b;
+#X obj 260 137 osc~ 2000;
+#X msg 178 166 0 5;
+#X obj 267 99 t b;
+#X msg 302 166 0.02 5;
+#X msg 178 72 \$2;
+#X obj 178 117 moses 0.0085;
+#X connect 0 0 10 0;
+#X connect 2 0 11 0;
+#X connect 3 0 4 1;
+#X connect 4 0 1 0;
+#X connect 5 0 7 0;
+#X connect 6 0 4 0;
+#X connect 7 0 3 0;
+#X connect 8 0 9 0;
+#X connect 9 0 3 0;
+#X connect 10 0 2 0;
+#X connect 11 0 5 0;
+#X connect 11 1 8 0;
+#X restore 375 627 pd drone;
+#X obj 232 154 t f f;
+#X msg 143 113 reset;
+#X obj 87 64 loadbang;
+#X obj 173 49 r resban;
+#X obj 232 110 t b f;
+#N canvas 669 177 562 569 noise 0;
+#X obj 176 62 inlet;
+#X obj 285 493 outlet~;
+#X msg 176 84 \$1;
+#X obj 176 105 abs;
+#X obj 302 190 line~;
+#X obj 285 472 *~;
+#X obj 176 149 t b;
+#X obj 248 149 t b;
+#X obj 147 425 noise~;
+#X msg 162 197 \$3;
+#X obj 162 218 abs;
+#X obj 162 239 * 50;
+#X obj 148 445 moog~;
+#X obj 179 404 sig~;
+#X obj 162 260 + 0;
+#X obj 162 351 sig~;
+#X obj 177 126 moses 0.008;
+#X msg 179 379 1;
+#X obj 162 282 max 0.5;
+#X obj 162 304 min 2.5;
+#X floatatom 245 389 5 0 0 0 - - -;
+#X msg 302 166 0.5 5;
+#X obj 162 330 * 900;
+#X msg 176 173 0 20;
+#X connect 0 0 2 0;
+#X connect 0 0 9 0;
+#X connect 2 0 3 0;
+#X connect 3 0 16 0;
+#X connect 4 0 5 1;
+#X connect 5 0 1 0;
+#X connect 6 0 23 0;
+#X connect 7 0 21 0;
+#X connect 8 0 12 0;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 14 0;
+#X connect 12 0 5 0;
+#X connect 13 0 12 2;
+#X connect 14 0 18 0;
+#X connect 15 0 12 1;
+#X connect 16 0 6 0;
+#X connect 16 1 7 0;
+#X connect 17 0 13 0;
+#X connect 18 0 19 0;
+#X connect 19 0 22 0;
+#X connect 20 0 13 0;
+#X connect 21 0 4 0;
+#X connect 22 0 15 0;
+#X connect 23 0 4 0;
+#X restore 479 643 pd noise;
+#X obj 521 497 hip~ 20;
+#X obj 401 501 hip~ 20;
+#X obj 443 563 dac~;
+#X obj 288 385 partiel;
+#X obj 250 339 partiel;
+#X obj 269 362 partiel;
+#X obj 307 315 partiel;
+#X obj 326 338 partiel;
+#X obj 345 361 partiel;
+#X obj 364 384 partiel;
+#X obj 383 315 partiel;
+#X obj 402 338 partiel;
+#X obj 421 361 partiel;
+#X obj 440 384 partiel;
+#X obj 459 315 partiel;
+#X obj 478 338 partiel;
+#X obj 497 361 partiel;
+#X obj 516 384 partiel;
+#X obj 535 315 partiel;
+#X obj 554 338 partiel;
+#X obj 573 361 partiel;
+#X obj 592 384 partiel;
+#X obj 232 132 counter 0 29;
+#X obj 235 254 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
+19 20 21 22 23 24 25 26 27 28 29;
+#X obj 593 314 partiel;
+#X obj 612 337 partiel;
+#X obj 631 360 partiel;
+#X obj 650 383 partiel;
+#X obj 651 314 partiel;
+#X obj 670 337 partiel;
+#X obj 689 360 partiel;
+#X obj 708 383 partiel;
+#X obj 710 313 partiel;
+#X obj 729 336 partiel;
+#X connect 0 0 1 0;
+#X connect 1 0 9 0;
+#X connect 1 1 2 2;
+#X connect 1 2 2 3;
+#X connect 2 0 34 0;
+#X connect 3 0 11 0;
+#X connect 4 0 12 0;
+#X connect 4 0 11 0;
+#X connect 5 0 2 0;
+#X connect 6 0 33 0;
+#X connect 7 0 6 0;
+#X connect 8 0 6 0;
+#X connect 9 0 33 0;
+#X connect 9 1 2 1;
+#X connect 11 0 13 1;
+#X connect 12 0 13 0;
+#X connect 14 0 12 0;
+#X connect 15 0 12 0;
+#X connect 16 0 11 0;
+#X connect 17 0 11 0;
+#X connect 18 0 12 0;
+#X connect 19 0 11 0;
+#X connect 20 0 12 0;
+#X connect 21 0 11 0;
+#X connect 22 0 12 0;
+#X connect 23 0 11 0;
+#X connect 24 0 12 0;
+#X connect 25 0 11 0;
+#X connect 26 0 12 0;
+#X connect 27 0 11 0;
+#X connect 28 0 12 0;
+#X connect 29 0 11 0;
+#X connect 30 0 12 0;
+#X connect 31 0 11 0;
+#X connect 32 0 12 0;
+#X connect 33 0 5 0;
+#X connect 34 0 3 0;
+#X connect 34 1 15 0;
+#X connect 34 2 16 0;
+#X connect 34 3 14 0;
+#X connect 34 4 17 0;
+#X connect 34 5 18 0;
+#X connect 34 6 19 0;
+#X connect 34 7 20 0;
+#X connect 34 8 21 0;
+#X connect 34 9 22 0;
+#X connect 34 10 23 0;
+#X connect 34 11 24 0;
+#X connect 34 12 25 0;
+#X connect 34 13 26 0;
+#X connect 34 14 27 0;
+#X connect 34 15 28 0;
+#X connect 34 15 4 0;
+#X connect 34 16 29 0;
+#X connect 34 17 30 0;
+#X connect 34 18 31 0;
+#X connect 34 19 32 0;
+#X connect 34 20 35 0;
+#X connect 34 21 36 0;
+#X connect 34 22 37 0;
+#X connect 34 23 38 0;
+#X connect 34 24 39 0;
+#X connect 34 25 40 0;
+#X connect 34 26 41 0;
+#X connect 34 27 42 0;
+#X connect 34 28 43 0;
+#X connect 34 29 44 0;
+#X connect 35 0 11 0;
+#X connect 36 0 12 0;
+#X connect 37 0 11 0;
+#X connect 38 0 12 0;
+#X connect 39 0 11 0;
+#X connect 40 0 12 0;
+#X connect 41 0 11 0;
+#X connect 42 0 12 0;
+#X connect 43 0 11 0;
+#X connect 44 0 12 0;
+#X restore 33 572 pd synthese;
+#X msg 33 379 get massesSpeeds \$1;
+#X obj 183 219 vsl 15 128 0 30 0 0 empty empty empty 0 -8 0 8 -262131
+-1 -1 12700 1;
+#X msg 33 443 get massesPos;
+#N canvas 571 334 938 386 massrender 0;
+#X obj 286 2 inlet;
+#X obj 35 134 gemhead;
+#X obj 44 192 any;
+#X obj 44 288 curve2 ---------------------------------------------
+;
+#X obj 382 3 inlet;
+#X obj 304 88 f 0;
+#X obj 304 129 + 1;
+#X obj 443 184 pack f f f f;
+#X obj 461 153 unpack f f f;
+#X obj 282 24 t b b a;
+#X msg 383 68 0;
+#X obj 304 108 t f f;
+#X obj 303 152 % 30;
+#X obj 55 227 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
+19 20 21 22 23 24 25 26 27 28 29;
+#X obj 211 189 sel 0;
+#X connect 0 0 9 0;
+#X connect 1 0 2 1;
+#X connect 2 0 3 0;
+#X connect 4 0 10 0;
+#X connect 5 0 11 0;
+#X connect 6 0 12 0;
+#X connect 7 0 13 0;
+#X connect 8 0 7 1;
+#X connect 8 1 7 2;
+#X connect 8 2 7 3;
+#X connect 9 1 5 0;
+#X connect 9 2 8 0;
+#X connect 10 0 5 1;
+#X connect 11 0 6 0;
+#X connect 11 1 7 0;
+#X connect 12 0 5 1;
+#X connect 12 0 14 0;
+#X connect 13 0 3 1;
+#X connect 13 1 3 2;
+#X connect 13 2 3 3;
+#X connect 13 3 3 4;
+#X connect 13 4 3 5;
+#X connect 13 5 3 6;
+#X connect 13 6 3 7;
+#X connect 13 7 3 8;
+#X connect 13 8 3 9;
+#X connect 13 9 3 10;
+#X connect 13 10 3 11;
+#X connect 13 11 3 12;
+#X connect 13 12 3 13;
+#X connect 13 13 3 14;
+#X connect 13 14 3 15;
+#X connect 13 15 3 16;
+#X connect 13 16 3 17;
+#X connect 13 17 3 18;
+#X connect 13 18 3 19;
+#X connect 13 19 3 20;
+#X connect 13 20 3 21;
+#X connect 13 21 3 22;
+#X connect 13 22 3 23;
+#X connect 13 23 3 24;
+#X connect 13 24 3 25;
+#X connect 13 25 3 26;
+#X connect 13 26 3 27;
+#X connect 13 27 3 28;
+#X connect 13 28 3 29;
+#X connect 13 29 3 30;
+#X connect 14 0 2 0;
+#X restore 135 573 pd massrender;
+#X obj 33 539 route massesSpeedsNo massesPos;
+#X msg 165 140 setFixed 0 \, setFixed 29 \, setFixed 420 \, setFixed
+449;
+#X text 459 114 Filet abstraction : x0 y0 stepx stepy ny nx;
+#X msg 146 173 Xmax 4 \, Xmin -4 \, Ymax 4 \, Ymin -4 \, Zmax 7 \,
+Zmin -6;
+#X text 484 206 <-- Add constant force;
+#X text 240 204 <-- Add sinus force;
+#X text 136 360 Get middles masses;
+#X obj 457 348 t b;
+#X text 179 18 Reset;
+#X obj 184 115 filet -3.2 -3.2 0.22068 0.45714 15 30;
+#X msg 327 449 setK fil 20;
+#X msg 457 369 view 0 0 10 0 0 0 1 0 0;
+#X obj 146 92 s resban;
+#X msg 425 449 setK fil 10;
+#X msg 425 468 setD fil 2.5;
+#X text 528 458 Change physical parameters of links;
+#X msg 457 388 view 0 0 5 0 0 0 1 0 0;
+#X text 624 390 <-- Zoom in;
+#X msg 33 412 forceZ filet 0;
+#X connect 0 0 13 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 6 0 11 0;
+#X connect 7 0 13 0;
+#X connect 8 0 6 0;
+#X connect 9 0 19 0;
+#X connect 10 0 44 1;
+#X connect 11 0 35 0;
+#X connect 11 1 1 0;
+#X connect 13 0 38 0;
+#X connect 13 0 47 0;
+#X connect 13 1 36 0;
+#X connect 13 2 44 0;
+#X connect 13 3 8 0;
+#X connect 13 3 10 0;
+#X connect 14 0 11 0;
+#X connect 15 0 17 0;
+#X connect 16 0 14 0;
+#X connect 17 0 16 0;
+#X connect 18 0 11 0;
+#X connect 19 0 11 0;
+#X connect 19 0 29 0;
+#X connect 19 0 33 0;
+#X connect 19 0 53 0;
+#X connect 19 1 34 1;
+#X connect 19 2 29 0;
+#X connect 19 2 33 0;
+#X connect 19 3 34 1;
+#X connect 20 0 2 0;
+#X connect 20 0 42 0;
+#X connect 21 0 16 1;
+#X connect 22 0 23 0;
+#X connect 23 0 14 0;
+#X connect 24 0 26 0;
+#X connect 25 0 28 0;
+#X connect 26 0 27 0;
+#X connect 27 0 22 0;
+#X connect 28 0 24 0;
+#X connect 29 0 31 0;
+#X connect 31 0 11 0;
+#X connect 32 0 23 1;
+#X connect 33 0 11 0;
+#X connect 35 0 30 0;
+#X connect 35 1 34 0;
+#X connect 36 0 6 0;
+#X connect 38 0 6 0;
+#X connect 42 0 46 0;
+#X connect 44 0 6 0;
+#X connect 45 0 11 0;
+#X connect 46 0 2 0;
+#X connect 48 0 11 0;
+#X connect 49 0 11 0;
+#X connect 51 0 2 0;
+#X connect 53 0 11 0;
diff --git a/msd3D/curve2.pd b/msd3D/curve2.pd
new file mode 100644
index 0000000..cdf10c6
--- /dev/null
+++ b/msd3D/curve2.pd
@@ -0,0 +1,133 @@
+#N canvas 8 35 1142 910 10;
+#X obj 31 123 GEMglBegin;
+#X obj 86 100 GLdefine GL_LINE_STRIP;
+#X obj 31 13 inlet;
+#X obj 86 77 loadbang;
+#X obj 159 13 inlet;
+#X obj 200 13 inlet;
+#X obj 25 865 GEMglEnd;
+#X obj 31 151 GEMglVertex3fv;
+#X obj 31 175 GEMglVertex3fv;
+#X obj 241 13 inlet;
+#X obj 280 12 inlet;
+#X obj 29 202 GEMglVertex3fv;
+#X obj 29 226 GEMglVertex3fv;
+#X obj 319 12 inlet;
+#X obj 359 12 inlet;
+#X obj 161 76 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 29 252 GEMglVertex3fv;
+#X obj 29 276 GEMglVertex3fv;
+#X obj 29 300 GEMglVertex3fv;
+#X obj 29 324 GEMglVertex3fv;
+#X obj 28 346 GEMglVertex3fv;
+#X obj 28 370 GEMglVertex3fv;
+#X obj 28 394 GEMglVertex3fv;
+#X obj 28 418 GEMglVertex3fv;
+#X obj 403 12 inlet;
+#X obj 444 12 inlet;
+#X obj 485 12 inlet;
+#X obj 524 11 inlet;
+#X obj 563 11 inlet;
+#X obj 603 11 inlet;
+#X obj 28 441 GEMglVertex3fv;
+#X obj 28 465 GEMglVertex3fv;
+#X obj 28 489 GEMglVertex3fv;
+#X obj 27 511 GEMglVertex3fv;
+#X obj 27 535 GEMglVertex3fv;
+#X obj 27 559 GEMglVertex3fv;
+#X obj 27 583 GEMglVertex3fv;
+#X obj 643 13 inlet;
+#X obj 683 13 inlet;
+#X obj 727 13 inlet;
+#X obj 768 13 inlet;
+#X obj 809 13 inlet;
+#X obj 848 12 inlet;
+#X obj 887 12 inlet;
+#X obj 927 12 inlet;
+#X obj 27 605 GEMglVertex3fv;
+#X obj 26 625 GEMglVertex3fv;
+#X obj 26 649 GEMglVertex3fv;
+#X obj 26 672 GEMglVertex3fv;
+#X obj 26 696 GEMglVertex3fv;
+#X obj 26 720 GEMglVertex3fv;
+#X obj 25 742 GEMglVertex3fv;
+#X obj 25 766 GEMglVertex3fv;
+#X obj 25 790 GEMglVertex3fv;
+#X obj 25 814 GEMglVertex3fv;
+#X obj 25 836 GEMglVertex3fv;
+#X obj 970 13 inlet;
+#X obj 1010 13 inlet;
+#X obj 1050 15 inlet;
+#X obj 1090 15 inlet;
+#X obj 1134 15 inlet;
+#X obj 1175 15 inlet;
+#X obj 1216 15 inlet;
+#X obj 1255 14 inlet;
+#X obj 1294 14 inlet;
+#X obj 1334 14 inlet;
+#X connect 0 0 7 0;
+#X connect 1 0 0 1;
+#X connect 2 0 0 0;
+#X connect 3 0 1 0;
+#X connect 4 0 7 1;
+#X connect 5 0 8 1;
+#X connect 7 0 8 0;
+#X connect 8 0 11 0;
+#X connect 9 0 11 1;
+#X connect 10 0 12 1;
+#X connect 11 0 12 0;
+#X connect 12 0 16 0;
+#X connect 13 0 16 1;
+#X connect 14 0 17 1;
+#X connect 15 0 1 0;
+#X connect 16 0 17 0;
+#X connect 17 0 18 0;
+#X connect 18 0 19 0;
+#X connect 19 0 20 0;
+#X connect 20 0 21 0;
+#X connect 21 0 22 0;
+#X connect 22 0 23 0;
+#X connect 23 0 30 0;
+#X connect 24 0 18 1;
+#X connect 25 0 19 1;
+#X connect 26 0 20 1;
+#X connect 27 0 21 1;
+#X connect 28 0 22 1;
+#X connect 29 0 23 1;
+#X connect 30 0 31 0;
+#X connect 31 0 32 0;
+#X connect 32 0 33 0;
+#X connect 33 0 34 0;
+#X connect 34 0 35 0;
+#X connect 35 0 36 0;
+#X connect 36 0 45 0;
+#X connect 37 0 30 1;
+#X connect 38 0 31 1;
+#X connect 39 0 32 1;
+#X connect 40 0 33 1;
+#X connect 41 0 34 1;
+#X connect 42 0 35 1;
+#X connect 43 0 36 1;
+#X connect 44 0 45 1;
+#X connect 45 0 46 0;
+#X connect 46 0 47 0;
+#X connect 47 0 48 0;
+#X connect 48 0 49 0;
+#X connect 49 0 50 0;
+#X connect 50 0 51 0;
+#X connect 51 0 52 0;
+#X connect 52 0 53 0;
+#X connect 53 0 54 0;
+#X connect 54 0 55 0;
+#X connect 55 0 6 0;
+#X connect 56 0 46 1;
+#X connect 57 0 47 1;
+#X connect 58 0 48 1;
+#X connect 59 0 49 1;
+#X connect 60 0 50 1;
+#X connect 61 0 51 1;
+#X connect 62 0 52 1;
+#X connect 63 0 53 1;
+#X connect 64 0 54 1;
+#X connect 65 0 55 1;
diff --git a/msd3D/partiel.pd b/msd3D/partiel.pd
new file mode 100644
index 0000000..59f418e
--- /dev/null
+++ b/msd3D/partiel.pd
@@ -0,0 +1,25 @@
+#N canvas 0 0 508 377 10;
+#X obj 136 26 inlet;
+#X obj 133 281 outlet~;
+#X obj 174 189 line~;
+#X obj 134 193 *~;
+#X obj 133 148 osc~ 55;
+#X msg 172 61 \$3;
+#X obj 260 170 mtof;
+#X msg 174 167 \$1 50;
+#X obj 131 83 / 0.2;
+#X msg 131 60 \$2;
+#X obj 172 104 * 9;
+#X obj 172 83 + 5;
+#X connect 0 0 9 0;
+#X connect 0 0 5 0;
+#X connect 2 0 3 1;
+#X connect 3 0 1 0;
+#X connect 4 0 3 0;
+#X connect 5 0 11 0;
+#X connect 6 0 4 0;
+#X connect 7 0 2 0;
+#X connect 8 0 7 0;
+#X connect 9 0 8 0;
+#X connect 10 0 6 0;
+#X connect 11 0 10 0;