blob: 9c6fc31a78588ebe49356ff1f006808ef315d3ce (
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
|
#N canvas 673 0 632 642 10;
#X text 1 25 makes noise;
#X obj 207 42 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
-1;
#X obj 221 134 tgl 15 0 empty empty empty 0 -6 0 8 -233017 -1 -1 0
1;
#X floatatom 368 241 5 0 0 0 - - -;
#X floatatom 78 163 5 0 0 0 - - -;
#X obj 20 88 until;
#X obj 20 51 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
-1;
#X msg 20 69 65536;
#X obj 61 88 float;
#X obj 101 88 + 1;
#X text 219 308 we limit here \, because the values might go out of
range;
#X obj 149 73 metro 50;
#X obj 149 51 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 20 129 #import (256 256 2);
#X obj 195 269 #store;
#X obj 195 341 #out window;
#X obj 310 341 #out window;
#X obj 310 291 #clip;
#X obj 148 124 #in;
#X obj 249 247 shunt;
#X obj 0 0 doc_h;
#X obj 3 491 doc_c 1;
#X obj 3 633 doc_o 1;
#X obj 3 551 doc_i 2;
#X text 210 147 switch displays \, use this to get an image into the
#store;
#X obj 14 663 doc_oo 0;
#X obj 14 581 doc_ii 0;
#X obj 14 601 doc_ii 1;
#X obj 14 521 doc_cc 0;
#X obj 97 581 doc_m i0 grid;
#X obj 97 663 doc_m o0 grid;
#X text 326 33 typically you plug a [#for] into this object \, and
you plug this object into the left side of a [#store]. it will scatter
pixels around \, giving an "unpolished glass" effec.t;
#X text 326 89 if you put a picture in it \, however \, it will add
noise. The resulting values may be out of range \, so you may need
to clip them using min/max.;
#X text 54 364 [#spread] scatters the pixels in an image. Not all original
pixels will appear \, and some may get duplicated (triplicated \, etc)
randomly. Some wrap-around effect will occur close to the edges.;
#X text 52 425 Sending an integer to inlet 1 sets the amount of spreading
in maximum number of pixels + 1 even values translate the whole image
by half a pixel due to rounding .;
#X obj 0 693 doc_f;
#X obj 97 601 doc_m i1 grid;
#X obj 97 521 doc_m c0 grid;
#X text 232 601 same as arg 0;
#X obj 20 197 #spread 1;
#X obj 310 270 #spread 1;
#X msg 207 89 load r001.jpg;
#X connect 1 0 41 0;
#X connect 2 0 19 1;
#X connect 3 0 40 1;
#X connect 4 0 39 1;
#X connect 5 0 8 0;
#X connect 6 0 7 0;
#X connect 7 0 5 0;
#X connect 8 0 9 0;
#X connect 8 0 13 0;
#X connect 9 0 8 1;
#X connect 11 0 18 0;
#X connect 12 0 11 0;
#X connect 13 0 39 0;
#X connect 14 0 15 0;
#X connect 17 0 16 0;
#X connect 18 0 19 0;
#X connect 19 0 14 1;
#X connect 19 1 40 0;
#X connect 36 1 38 0;
#X connect 39 0 14 0;
#X connect 40 0 17 0;
#X connect 41 0 18 0;
|