blob: d92aa49766a9dc74d8dd3e1f12b97873881ab00f (
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
79
80
81
82
83
84
85
86
87
88
89
|
#N canvas 679 122 632 642 10;
#X text 169 629 \, game_of_life_gem.pd in the examples folder;
#X text 232 575 Grid with 4 channels;
#X text 232 478 With one boolean argument that selects the order in
which the y dimension of the Grid will be read \, defaults to '1';
#X text 103 629 [#to_pix];
#X obj 37 128 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
;
#X msg 54 127 yflip \$1;
#X obj 22 39 gemhead;
#X obj 22 107 pix_image;
#X msg 391 55 create \, 1;
#X obj 391 36 loadbang;
#X msg 455 56 destroy;
#X text 36 201 Note : The fps is dependent on the gemwin framerate
;
#X text 101 184 <-- imports gemlist into Grids;
#X text 232 456 Has to be a 'pix' gemlist;
#X text 232 597 Passthrough outlet for gem chain;
#X obj 0 0 doc_h;
#X obj 3 298 doc_c 0;
#X obj 3 545 doc_o 2;
#X obj 3 629 doc_also;
#X obj 14 575 doc_oo 0;
#X obj 14 597 doc_oo 1;
#X obj 3 338 doc_i 2;
#X obj 14 368 doc_ii 0;
#X obj 14 513 doc_ii 1;
#X text 232 513 dummy inlet existing only for weird reasons \, please
ignore.;
#X obj 97 478 doc_m i0 yflip;
#X obj 97 575 doc_m o0 grid;
#X obj 0 649 doc_f;
#X msg 30 82 open images/babbage.jpg;
#X obj 97 513 doc_m i1 <none>;
#X msg 186 90 open \$1;
#X obj 186 71 openpanel;
#X obj 186 54 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1
-1;
#X obj 30 62 loadbang;
#X obj 22 242 fps;
#X floatatom 22 261 5 0 0 0 - - -;
#X obj 22 223 #out window \, title imported_pix;
#X msg 159 109 cast b;
#X msg 159 147 cast i;
#X obj 22 179 #import_pix;
#X obj 97 368 doc_m i0 cast;
#X text 232 368 numbertype of grid to be output;
#X msg 159 128 cast s;
#X obj 97 390 doc_m i0 colorspace;
#X text 232 412 colorspace rgb: output 3 channels;
#X text 232 390 colorspace rgba: output 4 channels;
#X msg 259 148 colorspace rgb;
#X msg 259 168 colorspace rgba;
#X obj 390 85 gemwin 150;
#X text 232 434 (default: rgba);
#X obj 97 456 doc_m i0 gem_state;
#X obj 97 597 doc_m o1 gem_state;
#X connect 4 0 5 0;
#X connect 5 0 39 0;
#X connect 6 0 7 0;
#X connect 7 0 39 0;
#X connect 8 0 48 0;
#X connect 9 0 8 0;
#X connect 10 0 48 0;
#X connect 18 1 3 0;
#X connect 18 1 0 0;
#X connect 25 1 2 0;
#X connect 26 1 1 0;
#X connect 28 0 7 0;
#X connect 29 1 24 0;
#X connect 30 0 7 0;
#X connect 31 0 30 0;
#X connect 32 0 31 0;
#X connect 33 0 28 0;
#X connect 34 0 35 0;
#X connect 36 0 34 0;
#X connect 37 0 39 0;
#X connect 38 0 39 0;
#X connect 39 0 36 0;
#X connect 40 1 41 0;
#X connect 42 0 39 0;
#X connect 43 1 44 0;
#X connect 43 1 45 0;
#X connect 43 1 49 0;
#X connect 46 0 39 0;
#X connect 47 0 39 0;
#X connect 50 1 13 0;
#X connect 51 1 14 0;
|