aboutsummaryrefslogtreecommitdiff
path: root/mlife-help.pd
blob: e797088b082bd6ca79b15a9e14cc6a44cf9ea8a0 (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
#N canvas 0 26 454 483 12;
#X floatatom 23 424 5 0 0 0 - - -;
#X floatatom 39 397 5 0 0 0 - - -;
#X floatatom 76 424 5 0 0 0 - - -;
#X floatatom 93 397 5 0 0 0 - - -;
#X floatatom 129 424 5 0 0 0 - - -;
#X floatatom 147 397 5 0 0 0 - - -;
#X floatatom 183 425 5 0 0 0 - - -;
#X floatatom 200 398 5 0 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;
#N canvas 464 26 494 344 META 0;
#X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 135 AUTHOR Olaf Matthes <olaf.matthes@gmx.de>;
#X text 12 5 KEYWORDS control;
#X text 12 45 DESCRIPTION a cellular automata object;
#X text 12 65 INLET_0 bang float randfill fill lo hi nset randseed
seed display;
#X text 12 105 OUTLET_N float;
#X restore 386 452 pd META;
#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;