-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimate.pd
67 lines (67 loc) · 1.92 KB
/
animate.pd
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
#N canvas 10 150 662 600 12;
#X obj 384 82 fc_process;
#X msg 384 55 get selection;
#X obj 384 109 list split 1;
#X obj 384 136 fc_getObjectProperty Placement;
#X obj 384 190 fc_vectorXYZ;
#X floatatom 384 217 5 0 0 0 - - -, f 5;
#X floatatom 428 217 5 0 0 0 - - -, f 5;
#X floatatom 476 217 5 0 0 0 - - -, f 5;
#X obj 197 331 * 2;
#X msg 197 357 \$1 1000;
#X obj 420 504 fc_vector;
#X floatatom 404 469 5 0 0 0 - - -, f 5;
#X obj 420 570 fc_setObjectProperty Placement;
#X obj 197 305 t f f;
#X obj 197 278 spigot;
#X obj 236 250 != 0;
#X obj 383 12 bng 15 250 50 0 empty empty Launch\ animation 17 7 0
10 #fcfcfc #000000 #000000;
#X text 196 135 Placement of the object;
#X text 196 161 Position from Placement;
#X text 197 189 Decompose vector;
#X text 196 109 First selection list item;
#X obj 384 163 fc_PlacementPosRot;
#X obj 420 537 fc_setPlacementPos;
#X text 40 270 only animate if X!=0;
#X text 349 469 new X;
#X text 338 501 new Pos;
#X text 292 536 update Placement;
#X text 217 569 set new Placement to object;
#X text 15 331 go to 2*X0 in 1sec \; (\$1 is incomming float);
#X text 509 185 Rotation is not used;
#X text 24 404 rampe object \; initialized with 50ms step;
#X obj 321 304 pipe 1000;
#X text 317 278 wait 1 sec;
#X msg 320 356 \$1 1000;
#X text 326 330 go back;
#X text 29 295 trigger 2 float \; right first init line;
#X obj 226 414 line 0 50;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 0 12 1;
#X connect 3 0 21 0;
#X connect 3 0 22 1;
#X connect 4 0 5 0;
#X connect 4 1 6 0;
#X connect 4 2 7 0;
#X connect 5 0 15 0;
#X connect 5 0 14 0;
#X connect 6 0 10 1;
#X connect 7 0 10 2;
#X connect 8 0 9 0;
#X connect 9 0 36 0;
#X connect 10 0 22 0;
#X connect 11 0 10 0;
#X connect 13 0 8 0;
#X connect 13 1 36 0;
#X connect 14 0 13 0;
#X connect 14 0 31 0;
#X connect 15 0 14 1;
#X connect 16 0 1 0;
#X connect 21 0 4 0;
#X connect 22 0 12 0;
#X connect 31 0 33 0;
#X connect 33 0 36 0;
#X connect 36 0 11 0;