#N canvas 509 61 641 529 10;
#X declare -lib Gem;
#X text 442 10 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 382 bang : generate new image;
#X text 42 402 auto 1|0 : generate new image for each frame on/off
(default:0), f 64;
#X text 28 482 Outlet 1:;
#X text 44 495 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 447 seed <int> : change the initialization of the random
function, f 62;
#X text 42 425 set <width> <height> : change size of the image (default
: 64*64), f 66;
#X obj 518 8 declare -lib Gem;
#X connect 8 0 9 0;
#X connect 9 0 8 0;
#X connect 12 0 40 0;
#X connect 14 0 20 0;
#X connect 15 0 40 0;
#X connect 16 0 40 0;
#X connect 17 0 40 0;
#X connect 19 0 40 0;
#X connect 21 0 14 0;
#X connect 22 0 21 0;
#X connect 25 0 40 0;
#X connect 26 0 25 0;
#X connect 40 0 14 0;
#X connect 41 0 40 0;
