[Gridflow-cvs] [svn] commit: r4576 - in /trunk: abstractions/#spread.pd doc/flow_classes/#spread-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 12:20:54 EST 2009


Author: matju
Date: Sun Nov  1 12:20:54 2009
New Revision: 4576

Log:
added optional argument

Modified:
    trunk/abstractions/#spread.pd
    trunk/doc/flow_classes/#spread-help.pd

Modified: trunk/abstractions/#spread.pd
==============================================================================
--- trunk/abstractions/#spread.pd (original)
+++ trunk/abstractions/#spread.pd Sun Nov  1 12:20:54 2009
@@ -5,10 +5,13 @@
 #X obj 17 92 # rand;
 #X obj 17 112 # - 2;
 #X obj 137 162 # +;
-#X obj 124 68 # >> 1;
+#X obj 124 88 # >> 1;
 #X obj 17 32 t a a;
 #X obj 137 182 outlet;
 #X obj 124 32 inlet;
+#X obj 220 17 loadbang;
+#X obj 220 36 args (r a 5);
+#X obj 124 59 t a;
 #X connect 0 0 7 0;
 #X connect 1 0 2 0;
 #X connect 2 0 3 0;
@@ -18,5 +21,9 @@
 #X connect 6 0 4 1;
 #X connect 7 0 1 0;
 #X connect 7 1 5 1;
-#X connect 9 0 6 0;
-#X connect 9 0 2 1;
+#X connect 9 0 12 0;
+#X connect 10 0 11 0;
+#X connect 11 0 12 0;
+#X connect 11 1 7 0;
+#X connect 12 0 2 1;
+#X connect 12 0 6 0;

Modified: trunk/doc/flow_classes/#spread-help.pd
==============================================================================
--- trunk/doc/flow_classes/#spread-help.pd (original)
+++ trunk/doc/flow_classes/#spread-help.pd Sun Nov  1 12:20:54 2009
@@ -1,4 +1,4 @@
-#N canvas 673 0 555 704 10;
+#N canvas 673 0 568 722 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;
@@ -20,61 +20,63 @@
 #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 20 197 #spread 1;
 #X obj 195 269 #store;
 #X obj 195 341 #out window;
 #X obj 310 341 #out window;
 #X obj 310 291 #clip;
-#X obj 310 270 #spread 1;
 #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 631 doc_o 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 661 doc_oo 0;
+#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 661 doc_m o0 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 obj 97 521 doc_m c0 float;
 #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 691 doc_f;
-#X obj 97 601 doc_m i1;
+#X obj 0 693 doc_f;
+#X obj 97 601 doc_m i1 grid;
+#X obj 97 521 doc_m c0 grid;
+#X text 200 601 same as arg 0;
+#X obj 20 197 #spread 1;
+#X obj 310 270 #spread 1;
 #X connect 1 0 12 0;
-#X connect 2 0 23 1;
-#X connect 3 0 21 1;
-#X connect 4 0 16 1;
+#X connect 2 0 21 1;
+#X connect 3 0 42 1;
+#X connect 4 0 41 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 15 0;
 #X connect 9 0 8 1;
-#X connect 11 0 22 0;
-#X connect 12 0 22 0;
+#X connect 11 0 20 0;
+#X connect 12 0 20 0;
 #X connect 12 1 11 0;
-#X connect 13 0 22 0;
+#X connect 13 0 20 0;
 #X connect 14 0 13 0;
-#X connect 15 0 16 0;
+#X connect 15 0 41 0;
 #X connect 16 0 17 0;
-#X connect 17 0 18 0;
-#X connect 20 0 19 0;
-#X connect 21 0 20 0;
-#X connect 22 0 23 0;
-#X connect 23 0 17 1;
-#X connect 23 1 21 0;
+#X connect 19 0 18 0;
+#X connect 20 0 21 0;
+#X connect 21 0 16 1;
+#X connect 21 1 42 0;
+#X connect 38 1 40 0;
+#X connect 41 0 16 0;
+#X connect 42 0 19 0;



More information about the Gridflow-cvs mailing list