From 91c4f2d9b85c65ccc59c4b156583a84a3861e2fa Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Fri, 3 Feb 2012 11:41:26 +0000 Subject: adding -lib Gem in the example in order to load all dependency needed for the patch to run svn path=/trunk/externals/pmpd/; revision=15943 --- examples/03_chaos2D.pd | 360 ++++++++++++++++++++++++------------------------- 1 file changed, 180 insertions(+), 180 deletions(-) (limited to 'examples/03_chaos2D.pd') diff --git a/examples/03_chaos2D.pd b/examples/03_chaos2D.pd index 3513b5d..705b587 100644 --- a/examples/03_chaos2D.pd +++ b/examples/03_chaos2D.pd @@ -1,180 +1,180 @@ -#N canvas 1 4 843 542 12; -#X obj 16 98 t b b; -#X obj 16 50 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 73 233 unpack s f f; -#X obj 177 293 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 8300 1; -#X obj 121 343 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 10100 1; -#X obj 16 71 metro 50; -#X msg 360 291 setK \$1; -#X msg 434 265 setD \$1; -#X msg 507 237 setM \$1; -#X floatatom 360 216 5 0 20 0 - - -; -#X floatatom 434 214 5 0 30 0 - - -; -#X floatatom 507 214 5 3 100 0 - - -; -#N canvas 796 335 379 269 gem 0; -#X obj 197 20 gemhead; -#X msg 47 96 0 \, destroy; -#X obj 13 124 gemwin; -#X obj 197 152 circle 0.5; -#X obj 182 47 inlet; -#X obj 182 72 unpack s f f; -#X obj 197 124 translateXYZ; -#X obj 13 19 inlet; -#X obj 13 45 sel 1; -#X obj 227 99 / 30; -#X obj 273 99 / 30; -#X msg 13 71 reset \, create \, 1; -#X connect 0 0 6 0; -#X connect 1 0 2 0; -#X connect 4 0 5 0; -#X connect 5 1 9 0; -#X connect 5 2 10 0; -#X connect 6 0 3 0; -#X connect 7 0 8 0; -#X connect 8 0 11 0; -#X connect 8 1 1 0; -#X connect 9 0 6 1; -#X connect 10 0 6 2; -#X connect 11 0 2 0; -#X restore 19 233 pd gem; -#X obj 19 186 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#N canvas 513 286 485 188 structure 0; -#N canvas 272 241 298 174 link_left 0; -#X obj 194 68 inlet; -#X obj 194 121 outlet; -#X obj 31 95 link2D \$0-link 70 1 0 0; -#X obj 31 38 mass2D border_mass 1 -64 0; -#X connect 0 0 2 1; -#X connect 2 1 1 0; -#X connect 3 0 2 0; -#X restore 22 57 pd link_left; -#N canvas 345 616 329 171 link_down 0; -#X obj 181 53 inlet; -#X obj 181 106 outlet; -#X obj 18 80 link2D \$0-link 70 1 0 0; -#X obj 18 23 mass2D border_mass 1 0 -64; -#X connect 0 0 2 1; -#X connect 2 1 1 0; -#X connect 3 0 2 0; -#X restore 117 90 pd link_down; -#N canvas 506 199 290 152 link_up 0; -#X obj 187 52 inlet; -#X obj 187 105 outlet; -#X obj 24 79 link2D \$0-link 70 1 0 0; -#X obj 24 22 mass2D border_mass 1 0 64; -#X connect 0 0 2 1; -#X connect 2 1 1 0; -#X connect 3 0 2 0; -#X restore 121 29 pd link_up; -#X obj 222 93 outlet; -#N canvas 703 434 355 273 link_right 0; -#X obj 191 65 inlet; -#X obj 191 118 outlet; -#X obj 28 92 link2D \$0-link 70 1 0 0; -#X obj 28 35 mass2D border_mass 1 64 0; -#X connect 0 0 2 1; -#X connect 2 1 1 0; -#X connect 3 0 2 0; -#X restore 320 58 pd link_right; -#X obj 120 57 mass2D \$0-mass 8 37 19; -#X connect 0 0 5 0; -#X connect 1 0 5 0; -#X connect 2 0 5 0; -#X connect 4 0 5 0; -#X connect 5 0 3 0; -#X connect 5 0 2 0; -#X connect 5 0 1 0; -#X connect 5 0 0 0; -#X connect 5 0 4 0; -#X restore 62 206 pd structure; -#X obj 360 265 / 10; -#X obj 360 239 + 1; -#X obj 64 100 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 30 124 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 434 190 0; -#X obj 164 6 loadbang; -#X obj 118 263 + 64; -#X obj 164 263 + 64; -#X obj 434 238 / 10; -#X text 42 47 <- click here; -#X msg 360 190 3; -#X msg 164 61 resetF; -#X obj 235 11 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 164 32 t b b; -#X msg 177 83 force2D -100 140; -#X obj 51 123 s \$0-link; -#X obj 16 147 s \$0-mass; -#X msg 199 108 reset; -#X obj 507 265 s \$0-mass; -#X obj 360 323 s \$0-link; -#X text 269 8 <- reset the simulation; -#X text 52 182 <- visualization (need gem); -#X text 359 135 you can change physical properties of the system. take -care of numerical instability (especially with fast movement); -#X text 276 388 The mass is connected to the 4 borders of the screen -with 4 link (without damping). The movement of the masss (should) -follow a chaotic equation.; -#X obj 40 445 osc~; -#X obj 40 420 mtof; -#X obj 40 395 line; -#X obj 97 394 *; -#X obj 39 471 *~; -#X obj 97 445 line~; -#X obj 39 497 dac~; -#X obj 97 369 / 256; -#X msg 97 419 \$1 100; -#X msg 40 369 \$1 100; -#X msg 507 189 20; -#X connect 0 0 31 0; -#X connect 0 1 30 0; -#X connect 1 0 5 0; -#X connect 2 1 21 0; -#X connect 2 2 22 0; -#X connect 5 0 0 0; -#X connect 6 0 34 0; -#X connect 7 0 34 0; -#X connect 8 0 33 0; -#X connect 9 0 16 0; -#X connect 10 0 23 0; -#X connect 11 0 8 0; -#X connect 13 0 12 0; -#X connect 14 0 2 0; -#X connect 14 0 12 1; -#X connect 15 0 6 0; -#X connect 16 0 15 0; -#X connect 17 0 30 0; -#X connect 18 0 31 0; -#X connect 19 0 10 0; -#X connect 20 0 28 0; -#X connect 21 0 4 0; -#X connect 21 0 48 0; -#X connect 22 0 3 0; -#X connect 22 0 46 0; -#X connect 23 0 7 0; -#X connect 25 0 9 0; -#X connect 26 0 30 0; -#X connect 27 0 28 0; -#X connect 28 0 26 0; -#X connect 28 0 29 0; -#X connect 28 1 32 0; -#X connect 29 0 31 0; -#X connect 32 0 31 0; -#X connect 39 0 43 0; -#X connect 40 0 39 0; -#X connect 41 0 40 0; -#X connect 42 0 47 0; -#X connect 43 0 45 0; -#X connect 43 0 45 1; -#X connect 44 0 43 1; -#X connect 46 0 42 1; -#X connect 46 0 42 0; -#X connect 47 0 44 0; -#X connect 48 0 41 0; -#X connect 49 0 11 0; +#N canvas 1 91 864 550 12; +#X obj 16 98 t b b; +#X obj 16 50 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 73 233 unpack s f f; +#X obj 177 293 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 8300 1; +#X obj 121 343 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 10100 1; +#X obj 16 71 metro 50; +#X msg 360 291 setK \$1; +#X msg 434 265 setD \$1; +#X msg 507 237 setM \$1; +#X floatatom 360 216 5 0 20 0 - - -; +#X floatatom 434 214 5 0 30 0 - - -; +#X floatatom 507 214 5 3 100 0 - - -; +#N canvas 796 335 379 269 gem 0; +#X obj 197 20 gemhead; +#X msg 47 96 0 \, destroy; +#X obj 13 124 gemwin; +#X obj 197 152 circle 0.5; +#X obj 182 47 inlet; +#X obj 182 72 unpack s f f; +#X obj 197 124 translateXYZ; +#X obj 13 19 inlet; +#X obj 13 45 sel 1; +#X obj 227 99 / 30; +#X obj 273 99 / 30; +#X msg 13 71 reset \, create \, 1; +#X connect 0 0 6 0; +#X connect 1 0 2 0; +#X connect 4 0 5 0; +#X connect 5 1 9 0; +#X connect 5 2 10 0; +#X connect 6 0 3 0; +#X connect 7 0 8 0; +#X connect 8 0 11 0; +#X connect 8 1 1 0; +#X connect 9 0 6 1; +#X connect 10 0 6 2; +#X connect 11 0 2 0; +#X restore 19 233 pd gem; +#X obj 19 186 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#N canvas 513 286 485 188 structure 0; +#N canvas 272 241 298 174 link_left 0; +#X obj 194 68 inlet; +#X obj 194 121 outlet; +#X obj 31 95 link2D \$0-link 70 1 0 0; +#X obj 31 38 mass2D border_mass 1 -64 0; +#X connect 0 0 2 1; +#X connect 2 1 1 0; +#X connect 3 0 2 0; +#X restore 22 57 pd link_left; +#N canvas 345 616 329 171 link_down 0; +#X obj 181 53 inlet; +#X obj 181 106 outlet; +#X obj 18 80 link2D \$0-link 70 1 0 0; +#X obj 18 23 mass2D border_mass 1 0 -64; +#X connect 0 0 2 1; +#X connect 2 1 1 0; +#X connect 3 0 2 0; +#X restore 117 90 pd link_down; +#N canvas 506 199 290 152 link_up 0; +#X obj 187 52 inlet; +#X obj 187 105 outlet; +#X obj 24 79 link2D \$0-link 70 1 0 0; +#X obj 24 22 mass2D border_mass 1 0 64; +#X connect 0 0 2 1; +#X connect 2 1 1 0; +#X connect 3 0 2 0; +#X restore 121 29 pd link_up; +#X obj 222 93 outlet; +#N canvas 703 434 355 273 link_right 0; +#X obj 191 65 inlet; +#X obj 191 118 outlet; +#X obj 28 92 link2D \$0-link 70 1 0 0; +#X obj 28 35 mass2D border_mass 1 64 0; +#X connect 0 0 2 1; +#X connect 2 1 1 0; +#X connect 3 0 2 0; +#X restore 320 58 pd link_right; +#X obj 120 57 mass2D \$0-mass 8 37 19; +#X connect 0 0 5 0; +#X connect 1 0 5 0; +#X connect 2 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 5 0 2 0; +#X connect 5 0 1 0; +#X connect 5 0 0 0; +#X connect 5 0 4 0; +#X restore 62 206 pd structure; +#X obj 360 265 / 10; +#X obj 360 239 + 1; +#X obj 64 100 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 30 124 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 434 190 0; +#X obj 164 6 loadbang; +#X obj 118 263 + 64; +#X obj 164 263 + 64; +#X obj 434 238 / 10; +#X text 42 47 <- click here; +#X msg 360 190 3; +#X msg 164 61 resetF; +#X obj 235 11 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 164 32 t b b; +#X msg 177 83 force2D -100 140; +#X obj 51 123 s \$0-link; +#X obj 16 147 s \$0-mass; +#X msg 199 108 reset; +#X obj 507 265 s \$0-mass; +#X obj 360 323 s \$0-link; +#X text 269 8 <- reset the simulation; +#X text 52 182 <- visualization (need gem); +#X text 359 135 you can change physical properties of the system. take +care of numerical instability (especially with fast movement); +#X text 276 388 The mass is connected to the 4 borders of the screen +with 4 link (without damping). The movement of the masss (should) follow +a chaotic equation.; +#X obj 40 445 osc~; +#X obj 40 420 mtof; +#X obj 40 395 line; +#X obj 97 394 *; +#X obj 39 471 *~; +#X obj 97 445 line~; +#X obj 39 497 dac~; +#X obj 97 369 / 256; +#X msg 97 419 \$1 100; +#X msg 40 369 \$1 100; +#X msg 507 189 20; +#X connect 0 0 31 0; +#X connect 0 1 30 0; +#X connect 1 0 5 0; +#X connect 2 1 21 0; +#X connect 2 2 22 0; +#X connect 5 0 0 0; +#X connect 6 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 33 0; +#X connect 9 0 16 0; +#X connect 10 0 23 0; +#X connect 11 0 8 0; +#X connect 13 0 12 0; +#X connect 14 0 2 0; +#X connect 14 0 12 1; +#X connect 15 0 6 0; +#X connect 16 0 15 0; +#X connect 17 0 30 0; +#X connect 18 0 31 0; +#X connect 19 0 10 0; +#X connect 20 0 28 0; +#X connect 21 0 4 0; +#X connect 21 0 48 0; +#X connect 22 0 3 0; +#X connect 22 0 46 0; +#X connect 23 0 7 0; +#X connect 25 0 9 0; +#X connect 26 0 30 0; +#X connect 27 0 28 0; +#X connect 28 0 26 0; +#X connect 28 0 29 0; +#X connect 28 1 32 0; +#X connect 29 0 31 0; +#X connect 32 0 31 0; +#X connect 39 0 43 0; +#X connect 40 0 39 0; +#X connect 41 0 40 0; +#X connect 42 0 47 0; +#X connect 43 0 45 0; +#X connect 43 0 45 1; +#X connect 44 0 43 1; +#X connect 46 0 42 1; +#X connect 46 0 42 0; +#X connect 47 0 44 0; +#X connect 48 0 41 0; +#X connect 49 0 11 0; -- cgit v1.2.1