aboutsummaryrefslogtreecommitdiff
path: root/examples/35_gravitation.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/35_gravitation.pd')
-rw-r--r--examples/35_gravitation.pd142
1 files changed, 68 insertions, 74 deletions
diff --git a/examples/35_gravitation.pd b/examples/35_gravitation.pd
index c59564b..155aa44 100644
--- a/examples/35_gravitation.pd
+++ b/examples/35_gravitation.pd
@@ -1,74 +1,68 @@
-#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 0 1
-;
-#X obj 18 183 s mass;
-#X msg 242 122 0 \, destroy;
-#X obj 209 148 gemwin;
-#X obj 100 171 s reset_smoke;
-#X msg 209 102 reset \, create \, 1;
-#X obj 100 147 counter 0 249;
-#X obj 100 122 metro 50;
-#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
--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
-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-006;
-#X msg 152 260 setG -1e-006;
-#X connect 0 0 2 0;
-#X connect 0 1 21 0;
-#X connect 0 1 26 0;
-#X connect 1 0 8 0;
-#X connect 1 0 27 0;
-#X connect 3 0 4 0;
-#X connect 6 0 4 0;
-#X connect 7 0 5 0;
-#X connect 8 0 7 0;
-#X connect 9 0 10 0;
-#X connect 10 0 12 0;
-#X connect 11 1 10 1;
-#X connect 11 2 10 2;
-#X connect 13 0 22 0;
-#X connect 17 0 18 0;
-#X connect 18 0 19 0;
-#X connect 19 0 31 0;
-#X connect 20 0 36 0;
-#X connect 20 0 35 0;
-#X connect 21 0 31 0;
-#X connect 22 0 15 0;
-#X connect 23 0 25 0;
-#X connect 25 0 24 0;
-#X connect 26 0 31 0;
-#X connect 27 0 0 0;
-#X connect 28 0 29 0;
-#X connect 29 0 30 0;
-#X connect 30 0 31 0;
-#X connect 31 0 11 0;
-#X connect 31 0 17 0;
-#X connect 35 0 26 0;
-#X connect 36 0 21 0;
+#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
+;
+#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
+-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
+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 connect 0 0 2 0;
+#X connect 0 1 18 0;
+#X connect 0 1 23 0;
+#X connect 1 0 24 0;
+#X connect 3 0 4 0;
+#X connect 5 0 4 0;
+#X connect 6 0 7 0;
+#X connect 7 0 9 0;
+#X connect 8 1 7 1;
+#X connect 8 2 7 2;
+#X connect 10 0 19 0;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 28 0;
+#X connect 17 0 33 0;
+#X connect 17 0 32 0;
+#X connect 18 0 28 0;
+#X connect 19 0 12 0;
+#X connect 20 0 22 0;
+#X connect 22 0 21 0;
+#X connect 23 0 28 0;
+#X connect 24 0 0 0;
+#X connect 25 0 26 0;
+#X connect 26 0 27 0;
+#X connect 27 0 28 0;
+#X connect 28 0 8 0;
+#X connect 28 0 14 0;
+#X connect 32 0 23 0;
+#X connect 33 0 18 0;