aboutsummaryrefslogtreecommitdiff
path: root/examples/35_gravitation.pd
blob: c59564bcb892a2457cb9329dcf09be4464bc2225 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#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;