-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathof.particle-help.pd
70 lines (70 loc) · 2.07 KB
/
of.particle-help.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
68
69
70
#N canvas 560 173 623 515 12;
#X declare -lib ofelia;
#X obj 9 10 cnv 15 600 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 27 89 of.draw;
#X msg 60 393 draw fill;
#X floatatom 155 422 5 0 0 2 width - -;
#X floatatom 283 423 5 0 0 2 height - -;
#X obj 462 45 declare -lib ofelia;
#X msg 60 418 stroke 4;
#X obj 518 19 of.window 1;
#X obj 497 21 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 64 199 add;
#X msg 60 369 draw line;
#X obj 64 171 metro 40;
#X obj 64 148 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 350 314 reset;
#X msg 205 281 position \$1 \$2 0;
#X obj 205 233 of.mouse;
#X text 25 20 generate a simple particle system from a shape (experimental)
, f 64;
#X text 275 168 size (defaut 1);
#X text 399 314 reset all;
#X msg 203 145 acceleration 0 0.1 0;
#X msg 203 170 size 10;
#X msg 203 97 position 0 -100 0;
#X msg 203 121 velocity 2 0 0;
#X obj 27 451 of.rectangle 5 5 line, f 37;
#X obj 64 120 loadbang;
#X text 83 145 start emission;
#X obj 205 258 spigot, f 8;
#X text 273 233 follow mouse example (click drag on window);
#X floatatom 150 367 5 0 0 0 - - -;
#X text 190 368 living particles in the system;
#X text 275 196 life (defaut 100);
#X text 199 77 parameters for next particles generated in the system:
;
#X text 314 119 velocity x \, y \, z (defaut 1 \, 1 \, 1);
#X text 354 146 acceleration x \, y \, z (defaut 0 \, 0 \, 0);
#X text 334 95 source position x \, y \, z (default 0 \, 0 \, 0);
#X text 24 40 Arguments: life (default 100);
#X msg 205 314 color 255 0 0;
#X obj 27 343 of.particle, f 18;
#X msg 204 195 life 20;
#X connect 1 0 37 0;
#X connect 2 0 23 0;
#X connect 3 0 23 1;
#X connect 4 0 23 2;
#X connect 6 0 23 0;
#X connect 8 0 7 0;
#X connect 9 0 37 0;
#X connect 10 0 23 0;
#X connect 11 0 9 0;
#X connect 12 0 11 0;
#X connect 13 0 37 0;
#X connect 14 0 37 0;
#X connect 15 0 26 0;
#X connect 15 1 26 1;
#X connect 19 0 37 0;
#X connect 20 0 37 0;
#X connect 21 0 37 0;
#X connect 22 0 37 0;
#X connect 24 0 12 0;
#X connect 26 0 14 0;
#X connect 36 0 37 0;
#X connect 37 0 23 0;
#X connect 37 1 28 0;
#X connect 38 0 37 0;