#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 #e0e0e0 #404040 0;
#X obj 18 291 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 27 290 Arguments:;
#X obj 17 68 cnv 15 430 220 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 453 68 cnv 15 170 350 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 457 51 Example:;
#X obj 454 105 cnv 15 160 200 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 455 75 gemhead;
#X text 81 43 Class: pix object;
#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 #fcfcfc #000000 #000000;
#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 #fcfcfc #000000 #000000 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;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION generate a noise image;
#X text 10 65 KEYWORDS Gem pix image;
#X text 10 85 AUTHOR IOhannes m zmölnig;
#X text 10 105 LICENSE GPL-2.0-or-later;
#X restore 518 8 pd META;
#X text 457 474 see also:;
#X obj 525 473 pix_test;
#X obj 529 360 _gemwin \; 0 \; 0 \;;
#X obj 455 314 _pix2rectangle 4 \; quality 0;
#X connect 8 0 32 0;
#X connect 10 0 32 0;
#X connect 11 0 32 0;
#X connect 12 0 32 0;
#X connect 14 0 32 0;
#X connect 17 0 32 0;
#X connect 18 0 17 0;
#X connect 32 0 43 0;
#X connect 33 0 32 0;
