aboutsummaryrefslogtreecommitdiff
path: root/help/mlife-help.pd
blob: d12e1fc5e30da6c646865d3b101aa7a4bedbbbfd (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
#N canvas 309 47 454 459 12;
#X floatatom 23 424 5 0 0;
#X floatatom 39 397 5 0 0;
#X floatatom 76 424 5 0 0;
#X floatatom 93 397 5 0 0;
#X floatatom 129 424 5 0 0;
#X floatatom 147 397 5 0 0;
#X floatatom 183 425 5 0 0;
#X floatatom 200 398 5 0 0;
#X msg 22 33 bang;
#X msg 69 123 randfill;
#X msg 84 150 fill 0;
#X msg 100 177 lo 2;
#X msg 108 204 hi 3;
#X msg 120 231 nset 3;
#X msg 161 312 display;
#X text 178 233 set neighbourhood;
#X text 151 205 set high;
#X text 146 176 set low;
#X text 151 150 fill cells with 0;
#X text 145 123 fill cells with random value;
#X text 226 312 display state of cells;
#X msg 35 72 1;
#X text 63 33 calculate next generation and output;
#X text 64 50 bangs on every cell that is alife;
#X text 68 72 calculate next generation and output;
#X text 68 89 1 if cell is alife \, 0 if dead;
#X text 227 329 in Pd console window;
#X text 142 355 mlife <number of cells> <view_start>;
#X text 189 370 <view_size> <closed>;
#X text 279 395 closed universe if;
#X text 279 409 <closed> = 1;
#X msg 134 258 randseed 4;
#X text 225 258 seed array with random no.;
#X text 225 284 seed array with a number;
#X msg 149 285 seed 1 4;
#X obj 23 356 mlife 8 1 8 0;
#X text 44 5 mlife :: a cellular automata object;
#X connect 8 0 35 0;
#X connect 9 0 35 0;
#X connect 10 0 35 0;
#X connect 11 0 35 0;
#X connect 12 0 35 0;
#X connect 13 0 35 0;
#X connect 14 0 35 0;
#X connect 21 0 35 0;
#X connect 31 0 35 0;
#X connect 34 0 35 0;
#X connect 35 0 0 0;
#X connect 35 1 1 0;
#X connect 35 2 2 0;
#X connect 35 3 3 0;
#X connect 35 4 4 0;
#X connect 35 5 5 0;
#X connect 35 6 6 0;
#X connect 35 7 7 0;