aboutsummaryrefslogtreecommitdiff
path: root/msd2D/05_msd2DDataStruct.pd
blob: 8bc35e88362cc6f4fb3364f18165d0812d98747e (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#N struct liaison float x1 float y1 float x2 float y2 float mid1 float
mid2 float lid;
#N struct mass float x float y float mid float mob;
#N struct fixmass float x float y float mid;
#N canvas 391 53 852 890 10;
#X obj 52 15 loadbang;
#X obj 52 501 msd2D --------------------------------;
#X obj 135 274 t a;
#X obj 135 20 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262131 -1
-1;
#X msg 207 71 reset;
#X text 173 21 reset;
#X obj 135 42 t b b b b b;
#X obj 574 252 structures;
#X obj 53 188 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#X msg 153 181 Xmax 300 \, Xmin 0 \, Ymax 300 \, Ymin 0;
#X msg 171 146 mass mob 1 100 \$1 \$2;
#X msg 186 317 forceY mob 8;
#X msg 171 113 100 300 \, 150 300 \, 100 230 \, 150 230 \, 100 180
\, 150 180 \, 50 180 \, 200 180 \, 115 180 \, 135 180 \, 110 150 \,
140 150;
#X msg 135 205 0 5 \, 1 2 \, 1 4 \, 2 3 \, 3 0 \, 0 2 \, 1 3 \, 2 4
\, 4 5 \, 5 3 \, 3 4 \, 2 5 \, 4 6 \, 5 7 \, 6 5 \, 4 7 \, 4 8 \, 5
9 \, 8 9 \, 8 10 \, 10 11 \, 11 9 \, 9 10 \, 8 11;
#X obj 53 217 metro 10;
#N canvas 0 0 307 306 1000-anim 0;
#X scalar liaison 127.938 300 187.405 185.614 0 0 0 \;;
#X scalar liaison 135.515 184.954 150.735 193.676 0 0 0 \;;
#X scalar liaison 135.515 184.954 187.405 185.614 0 0 0 \;;
#X scalar liaison 185.431 234.14 127.938 300 0 0 0 \;;
#X scalar liaison 149.143 163.975 179.054 166.366 0 0 0 \;;
#X scalar liaison 135.515 184.954 93.8641 216.012 0 0 0 \;;
#X scalar liaison 193.606 300 135.515 184.954 0 0 0 \;;
#X scalar liaison 150.735 193.676 172.65 195.175 0 0 0 \;;
#X scalar liaison 185.431 234.14 135.515 184.954 0 0 0 \;;
#X scalar liaison 193.606 300 185.431 234.14 0 0 0 \;;
#X scalar liaison 172.65 195.175 149.143 163.975 0 0 0 \;;
#X scalar liaison 93.8641 216.012 187.405 185.614 0 0 0 \;;
#X scalar liaison 193.606 300 136.415 233.819 0 0 0 \;;
#X scalar liaison 187.405 185.614 172.65 195.175 0 0 0 \;;
#X scalar liaison 187.405 185.614 185.431 234.14 0 0 0 \;;
#X scalar liaison 127.938 300 136.415 233.819 0 0 0 \;;
#X scalar liaison 179.054 166.366 172.65 195.175 0 0 0 \;;
#X scalar liaison 187.405 185.614 228.226 217.782 0 0 0 \;;
#X scalar liaison 136.415 233.819 185.431 234.14 0 0 0 \;;
#X scalar liaison 150.735 193.676 149.143 163.975 0 0 0 \;;
#X scalar liaison 136.415 233.819 187.405 185.614 0 0 0 \;;
#X scalar liaison 136.415 233.819 135.515 184.954 0 0 0 \;;
#X scalar liaison 150.735 193.676 179.054 166.366 0 0 0 \;;
#X scalar liaison 135.515 184.954 228.226 217.782 0 0 0 \;;
#X scalar mass 127.938 300 0 0 \;;
#X scalar mass 150.735 193.676 8 0 \;;
#X scalar mass 135.515 184.954 4 0 \;;
#X scalar mass 136.415 233.819 2 0 \;;
#X scalar mass 149.143 163.975 10 0 \;;
#X scalar mass 93.8641 216.012 6 0 \;;
#X scalar mass 193.606 300 1 0 \;;
#X scalar mass 172.65 195.175 9 0 \;;
#X scalar mass 187.405 185.614 5 0 \;;
#X scalar mass 185.431 234.14 3 0 \;;
#X scalar mass 179.054 166.366 11 0 \;;
#X scalar mass 228.226 217.782 7 0 \;;
#X coords 0 0 300 300 300 300 1;
#X restore 466 370 pd \$0-anim;
#X obj 52 290 make_anim \$0-anim;
#X text 26 165 3 - metro ON;
#X text 333 302 1 - Create the Datastructre;
#X text 333 321 2 - notch the "poll" case to set DS to actual model
state;
#X text 95 417 4 - "force" the dancer to move;
#X msg 135 252 link souple \$1 \$2 12 20;
#X msg 211 443 forceY mob -200;
#X msg 212 466 forceY mob 200;
#X msg 86 441 forceX mob 200;
#X msg 86 464 forceX mob -200;
#X msg 52 540 forceX 0 -200 \, forceX 1 200;
#X msg 52 609 forceY 0 -200 \, forceY 1 -200 \, forceX 0 -200 \, forceX
1 200;
#X msg 52 571 forceY 6 -200 \, forceY 7 -200;
#X connect 0 0 6 0;
#X connect 1 0 16 0;
#X connect 1 1 16 0;
#X connect 2 0 1 0;
#X connect 3 0 6 0;
#X connect 4 0 2 0;
#X connect 6 0 13 0;
#X connect 6 1 9 0;
#X connect 6 2 12 0;
#X connect 6 4 4 0;
#X connect 8 0 14 0;
#X connect 9 0 2 0;
#X connect 10 0 2 0;
#X connect 11 0 1 0;
#X connect 12 0 10 0;
#X connect 13 0 21 0;
#X connect 14 0 1 0;
#X connect 14 0 11 0;
#X connect 16 0 1 0;
#X connect 21 0 2 0;
#X connect 22 0 1 0;
#X connect 23 0 1 0;
#X connect 24 0 1 0;
#X connect 25 0 1 0;
#X connect 26 0 1 0;
#X connect 27 0 1 0;
#X connect 28 0 1 0;