From 5a6bee4fe076e06514c6e4e538590dd3a2a5cdc3 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 6 Nov 2009 18:37:00 +0000 Subject: upgrade gridflow svn path=/trunk/; revision=12728 --- externals/gridflow/doc/flow_classes/#join-help.pd | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 externals/gridflow/doc/flow_classes/#join-help.pd (limited to 'externals/gridflow/doc/flow_classes/#join-help.pd') diff --git a/externals/gridflow/doc/flow_classes/#join-help.pd b/externals/gridflow/doc/flow_classes/#join-help.pd new file mode 100644 index 00000000..10e71f1c --- /dev/null +++ b/externals/gridflow/doc/flow_classes/#join-help.pd @@ -0,0 +1,72 @@ +#N canvas 648 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 +-1; +#X text 174 228 the left grid and right grid must have the same number +of elements in all dimensions except the one specified \, which will +be the sum of the two corresponding; +#X text 244 39 1 <--; +#X text 45 41 2 <--; +#X obj 18 222 #clip; +#X obj 18 241 #out window; +#X obj 18 106 #in; +#X obj 211 125 #rgb_to_greyscale; +#X obj 211 106 #in; +#X obj 18 188 #perspective 128; +#X text 175 160 creation argument is the index 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 obj 0 0 doc_h; +#X obj 3 666 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 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 97 318 doc_m c0 float; +#X obj 97 379 doc_m c1 grid; +#X obj 97 439 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 +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 \, +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 text 232 574 same as arg 1; +#X obj 97 574 doc_m i1 grid; +#X obj 97 636 doc_m o0 grid; +#X obj 0 686 doc_f; +#X msg 18 83 load r001.jpg; +#X msg 211 78 load b001.jpg; +#X obj 103 666 listappend; +#X obj 175 666 list append; +#X text 234 381 grid to be appended to the left-inlet grid; +#X connect 0 0 33 0; +#X connect 1 0 34 0; +#X connect 5 0 6 0; +#X connect 7 0 17 0; +#X connect 8 0 17 1; +#X connect 9 0 8 0; +#X connect 10 0 5 0; +#X connect 13 1 35 0; +#X connect 13 1 36 0; +#X connect 17 0 10 0; +#X connect 23 1 26 0; +#X connect 25 1 27 0; +#X connect 25 1 28 0; +#X connect 30 1 29 0; +#X connect 33 0 7 0; +#X connect 34 0 9 0; -- cgit v1.2.1