aboutsummaryrefslogtreecommitdiff
path: root/scaf/doc/pdp_ca-help.pd
blob: 64e7e2757027b402860dc8b53fa7d160828f11e3 (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
#N canvas 62 0 753 664 10;
#X obj 46 613 pdp_ca;
#X obj 45 254 metro 40;
#X msg 45 206 bang;
#X msg 84 206 stop;
#X msg 184 340 random;
#X msg 181 137 rule gameoflife;
#X floatatom 185 586 5 0 0 0 - - -;
#X obj 185 558 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 46 638 pdp_ca2image;
#X msg 181 215 rules;
#X msg 185 434 close;
#X floatatom 96 228 5 0 0 0 - - -;
#X obj 46 662 pdp_xv;
#X floatatom 183 285 5 0 0 0 - - -;
#X msg 183 314 vshift \$1;
#X msg 185 486 2D;
#X msg 185 535 fullscreen1D \$1;
#X obj 185 513 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 197 606 1st inlet: active input (bang or ca);
#X text 197 621 2nd inlet: passive input (ca);
#X text 196 638 3rd inlet: nb of iterations;
#X text 307 137 set a rule by name;
#X text 308 206 print rules in library;
#X msg 181 187 ruleindex \$1;
#X text 307 183 set a rule by index;
#X floatatom 181 165 5 0 0 0 - - -;
#X text 313 534 off: compute one line at a time;
#X text 313 548 on: update entire image (all lines);
#X text 313 520 specify how to compute a 1D ca;
#X text 313 464 interpret rules as a 1D ca with (space+time);
#X text 313 493 interpret rules as a 2D ca with (space);
#X msg 185 465 1D;
#X text 314 436 close current library;
#X obj 179 43 openpanel;
#X msg 179 66 open \$1;
#X msg 184 370 dim 64 64;
#X text 314 371 set ca dimensions;
#X obj 179 24 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 306 22 open a source rule file or compiled rule library;
#X text 306 38 (when it's a source file \, make sure the "scafc" compiler
is in the system path);
#X msg 340 70 opensrc \$1;
#X msg 446 70 openlib \$1;
#X text 306 72 use;
#X text 419 71 and;
#X text 306 89 to explicitly open source or library;
#X text 314 342 init ca with random noise;
#X text 314 312 vertical shift compensation;
#X text 181 257 bang computes next iteration(s);
#X msg 185 397 dim 512 512;
#X connect 0 0 8 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 2;
#X connect 7 0 6 0;
#X connect 8 0 12 0;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 1 1;
#X connect 13 0 14 0;
#X connect 14 0 0 0;
#X connect 15 0 0 0;
#X connect 16 0 0 0;
#X connect 17 0 16 0;
#X connect 23 0 0 0;
#X connect 25 0 23 0;
#X connect 33 0 34 0;
#X connect 34 0 0 0;
#X connect 35 0 0 0;
#X connect 37 0 33 0;
#X connect 48 0 0 0;