[Gridflow-cvs] [svn] commit: r5655 - in /trunk/doc/flow_classes: #cluster_avg-help.pd #draw_image-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue May 11 22:42:08 EDT 2010


Author: matju
Date: Tue May 11 22:42:05 2010
New Revision: 5655

Log:
new default values

Modified:
    trunk/doc/flow_classes/#cluster_avg-help.pd
    trunk/doc/flow_classes/#draw_image-help.pd

Modified: trunk/doc/flow_classes/#cluster_avg-help.pd
==============================================================================
--- trunk/doc/flow_classes/#cluster_avg-help.pd (original)
+++ trunk/doc/flow_classes/#cluster_avg-help.pd Tue May 11 22:42:05 2010
@@ -1,24 +1,24 @@
-#N canvas 442 66 632 592 10;
+#N canvas 442 66 632 619 10;
 #X obj 14 306 doc_cc 0;
 #X obj 14 381 doc_ii 0;
 #X obj 14 425 doc_ii 1;
 #X obj 14 447 doc_ii 2;
-#X obj 14 509 doc_oo 0;
-#X obj 14 531 doc_oo 1;
+#X obj 14 531 doc_oo 0;
+#X obj 14 553 doc_oo 1;
 #X obj 0 0 doc_h;
-#X obj 0 563 doc_f;
+#X obj 0 585 doc_f;
 #X obj 3 276 doc_c 1;
 #X obj 3 351 doc_i 3;
-#X obj 3 479 doc_o 2;
+#X obj 3 501 doc_o 2;
 #X obj 97 447 doc_m i2 grid;
 #X obj 97 306 doc_m c0 int;
-#X obj 97 509 doc_m o0 grid;
-#X obj 97 531 doc_m o1 grid;
+#X obj 97 531 doc_m o0 grid;
+#X obj 97 553 doc_m o1 grid;
 #X obj 97 425 doc_m i1 float int;
 #X obj 97 381 doc_m i0 grid i;
 #X text 232 447 grid[*A \, B];
-#X text 232 531 counts grid[numClusters];
-#X text 232 509 sums grid[numClusters \, B];
+#X text 232 553 counts grid[numClusters];
+#X text 232 531 sums grid[numClusters \, B];
 #X obj 232 403 doc_same 0;
 #X obj 232 425 doc_same 0;
 #X obj 97 403 doc_m i0 numClusters;
@@ -47,7 +47,10 @@
 ;
 #X text 83 243 average of (100 200). average of one sample is that
 sample.;
+#X text 232 469 defaults to () for the sake of having a default value.
+;
 #X connect 11 1 17 0;
+#X connect 11 1 43 0;
 #X connect 12 1 23 0;
 #X connect 13 1 19 0;
 #X connect 14 1 18 0;

Modified: trunk/doc/flow_classes/#draw_image-help.pd
==============================================================================
--- trunk/doc/flow_classes/#draw_image-help.pd (original)
+++ trunk/doc/flow_classes/#draw_image-help.pd Tue May 11 22:42:05 2010
@@ -1,17 +1,11 @@
-#N canvas 295 0 632 642 10;
-#X obj 172 147 #in;
-#X obj 135 181 #store;
-#X obj 135 46 tgl 15 0 empty empty empty 0 -6 0 8 -233017 -1 -1 0 1
+#N canvas 367 0 632 642 10;
+#X obj 168 150 #in;
+#X obj 135 169 #store;
+#X obj 135 46 tgl 15 0 empty empty empty 0 -6 0 8 -44683 -1 -1 0 1
 ;
 #X obj 135 74 metro 40;
 #X obj 135 283 #out window \, title #draw_image-help;
-#X obj 172 99 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
--1;
-#X obj 188 209 #in;
-#X obj 188 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
--1;
-#X text 194 101 2 <-- open background image;
-#X text 211 171 1 <-- open foreground image;
+#X obj 195 169 #in;
 #X obj 387 238 #dim;
 #X obj 387 257 #to_list;
 #X obj 387 276 unpack f f;
@@ -19,84 +13,97 @@
 #X obj 393 314 # / 2;
 #X obj 368 314 # -;
 #X obj 135 307 #mouse;
-#X text 159 48 3 <-- activate rendering;
-#X msg 188 190 load g001.jpg;
-#X msg 172 120 load r001.jpg;
-#X msg 275 257 0 0;
-#X obj 275 238 loadbang;
+#X msg 195 150 load g001.jpg;
+#X msg 168 131 load r001.jpg;
 #X text 135 331 Move mouse cursor to change layer position;
 #X obj 0 0 doc_h;
-#X obj 3 455 doc_i 3;
-#X obj 3 775 doc_o 1;
-#X obj 14 805 doc_oo 0;
-#X obj 14 485 doc_ii 0;
-#X obj 14 708 doc_ii 1;
-#X obj 14 730 doc_ii 2;
+#X obj 3 569 doc_i 3;
+#X obj 3 876 doc_o 1;
+#X obj 14 906 doc_oo 0;
+#X obj 14 599 doc_ii 0;
+#X obj 14 822 doc_ii 1;
+#X obj 14 844 doc_ii 2;
 #X text 232 397 Normally \, you would use the "put" operator \; but
 others (like + and ^) can be interesting for color effects.;
-#X obj 135 258 #draw_image *>>8;
-#X obj 3 367 doc_c 1;
-#X obj 14 397 doc_cc 0;
-#X text 232 485 Background image.;
+#X text 232 599 Background image.;
 #X msg 321 197 tile;
-#X text 232 708 Foreground image.;
-#X text 232 673 If 1 \, foreground image will be repeated to cover
+#X text 232 445 Foreground image.;
+#X text 232 787 If 1 \, foreground image will be repeated to cover
 the background image.;
-#X text 232 529 If 1 \, foreground image (inlet 1) will be combined
+#X text 232 643 If 1 \, foreground image (inlet 1) will be combined
 with background image (inlet 0) \, and then blended with background
 image according to transparency of foreground image \, and then inserted
 in the result. If 0 \, the blending doesn't occur \, as the transparency
 level is considered "opaque". Note that with alpha enabled \, the last
 channel of foreground image is cnsidered to represent transparency.
 ;
-#X text 232 730 Initial foreground image position (y x) \, corresponding
+#X text 232 502 Initial foreground image position (y x) \, corresponding
 to top-left corner of foreground picture.;
-#X text 232 805 Resulting image.;
+#X text 232 906 Resulting image.;
 #X obj 97 397 doc_m c0 numop;
-#X obj 97 485 doc_m i0 grid;
-#X obj 97 651 doc_m i0 tile;
-#X obj 97 507 doc_m i0 alpha;
-#X text 232 507 \$1=flag;
-#X text 232 651 \$1=flag;
-#X obj 97 708 doc_m i1 grid;
-#X obj 97 730 doc_m i2 (y x);
-#X obj 97 805 doc_m o0 grid;
-#X obj 0 837 doc_f;
-#X obj 97 629 doc_m i0 op;
-#X obj 232 629 doc_same 0;
+#X obj 97 599 doc_m i0 grid;
+#X obj 97 765 doc_m i0 tile;
+#X obj 97 621 doc_m i0 alpha;
+#X text 232 621 \$1=flag;
+#X text 232 765 \$1=flag;
+#X obj 97 822 doc_m i1 grid;
+#X obj 97 844 doc_m i2 (y x);
+#X obj 97 906 doc_m o0 grid;
+#X obj 0 938 doc_f;
+#X obj 97 743 doc_m i0 op;
+#X obj 232 743 doc_same 0;
+#X text 232 537 default is (0 0);
+#X obj 3 367 doc_c 3;
+#X obj 14 397 doc_cc 0;
+#X obj 14 445 doc_cc 1;
+#X obj 14 502 doc_cc 2;
+#X obj 97 445 doc_m c1 grid;
+#X obj 97 502 doc_m c2 grid;
+#X obj 232 844 doc_same 2;
+#X obj 232 822 doc_same 1;
+#X obj 168 93 loadbang;
+#X obj 168 112 t b b;
+#X obj 135 257 #draw_image *>>8;
+#X text 153 44 click here then move the mouse in the output window
+;
+#X text 232 467 default is (1 1 3 #) \, which in rgb means a single
+black pixel.;
 #X connect 0 0 1 1;
-#X connect 1 0 31 0;
+#X connect 1 0 54 0;
 #X connect 2 0 3 0;
 #X connect 3 0 1 0;
-#X connect 4 0 16 0;
-#X connect 5 0 19 0;
-#X connect 6 0 10 0;
-#X connect 6 0 31 1;
-#X connect 7 0 18 0;
-#X connect 10 0 11 0;
-#X connect 11 0 12 0;
-#X connect 12 0 13 0;
-#X connect 12 1 13 1;
-#X connect 13 0 14 0;
-#X connect 14 0 15 1;
-#X connect 15 0 31 2;
-#X connect 16 0 15 0;
-#X connect 16 1 15 0;
-#X connect 16 2 15 0;
-#X connect 16 3 15 0;
-#X connect 18 0 6 0;
-#X connect 19 0 0 0;
-#X connect 20 0 31 2;
-#X connect 21 0 20 0;
-#X connect 31 0 4 0;
-#X connect 35 0 31 0;
-#X connect 41 1 30 0;
-#X connect 42 1 34 0;
-#X connect 43 1 46 0;
-#X connect 43 1 37 0;
-#X connect 44 1 45 0;
-#X connect 44 1 38 0;
-#X connect 47 1 36 0;
-#X connect 48 1 39 0;
-#X connect 49 1 40 0;
-#X connect 51 1 52 0;
+#X connect 4 0 12 0;
+#X connect 5 0 6 0;
+#X connect 5 0 54 1;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 8 0 9 0;
+#X connect 8 1 9 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 1;
+#X connect 11 0 54 2;
+#X connect 12 0 11 0;
+#X connect 12 1 11 0;
+#X connect 12 2 11 0;
+#X connect 12 3 11 0;
+#X connect 13 0 5 0;
+#X connect 14 0 0 0;
+#X connect 25 0 54 0;
+#X connect 31 1 23 0;
+#X connect 32 1 24 0;
+#X connect 33 1 36 0;
+#X connect 33 1 27 0;
+#X connect 34 1 35 0;
+#X connect 34 1 28 0;
+#X connect 37 1 51 0;
+#X connect 38 1 50 0;
+#X connect 39 1 30 0;
+#X connect 41 1 42 0;
+#X connect 48 1 26 0;
+#X connect 48 1 56 0;
+#X connect 49 1 29 0;
+#X connect 49 1 43 0;
+#X connect 52 0 53 0;
+#X connect 53 0 14 0;
+#X connect 53 1 13 0;
+#X connect 54 0 4 0;



More information about the Gridflow-cvs mailing list