aboutsummaryrefslogtreecommitdiff
path: root/Gem/pix_noise-help.pd
blob: ac55ef20560fcd25a391a71795fa41a775203a5a (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
90
91
92
93
94
95
96
97
98
99
100
101
#N canvas 509 22 641 529 10;
#X text 462 20 GEM object;
#X obj 18 324 cnv 15 430 190 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 18 291 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 27 290 Arguments:;
#X obj 17 68 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 453 68 cnv 15 170 350 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 457 51 Example:;
#X obj 523 453 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 450 300 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 142 68 set create;
#X msg 198 112 destroy \, reset;
#X msg 132 94 create \, 1 \, color 0.5 0.5 0.5;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 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 restore 528 492 pd gemwin;
#X msg 528 473 create;
#X text 524 452 Create window:;
#X obj 454 105 cnv 15 160 200 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 455 75 gemhead;
#X text 81 43 Class: pix object;
#X obj 455 364 pix_texture;
#X msg 545 247 RGBA;
#X msg 480 247 GREY;
#X msg 515 247 RGB;
#X text 43 303 <width> <height>;
#X obj 473 112 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 455 386 square 4;
#X msg 467 341 quality \$1;
#X obj 466 323 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 24 70 Description: generate a noise image;
#X text 60 24 Synopsis: [pix_noise];
#X msg 474 160 auto \$1;
#X obj 474 138 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 28 327 Inlet 1:;
#X text 42 343 gemlist;
#X text 42 376 bang : generate new image;
#X text 42 392 auto 1|0 : generate new image for each frame on/off
(default off);
#X text 42 421 set <width> <height> : change size of the image (default
: 64*64 );
#X text 28 474 Outlet 1:;
#X text 44 489 gemlist;
#X text 42 360 RGBA|RGB|GREY : set format of input-data (default :
RGBA);
#X text 41 251 You might want to deactivate the interpolation of the
texture by sending [quality 0( to pix_texture.;
#X text 494 111 new noise;
#X text 492 137 new noise each frame;
#X text 474 181 change size of image;
#X text 42 206 You can set the number of channels of the generated
noise using message : RGBA / RGB / GREY. The output image will still
be in RGBA-color-space.;
#X text 478 228 change colorspace;
#X obj 455 285 pix_noise 50 50;
#X msg 475 199 set 250 250;
#X text 40 89 [pix_noise] will allow you to generate a uniform noise
image.;
#X text 41 119 The size of the image can be set with creation-arguments.
It defaults to 64*64. It can be dynamically changed by the set message.
;
#X text 41 163 Each time you send a bang \, a new noise is generated.
You can send an [auto 1( message to generate a noise for each render
frame.;
#X text 42 453 seed <int> : change the initalization of the random
function;
#X connect 8 0 9 0;
#X connect 9 0 8 0;
#X connect 12 0 41 0;
#X connect 14 0 20 0;
#X connect 15 0 41 0;
#X connect 16 0 41 0;
#X connect 17 0 41 0;
#X connect 19 0 41 0;
#X connect 21 0 14 0;
#X connect 22 0 21 0;
#X connect 25 0 41 0;
#X connect 26 0 25 0;
#X connect 41 0 14 0;
#X connect 42 0 41 0;