[Gridflow-cvs] [svn] commit: r5653 - in /trunk/doc/flow_classes: #draw_polygon-help.pd #join-help.pd #layer-help.pd

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


Author: matju
Date: Tue May 11 22:22:29 2010
New Revision: 5653

Log:
new default values

Modified:
    trunk/doc/flow_classes/#draw_polygon-help.pd
    trunk/doc/flow_classes/#join-help.pd
    trunk/doc/flow_classes/#layer-help.pd

Modified: trunk/doc/flow_classes/#draw_polygon-help.pd
==============================================================================
--- trunk/doc/flow_classes/#draw_polygon-help.pd (original)
+++ trunk/doc/flow_classes/#draw_polygon-help.pd Tue May 11 22:22:29 2010
@@ -1,4 +1,4 @@
-#N canvas 628 21 632 642 10;
+#N canvas 596 21 632 642 10;
 #X obj 20 359 #out window;
 #X obj 383 128 #color;
 #X obj 383 72 loadbang;
@@ -15,7 +15,7 @@
 #X text 403 306 last;
 #X text 403 320 odd;
 #X obj 385 338 listread none last odd;
-#X obj 20 37 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 1 1
+#X obj 20 37 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 0 1
 ;
 #X obj 43 149 #checkers;
 #X obj 43 130 #for (0 0) (240 320) (1 1);
@@ -41,55 +41,58 @@
 #X obj 50 336 #fade (16 4 1);
 #X obj 0 0 doc_h;
 #X obj 3 389 doc_c 0..3;
-#X obj 3 508 doc_i 3;
-#X obj 3 838 doc_o 1;
-#X obj 14 868 doc_oo 0;
-#X obj 14 538 doc_ii 0;
-#X obj 14 778 doc_ii 1;
-#X obj 14 803 doc_ii 2;
+#X obj 3 565 doc_i 3;
+#X obj 3 886 doc_o 1;
+#X obj 14 916 doc_oo 0;
+#X obj 14 595 doc_ii 0;
+#X obj 14 832 doc_ii 1;
+#X obj 14 854 doc_ii 2;
 #X obj 14 419 doc_cc 0;
 #X obj 14 454 doc_cc 1;
-#X obj 14 476 doc_cc 2;
+#X obj 14 498 doc_cc 2;
 #X text 232 419 Normally \, you would use the "put" operator \; but
 the + and ^ can be interesting for color effects.;
-#X text 232 538 Picture on which the polygon will be superimposed.
+#X text 232 595 Picture on which the polygon will be superimposed.
 ;
 #X text 232 454 Color of the polygon.;
-#X text 232 868 Resulting picture.;
-#X text 232 476 Vertices of the polygon.;
+#X text 232 916 Resulting picture.;
+#X text 232 498 Vertices of the polygon.;
 #X obj 97 419 doc_m c0 symbol/numop;
 #X obj 97 454 doc_m c1 grid;
-#X obj 97 476 doc_m c2 grid;
-#X obj 97 538 doc_m i0 grid;
-#X obj 97 778 doc_m i1 grid;
-#X obj 97 803 doc_m i2 grid;
-#X obj 97 868 doc_m o0 grid;
-#X obj 0 920 doc_f;
+#X obj 97 498 doc_m c2 grid;
+#X obj 97 595 doc_m i0 grid;
+#X obj 97 832 doc_m i1 grid;
+#X obj 97 854 doc_m i2 grid;
+#X obj 97 916 doc_m o0 grid;
+#X obj 0 968 doc_f;
 #X msg 53 196 op *;
 #X msg 53 238 op ^;
 #X msg 54 218 op +;
-#X obj 232 778 doc_same 1;
-#X obj 232 803 doc_same 2;
-#X obj 97 753 doc_m i0 op;
-#X obj 97 626 doc_m i0 omit;
-#X obj 97 560 doc_m i0 draw;
-#X obj 232 753 doc_same 0;
-#X text 232 626 only makes sense in line mode.;
-#X text 232 648 none: draw complete perimetre of polygon;
-#X text 232 670 last: omit last edge \, so that it makes a "polygonal
+#X obj 232 832 doc_same 1;
+#X obj 232 854 doc_same 2;
+#X obj 97 810 doc_m i0 op;
+#X obj 97 683 doc_m i0 omit;
+#X obj 97 617 doc_m i0 draw;
+#X obj 232 810 doc_same 0;
+#X text 232 683 only makes sense in line mode.;
+#X text 232 705 none: draw complete perimetre of polygon;
+#X text 232 727 last: omit last edge \, so that it makes a "polygonal
 line" instead of a polygon;
-#X text 232 705 odd: drawing only even-numbered edges means drawing
+#X text 232 762 odd: drawing only even-numbered edges means drawing
 a set of separate lines instead of a polygon. you should provide an
 even number of vertices in this case.;
-#X text 232 560 fill: draw a filled polygon;
-#X text 232 604 point: draw vertices only (as single pixels);
-#X text 232 582 line: draw lines (see option 'omit') of minimal width
+#X text 232 617 fill: draw a filled polygon;
+#X text 232 661 point: draw vertices only (as single pixels);
+#X text 232 639 line: draw lines (see option 'omit') of minimal width
 ;
-#X obj 3 900 doc_also;
-#X obj 103 900 #draw_image;
-#X obj 181 900 #draw_rect;
+#X obj 3 948 doc_also;
+#X obj 103 948 #draw_image;
+#X obj 181 948 #draw_rect;
 #X obj 20 267 #draw_polygon + 1;
 #X obj 235 163 #fade_lin 5 5;
+#X text 232 520 default is (0 2 #) \, the "zerogon" \, such that nothing
+will be drawn.;
+#X text 232 476 default is (0).;
 #X connect 1 0 79 1;
 #X connect 2 0 22 0;
 #X connect 3 0 20 1;
@@ -125,7 +128,9 @@
 #X connect 35 0 0 0;
 #X connect 52 1 47 0;
 #X connect 53 1 49 0;
+#X connect 53 1 82 0;
 #X connect 54 1 51 0;
+#X connect 54 1 81 0;
 #X connect 55 1 48 0;
 #X connect 56 1 63 0;
 #X connect 57 1 64 0;

Modified: trunk/doc/flow_classes/#join-help.pd
==============================================================================
--- trunk/doc/flow_classes/#join-help.pd (original)
+++ trunk/doc/flow_classes/#join-help.pd Tue May 11 22:22:29 2010
@@ -1,4 +1,4 @@
-#N canvas 648 0 632 642 10;
+#N canvas 596 0 632 642 10;
 #X obj 18 42 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
 -1;
 #X obj 211 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
@@ -19,40 +19,43 @@
 are numbered from 0 to n-1. in addition \, negative numbers from -n
 to -1 may be used \, to which n will be added.;
 #X obj 0 0 doc_h;
-#X obj 3 666 doc_also;
+#X obj 3 718 doc_also;
 #X obj 3 288 doc_c 0..2;
-#X obj 3 409 doc_i 2;
-#X obj 3 606 doc_o 1;
+#X obj 3 459 doc_i 2;
+#X obj 3 656 doc_o 1;
 #X obj 18 161 #join 2;
 #X obj 14 318 doc_cc 0;
 #X obj 14 379 doc_cc 1;
-#X obj 14 439 doc_ii 0;
-#X obj 14 574 doc_ii 1;
-#X obj 14 636 doc_oo 0;
+#X obj 14 489 doc_ii 0;
+#X obj 14 624 doc_ii 1;
+#X obj 14 686 doc_oo 0;
 #X obj 97 318 doc_m c0 float;
 #X obj 97 379 doc_m c1 grid;
-#X obj 97 439 doc_m i0;
+#X obj 97 489 doc_m i0;
 #X text 232 318 Which_dim is the number of the dimension by which the
 join will occur. For N-dimensional grids \, the dimensions are numbered
 from 0 to N-1. In addition \, negative numbers from -N to -1 may be
 used \, to which N will be added.;
-#X text 232 439 The left grid and right grid must have the same number
+#X text 232 489 The left grid and right grid must have the same number
 of elements in all dimensions except the one specified. The result
 will have the same number of elements in all dimensions except the
 one specified \, which will be the sum of the two corresponding one.
 ;
-#X text 232 513 For example \, joining a RGB picture Dim[y \, x \,
+#X text 232 563 For example \, joining a RGB picture Dim[y \, x \,
 3] and a greyscale picture Dim[y \, x \, 1] on dimension 2 (or -1)
 could make a RGBA picture Dim[y \, x \, 4] in which the greyscale image
 becomes the opacity channel.;
-#X obj 232 574 doc_same 1;
-#X obj 97 574 doc_m i1 grid;
-#X obj 97 636 doc_m o0 grid;
-#X obj 0 686 doc_f;
+#X obj 232 624 doc_same 1;
+#X obj 97 624 doc_m i1 grid;
+#X obj 97 686 doc_m o0 grid;
+#X obj 0 738 doc_f;
 #X msg 18 83 load r001.jpg;
 #X msg 211 78 load b001.jpg;
-#X obj 103 666 list append;
-#X text 234 381 grid to be appended to the left-inlet grid;
+#X obj 103 718 list append;
+#X text 232 379 grid to be appended to the left-inlet grid;
+#X text 232 401 default is 0 \, which is quite dumb \, as Dim() grids
+can't be joined. you should provide a grid on your own \, usually in
+the right inlet.;
 #X connect 0 0 33 0;
 #X connect 1 0 34 0;
 #X connect 5 0 6 0;
@@ -63,6 +66,8 @@
 #X connect 13 1 35 0;
 #X connect 17 0 10 0;
 #X connect 23 1 26 0;
+#X connect 24 1 37 0;
+#X connect 24 1 36 0;
 #X connect 25 1 27 0;
 #X connect 25 1 28 0;
 #X connect 30 1 29 0;

Modified: trunk/doc/flow_classes/#layer-help.pd
==============================================================================
--- trunk/doc/flow_classes/#layer-help.pd (original)
+++ trunk/doc/flow_classes/#layer-help.pd Tue May 11 22:22:29 2010
@@ -1,4 +1,4 @@
-#N canvas 686 0 632 512 10;
+#N canvas 648 0 632 552 10;
 #X text 176 92 opacity channel file;
 #X text 52 62 foreground file;
 #X text 383 83 background file;
@@ -16,23 +16,25 @@
 #X obj 19 206 #out window;
 #X obj 0 0 doc_h;
 #X obj 3 245 doc_c 0;
-#X obj 3 395 doc_o 1;
+#X obj 3 430 doc_o 1;
 #X obj 3 285 doc_i 2;
-#X obj 14 425 doc_oo 0;
+#X obj 14 460 doc_oo 0;
 #X obj 14 315 doc_ii 0;
 #X obj 14 350 doc_ii 1;
 #X text 232 315 An image that has an opacity channel. Will be used
 as foreground.;
 #X text 232 350 An image that has NO opacity channel. Will be used
 as background.;
-#X text 232 425 An image that has NO opacity channel. The opacity channel
+#X text 232 460 An image that has NO opacity channel. The opacity channel
 of the foreground image is used as weighting of how much either picture
 is seen in the result.;
 #X obj 19 128 #join -1;
 #X obj 97 315 doc_m i0 grid;
 #X obj 97 350 doc_m i1 grid;
-#X obj 97 425 doc_m o0 grid;
-#X obj 0 483 doc_f;
+#X obj 97 460 doc_m o0 grid;
+#X obj 0 518 doc_f;
+#X text 232 385 default is (1 1 3 #) \, which is useless. please supply
+an image.;
 #X connect 4 0 5 0;
 #X connect 5 0 6 0;
 #X connect 6 0 23 1;
@@ -44,4 +46,5 @@
 #X connect 23 0 11 0;
 #X connect 24 1 20 0;
 #X connect 25 1 21 0;
+#X connect 25 1 28 0;
 #X connect 26 1 22 0;



More information about the Gridflow-cvs mailing list