aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/examples/04.pix/07.PixSet.pd
blob: 7e7b14b7b12fa9b0e337f8faf768ee8b0f50a659 (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
#N canvas 243 272 754 536 10;
#X obj 143 110 gemhead;
#X text 99 37 ========;
#X msg 149 366 quality 0;
#X obj 143 409 square 2;
#X obj 149 343 loadbang;
#X text 101 487 maybe have a look at;
#X text 101 24 pix_set;
#X text 246 23 set the pixles of the image;
#X msg 279 165 rgb;
#X msg 279 141 rgba;
#X msg 279 189 grey;
#X msg 229 108 0 0.8 0 0 0.9 0 0.1 0 1 1 1 10;
#X msg 268 227 set 2 4;
#X text 461 109 a list of pixel-values;
#X text 331 163 interpret the list as;
#X text 514 136 r1 g1 b1 a1 r2 g2 b2 a2 r3...;
#X text 512 165 r1 g1 b1 r2 g2 b2 r3...;
#X text 512 194 grey1 grey2 grey3...;
#X text 507 236 set the imagesize to "X Y";
#X text 306 317 creation arguments :: [X Y] of the image buffer;
#X msg 265 249 set 1 1;
#X text 253 487 [pix_dump];
#X obj 143 243 pix_set 64 64;
#X obj 143 387 pix_texture;
#X obj 450 389 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 454 304 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 182 68 set create;
#X msg 132 112 create \, 1;
#X msg 238 112 destroy;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 289 80 pd Gem.init;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X restore 455 433 pd gemwin;
#X msg 455 409 create;
#X text 451 389 Create window and render;
#X connect 0 0 22 0;
#X connect 2 0 23 0;
#X connect 4 0 2 0;
#X connect 8 0 22 0;
#X connect 9 0 22 0;
#X connect 10 0 22 0;
#X connect 11 0 22 1;
#X connect 12 0 22 0;
#X connect 20 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 3 0;
#X connect 25 0 26 0;
#X connect 26 0 25 0;