diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2012-02-03 11:41:26 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2012-02-03 11:41:26 +0000 |
commit | 91c4f2d9b85c65ccc59c4b156583a84a3861e2fa (patch) | |
tree | f5e9333463037b3dfefc0c32e3d59cb1073cbfc6 /examples/35_gravitation.pd | |
parent | db1a6ef1cdda8c2555d4828282e05dda55343ea5 (diff) |
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
Diffstat (limited to 'examples/35_gravitation.pd')
-rw-r--r-- | examples/35_gravitation.pd | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/examples/35_gravitation.pd b/examples/35_gravitation.pd index 155aa44..53b9520 100644 --- a/examples/35_gravitation.pd +++ b/examples/35_gravitation.pd @@ -1,42 +1,44 @@ -#N canvas 105 15 546 651 10; -#X obj 18 139 t b b; -#X obj 18 62 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +#N canvas 101 91 564 699 10; +#X declare -lib Gem; +#X obj 19 175 t b b; +#X obj 19 98 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X obj 18 183 s mass; -#X msg 242 122 0 \, destroy; -#X obj 209 148 gemwin; -#X msg 209 102 reset \, create \, 1; -#X obj 163 553 gemhead; -#X obj 163 576 translateXYZ; -#X obj 152 526 unpack s f f; -#X obj 163 600 sphere 0.05; -#X obj 208 317 gemhead; -#X text 51 59 <- begin; -#X obj 208 364 sphere 0.25; -#X text 190 2 Gravitation exemple; -#X obj 183 449 tSquare2D -4 4 -4 4; -#X obj 183 472 sel 0; -#X msg 183 495 reset; -#X obj 152 237 loadbang; -#X obj 152 287 iCircle2D foo -1 0 0 100; -#X obj 208 340 translateXYZ -1 0 0; -#X obj 350 318 gemhead; -#X obj 350 365 sphere 0.25; -#X obj 350 341 translateXYZ 1 0 0; -#X obj 330 287 iCircle2D foo 1 0 0 100; -#X obj 18 114 metro 1; -#X obj 377 413 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 +#X obj 19 219 s mass; +#X msg 243 158 0 \, destroy; +#X obj 210 184 gemwin; +#X msg 210 138 reset \, create \, 1; +#X obj 164 589 gemhead; +#X obj 164 612 translateXYZ; +#X obj 153 562 unpack s f f; +#X obj 164 636 sphere 0.05; +#X obj 209 353 gemhead; +#X text 52 95 <- begin; +#X obj 209 400 sphere 0.25; +#X text 191 38 Gravitation exemple; +#X obj 184 485 tSquare2D -4 4 -4 4; +#X obj 184 508 sel 0; +#X msg 184 531 reset; +#X obj 153 273 loadbang; +#X obj 153 323 iCircle2D foo -1 0 0 100; +#X obj 209 376 translateXYZ -1 0 0; +#X obj 351 354 gemhead; +#X obj 351 401 sphere 0.25; +#X obj 351 377 translateXYZ 1 0 0; +#X obj 331 323 iCircle2D foo 1 0 0 100; +#X obj 19 150 metro 1; +#X obj 378 449 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; -#X obj 377 549 / 127; -#X msg 377 570 reset \, setY \$1; -#X obj 152 419 mass2D mass 1 0.1 0.9; -#X text 139 15 1 earth and 2 suns .; -#X text 139 31 The earth is attacted by the 2 suns. you can change +#X obj 378 585 / 127; +#X msg 378 606 reset \, setY \$1; +#X obj 153 455 mass2D mass 1 0.1 0.9; +#X text 140 51 1 earth and 2 suns .; +#X text 140 67 The earth is attacted by the 2 suns. you can change the initial position of the earth \, to test the ensitivity of initial position of surch chaotic system.; -#X text 286 598 change initial position of the mass; -#X msg 330 260 setG -1e-06; -#X msg 152 260 setG -1e-06; +#X text 287 634 change initial position of the mass; +#X msg 331 296 setG -1e-06; +#X msg 153 296 setG -1e-06; +#X obj 10 2 declare -lib Gem; #X connect 0 0 2 0; #X connect 0 1 18 0; #X connect 0 1 23 0; |