diff options
author | N.N. <nimon@users.sourceforge.net> | 2005-05-17 15:37:43 +0000 |
---|---|---|
committer | N.N. <nimon@users.sourceforge.net> | 2005-05-17 15:37:43 +0000 |
commit | 12c64f4506f0e00c07ffd08c4322c1cad4716190 (patch) | |
tree | 9069b0464ad4b73ecea81bc6db86fc36be94b2ce /msd2D/02_msd2Dadd.pd | |
parent | 0d28b4c833d9dc0814e4f5290f3fa6c908607cfc (diff) |
MSD Version 0.07
svn path=/trunk/externals/nusmuk/; revision=2995
Diffstat (limited to 'msd2D/02_msd2Dadd.pd')
-rw-r--r-- | msd2D/02_msd2Dadd.pd | 272 |
1 files changed, 148 insertions, 124 deletions
diff --git a/msd2D/02_msd2Dadd.pd b/msd2D/02_msd2Dadd.pd index 0f498f7..66f550e 100644 --- a/msd2D/02_msd2Dadd.pd +++ b/msd2D/02_msd2Dadd.pd @@ -1,15 +1,14 @@ #N canvas 534 65 716 776 10; -#X obj 129 376 t a; +#X obj 137 211 t a; #X obj 137 39 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 209 84 reset; +#X msg 195 86 reset; #X obj 52 15 loadbang; -#X obj 137 62 t b b b b b; -#X obj 313 605 print msd; -#X obj 52 583 msd2D --------------------------------; -#X msg 511 526 0 \, destroy; -#X obj 481 320 gemhead; -#X obj 481 343 world_light; +#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 946 729 synthese 0; #X obj 267 9 inlet; #X msg -35 224 \$1 50; @@ -218,49 +217,46 @@ #X connect 91 0 53 0; #X connect 92 0 61 0; #X connect 93 0 64 0; -#X restore 230 679 pd synthese; -#X obj 10 698 gemhead; -#X msg 155 258 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0; -#X msg 511 503 reset \, create \, lighting 1 \, 1; +#X restore 230 645 pd synthese; +#X obj 374 461 gemhead; +#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 605 590 massrender 1; +#N canvas 643 123 605 590 massrender 0; #X obj 127 22 inlet; #X obj 62 267 translateXYZ; -#X obj 141 87 / 12.5; -#X obj 141 110 - 4; -#X obj 206 88 / 12.5; -#X obj 206 111 - 4; +#X obj 166 123 / 12.5; +#X obj 166 146 - 4; +#X obj 231 124 / 12.5; +#X obj 231 147 - 4; #X obj 78 115 gemhead; #X obj 62 241 separator; #X obj 62 181 any; #X obj 127 57 unpack f f f; -#X obj 212 182 f; -#X msg 212 241 \$1; -#X obj 141 137 t b b f; +#X msg 128 194 \$1; #X obj 62 314 sphere 0.1; #X obj 62 219 colorRGB 1 1 1; -#X obj 212 221 / 29; +#X obj 128 174 / 29; +#X obj 127 85 t b f; #X connect 0 0 9 0; -#X connect 1 0 13 0; +#X connect 1 0 11 0; #X connect 2 0 3 0; -#X connect 3 0 12 0; +#X connect 3 0 1 1; #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 14 0; -#X connect 9 0 10 1; +#X connect 8 0 12 0; +#X connect 9 0 14 0; #X connect 9 1 2 0; #X connect 9 2 4 0; -#X connect 10 0 15 0; -#X connect 11 0 14 2; -#X connect 11 0 14 3; -#X connect 12 1 8 0; -#X connect 12 1 10 0; -#X connect 12 2 1 1; -#X connect 14 0 7 0; -#X connect 15 0 11 0; -#X restore 141 657 pd massrender; +#X connect 10 0 12 2; +#X connect 10 0 12 3; +#X connect 12 0 7 0; +#X connect 13 0 10 0; +#X connect 14 0 8 0; +#X connect 14 1 13 0; +#X restore 141 623 pd massrender; #N canvas 284 227 587 558 linkrender 0; #X obj 93 25 inlet; #X obj 93 117 / 12.5; @@ -305,33 +301,15 @@ #X connect 18 3 10 0; #X connect 18 4 12 0; #X connect 19 0 9 0; -#X restore 52 678 pd linkrender; -#X msg 221 231 mass mob 1 \$1 \$2 \$3; -#X obj 393 181 random 100; -#X msg 393 161 seed 1; -#X obj 318 181 random 100; -#X obj 241 163 random 100; -#X msg 318 160 seed 2; -#X msg 241 143 seed 3; -#X obj 241 183 + 100; -#X obj 221 210 pack f f f; -#X obj 79 208 t b; -#X obj 79 252 + 1; -#X obj 121 290 f; -#X obj 121 270 + 1; -#X obj 79 273 t f b; -#X msg 112 229 -1; -#X obj 79 229 f -1; -#X obj 70 317 pack f f; -#X obj 173 148 t b b b; -#X obj 52 358 gemhead; -#X obj 511 547 gemwin; +#X restore 52 644 pd linkrender; +#X obj 52 359 gemhead; +#X obj 448 240 gemwin; #X text 175 41 Reset; -#X text 484 171 Random positions and masses; -#X text 367 502 1 Create window -->; -#X text 225 498 Add force; -#X msg 522 585 \; pd dsp 1; -#X text 396 591 2 SET DSP ON -->; +#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 409 530 gemmouse2 0; #X obj 114 29 gemmouse; #X obj 96 266 outlet; @@ -354,71 +332,117 @@ #X connect 7 0 6 0; #X connect 8 0 9 0; #X connect 9 0 1 0; -#X restore 10 720 pd gemmouse2; -#X msg 10 762 grabMass \$1 \$2 \$3; -#X obj 173 126 repeat 30; -#X obj 79 187 repeat 29; -#X msg 129 348 link souple \$1 \$2 10 0.5 0.5; -#X text 130 713 Move red masses for bass and white ones for high tones... -!Index errors; -#X obj 52 628 route linksPos massesPos massesSpeedsNo; +#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 obj 334 684 print; -#X msg 95 518 forceX mob -1000; -#X msg 94 492 forceX mob 1000; -#X connect 0 0 6 0; -#X connect 1 0 4 0; -#X connect 2 0 0 0; +#X obj 334 650 print; +#X msg 95 484 forceX mob -1000; +#X msg 94 458 forceX mob 1000; +#X text 130 679 Move red masses for bass and white ones for high tones... +; +#N canvas 557 309 487 357 masses 0; +#X msg 245 215 mass mob 1 \$1 \$2 \$3; +#X obj 417 165 random 100; +#X msg 417 145 seed 1; +#X obj 342 165 random 100; +#X obj 239 146 random 100; +#X msg 342 144 seed 2; +#X msg 239 126 seed 3; +#X obj 239 166 + 100; +#X obj 245 194 pack f f f; +#X obj 42 14 inlet; +#X obj 246 283 outlet; +#X obj 268 47 loadbang; +#X text 284 101 M; +#X text 356 106 X; +#X text 437 106 Y; +#X obj 223 68 t b b; +#X obj 42 45 until; +#X obj 42 78 f; +#X obj 72 78 + 1; +#X obj 72 100 mod 30; +#X obj 90 45 sel 0; +#X connect 0 0 10 0; +#X connect 1 0 8 2; +#X connect 2 0 1 0; +#X connect 3 0 8 1; +#X connect 4 0 7 0; +#X connect 5 0 3 0; +#X connect 6 0 4 0; +#X connect 7 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 16 0; +#X connect 11 0 6 0; +#X connect 11 0 5 0; +#X connect 11 0 2 0; +#X connect 15 0 4 0; +#X connect 15 1 3 0; +#X connect 15 1 1 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 17 0 15 0; +#X connect 18 0 19 0; +#X connect 19 0 17 1; +#X connect 19 0 20 0; +#X connect 20 0 16 1; +#X restore 175 113 pd masses; +#N canvas 0 0 450 300 links 0; +#X obj 136 72 t b; +#X obj 136 116 + 1; +#X obj 130 191 f; +#X obj 92 171 t f b; +#X obj 91 211 pack f f; +#X msg 91 233 link souple \$1 \$2 10 0.5; +#X obj 136 23 inlet; +#X obj 91 260 outlet; +#X obj 136 48 until; +#X obj 202 112 sel 0; +#X obj 184 154 mod 29; +#X obj 136 93 f 0; +#X connect 0 0 11 0; +#X connect 1 0 10 0; +#X connect 1 0 2 1; +#X connect 2 0 4 1; #X connect 3 0 4 0; -#X connect 4 0 46 0; -#X connect 4 1 12 0; -#X connect 4 2 45 0; -#X connect 4 4 2 0; -#X connect 4 4 31 0; -#X connect 4 4 23 0; -#X connect 4 4 19 0; -#X connect 4 4 22 0; -#X connect 6 0 49 0; -#X connect 6 1 5 0; -#X connect 7 0 36 0; -#X connect 8 0 9 0; -#X connect 11 0 43 0; -#X connect 12 0 0 0; -#X connect 13 0 36 0; -#X connect 14 0 50 0; -#X connect 17 0 0 0; -#X connect 18 0 25 2; -#X connect 19 0 18 0; -#X connect 20 0 25 1; -#X connect 21 0 24 0; -#X connect 22 0 20 0; -#X connect 23 0 21 0; +#X connect 3 1 2 0; +#X connect 4 0 5 0; +#X connect 5 0 7 0; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 8 1; +#X connect 10 0 9 0; +#X connect 10 0 11 1; +#X connect 11 0 1 0; +#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 connect 0 0 5 0; +#X connect 1 0 34 0; +#X connect 2 0 0 0; +#X connect 3 0 34 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 17 0; -#X connect 26 0 32 0; -#X connect 27 0 29 0; -#X connect 27 0 30 0; -#X connect 27 0 32 1; -#X connect 28 0 33 1; -#X connect 29 0 28 1; -#X connect 30 0 33 0; -#X connect 30 1 28 0; -#X connect 31 0 32 1; -#X connect 32 0 27 0; -#X connect 33 0 47 0; -#X connect 34 0 21 0; -#X connect 34 1 20 0; -#X connect 34 2 18 0; -#X connect 35 0 14 0; -#X connect 43 0 44 0; -#X connect 44 0 6 0; -#X connect 45 0 34 0; -#X connect 46 0 26 0; -#X connect 47 0 0 0; -#X connect 49 0 16 0; -#X connect 49 1 15 0; -#X connect 49 2 10 0; -#X connect 50 0 6 0; -#X connect 52 0 6 0; -#X connect 53 0 6 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 5 0; +#X connect 30 0 5 0; +#X connect 32 0 0 0; +#X connect 33 0 0 0; +#X connect 34 0 33 0; +#X connect 34 1 11 0; +#X connect 34 2 32 0; +#X connect 34 3 2 0; |