[Gridflow-cvs] [svn] commit: r5719 - in /trunk/doc/flow_classes: #inner-help.pd #rotatificator-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Jul 15 00:45:14 EDT 2010


Author: matju
Date: Thu Jul 15 00:45:13 2010
New Revision: 5719

Log:
...

Modified:
    trunk/doc/flow_classes/#inner-help.pd
    trunk/doc/flow_classes/#rotatificator-help.pd

Modified: trunk/doc/flow_classes/#inner-help.pd
==============================================================================
--- trunk/doc/flow_classes/#inner-help.pd (original)
+++ trunk/doc/flow_classes/#inner-help.pd Thu Jul 15 00:45:13 2010
@@ -1,48 +1,72 @@
-#N canvas 666 0 632 642 10;
+#N canvas 596 0 632 642 10;
 #X obj 0 0 doc_h;
-#X obj 3 158 doc_c 1;
-#X obj 3 218 doc_i 2;
-#X obj 3 560 doc_o 1;
-#X obj 14 188 doc_cc 0;
-#X obj 14 248 doc_ii 0;
-#X obj 14 528 doc_ii 1;
-#X obj 14 590 doc_oo 0;
-#X text 232 248 Splits the Dim(anyA... \, lastA) left-hand grid into
+#X obj 3 413 doc_c 1;
+#X obj 3 477 doc_i 2;
+#X obj 3 823 doc_o 1;
+#X obj 14 445 doc_cc 0;
+#X obj 14 509 doc_ii 0;
+#X obj 14 791 doc_ii 1;
+#X obj 14 853 doc_oo 0;
+#X text 232 509 Splits the Dim(anyA... \, lastA) left-hand grid into
 Dim(anyA...) pieces of Dim(lastA) size.;
-#X text 232 283 Splits the Dim(firstB \, anyB...) right-hand grid into
+#X text 232 544 Splits the Dim(firstB \, anyB...) right-hand grid into
 Dim(anyB...) pieces of Dim(firstB) size.;
-#X text 232 318 On every piece pair \, does [#] using the specified
+#X text 232 579 On every piece pair \, does [#] using the specified
 op_para operation \, followed by a [#fold] using the specified op_fold
 operator and base value.;
-#X text 232 366 creates a Dim(anyA... \, anyB...) grid by assembling
+#X text 232 627 creates a Dim(anyA... \, anyB...) grid by assembling
 all the results together.;
-#X text 232 401 (note: lastA must be equal to firstB.);
-#X obj 232 528 doc_same 0;
-#X text 232 471 the operation that combines the values from the two
+#X text 232 662 (note: lastA must be equal to firstB.);
+#X obj 232 791 doc_same 0;
+#X text 232 732 the operation that combines the values from the two
 grids together. this defaults to "*" (as in the matrix product);
-#X text 232 423 the operation that combines the result of the "op"
+#X text 232 684 the operation that combines the result of the "op"
 operations together. this defaults to "+" (as in the matrix product)
 ;
-#X text 232 506 the base value for the fold;
-#X obj 0 640 doc_f;
-#X obj 97 248 doc_m i0 grid;
-#X obj 97 188 doc_m c0 grid;
-#X obj 97 471 doc_m i0 op;
-#X obj 97 506 doc_m i0 seed;
-#X obj 97 528 doc_m i1 grid;
-#X obj 97 590 doc_m o0 grid;
-#X obj 97 423 doc_m i0 fold;
-#X obj 3 620 doc_also;
-#X obj 103 620 #outer *;
-#X obj 163 620 #fold +;
+#X text 232 767 the base value for the fold;
+#X obj 0 905 doc_f;
+#X obj 97 509 doc_m i0 grid;
+#X obj 97 445 doc_m c0 grid;
+#X obj 97 732 doc_m i0 op;
+#X obj 97 767 doc_m i0 seed;
+#X obj 97 791 doc_m i1 grid;
+#X obj 97 853 doc_m o0 grid;
+#X obj 97 684 doc_m i0 fold;
+#X obj 3 885 doc_also;
+#X obj 103 885 #outer *;
+#X obj 163 885 #fold +;
 #X obj 62 89 #inner;
-#X text 160 48 think of this one as a special combination of [#outer]
+#X text 178 36 think of this one as a special combination of [#outer]
 \, [#] and [#fold]. this is one of the most complex operations. It
 is very useful for performing linear transforms like rotations \, scalings
 \, shearings \, and some kinds of color remappings. A linear transform
 is done by something called matrix multiplication \, which happens
 to be [#inner]. [#inner] also does dot product and other funny operations.
 ;
+#X obj 14 445 doc_cc 0;
+#X obj 14 509 doc_ii 0;
+#X obj 14 791 doc_ii 1;
+#X obj 14 853 doc_oo 0;
+#X obj 54 274 #inner;
+#X obj 277 263 #many nbx 3 3 14 54;
+#X obj 97 323 #many nbx 3 3 14 54;
+#X obj 277 323 #many nbx 3 3 14 54;
+#X text 116 378 11*11 + 4*6 + 9*10 = 121+24+90 = 235;
+#X text 117 392 1*8 + 5*3 + 0*10 = 8+15+0 = 23;
+#X obj 97 208 loadbang;
+#X text 97 225;
+#X obj 97 227 t b b;
+#X msg 97 246 3 3 # 11 4 9 0 0 0 1 5 0;
+#X msg 277 244 3 3 # 11 8 0 6 3 0 10 10 0;
+#X obj 291 163 for 0 3 1;
+#X msg 291 220 to \$1 0 color 15 \, to \$1 1 color 16;
+#X msg 300 189 to 0 \$1 color 15 \, to 2 \$1 color 16;
+#X obj 289 138 loadbang;
+#X msg 365 155 to 0 0 color 15 \, to 2 1 color 16;
+#X obj 103 381 cnv 12 12 12 empty empty empty 20 12 0 14 -241291 -262144
+0;
+#X obj 103 396 cnv 12 12 12 empty a empty 20 12 0 14 -24198 -262144
+0;
 #X connect 18 1 8 0;
 #X connect 18 1 9 0;
 #X connect 18 1 10 0;
@@ -54,3 +78,18 @@
 #X connect 24 1 15 0;
 #X connect 25 1 26 0;
 #X connect 25 1 27 0;
+#X connect 34 0 37 0;
+#X connect 35 0 34 1;
+#X connect 36 0 34 0;
+#X connect 40 0 42 0;
+#X connect 42 0 43 0;
+#X connect 42 1 44 0;
+#X connect 43 0 36 0;
+#X connect 44 0 35 0;
+#X connect 45 0 46 0;
+#X connect 45 0 47 0;
+#X connect 46 0 35 0;
+#X connect 47 0 36 0;
+#X connect 48 0 45 0;
+#X connect 48 0 49 0;
+#X connect 49 0 37 0;

Modified: trunk/doc/flow_classes/#rotatificator-help.pd
==============================================================================
--- trunk/doc/flow_classes/#rotatificator-help.pd (original)
+++ trunk/doc/flow_classes/#rotatificator-help.pd Thu Jul 15 00:45:13 2010
@@ -1,50 +1,71 @@
-#N canvas 604 245 632 581 10;
+#N canvas 604 0 632 602 10;
 #X obj 0 0 doc_h;
-#X obj 0 552 doc_f;
-#X obj 20 64 #rotatificator;
+#X obj 0 568 doc_f;
 #X text 191 138 named in honour of Laszlo Zlotz (a character from Achille
 Talon);
-#X obj 3 532 doc_also;
-#X obj 103 532 #rotate;
-#X obj 3 286 doc_i 2;
-#X obj 3 418 doc_o 1;
-#X obj 14 448 doc_oo 0;
-#X obj 14 316 doc_ii 0;
-#X obj 14 386 doc_ii 1;
-#X obj 97 316 doc_m i0 float;
-#X obj 97 338 doc_m i0 axis;
-#X obj 3 180 doc_c 3;
-#X obj 14 210 doc_cc 0;
-#X obj 14 232 doc_cc 1;
-#X obj 14 254 doc_cc 2;
-#X obj 97 448 doc_m o0 grid;
-#X obj 97 386 doc_m i1;
-#X obj 97 210 doc_m c0 float/int;
-#X obj 97 232 doc_m c1 float/int;
-#X obj 97 254 doc_m c2 float/int;
-#X text 232 210 from;
-#X text 232 232 to;
-#X text 232 254 n;
-#X text 232 338 \$1=from (default:0) \; \$2=to (default: 1) \; \$3=n
+#X obj 3 548 doc_also;
+#X obj 103 548 #rotate;
+#X obj 3 298 doc_i 2;
+#X obj 3 434 doc_o 1;
+#X obj 14 464 doc_oo 0;
+#X obj 14 330 doc_ii 0;
+#X obj 14 402 doc_ii 1;
+#X obj 97 330 doc_m i0 float;
+#X obj 97 352 doc_m i0 axis;
+#X obj 3 186 doc_c 3;
+#X obj 14 218 doc_cc 0;
+#X obj 14 242 doc_cc 1;
+#X obj 14 266 doc_cc 2;
+#X obj 97 464 doc_m o0 grid;
+#X obj 97 402 doc_m i1;
+#X obj 97 218 doc_m c0 float/int;
+#X obj 97 242 doc_m c1 float/int;
+#X obj 97 266 doc_m c2 float/int;
+#X text 232 218 from;
+#X text 232 242 to;
+#X text 232 266 n;
+#X text 232 352 \$1=from (default:0) \; \$2=to (default: 1) \; \$3=n
 (default: 2);
-#X text 232 386 angle;
-#X text 232 316 scale;
+#X text 232 402 angle;
+#X text 232 330 scale;
 #X text 192 44 generates a N by N rotation matrix that rotates through
 two dimensions of your choice (from \, to) by a certain angle (in centidegrees).
 values produced are integers. the rotation matrix is multiplied by
 the given scale factor such that after an eventual [#inner] \, a division
 by the same amount would be performed. greater scale factors are more
 precise.;
-#X text 232 448 rotation matrix such that if rows 'from' and 'to' were
+#X text 232 464 rotation matrix such that if rows 'from' and 'to' were
 deleted and columns 'from' and 'to' were deleted \, you'd have an identity
 matrix. in other words \, the rotation happens in a plane space made
 of the two dimensions represented by those two rows and two columns.
 ;
-#X connect 4 1 5 0;
-#X connect 11 1 27 0;
-#X connect 12 1 25 0;
-#X connect 17 1 29 0;
-#X connect 18 1 26 0;
+#X obj 14 330 doc_ii 0;
+#X obj 14 402 doc_ii 1;
+#X obj 14 464 doc_oo 0;
+#X obj 14 218 doc_cc 0;
+#X obj 14 242 doc_cc 1;
+#X obj 14 266 doc_cc 2;
+#X obj 14 124 display;
+#X obj 14 105 #rotatificator 1 2 3;
+#X msg 14 68 256;
+#X msg 131 66 3000;
+#X floatatom 131 85 5 0 0 0 - - -;
+#X floatatom 14 87 5 0 0 0 - - -;
+#X obj 14 49 t b b;
+#X obj 14 30 loadbang;
+#X connect 3 1 4 0;
+#X connect 10 1 26 0;
+#X connect 11 1 24 0;
+#X connect 16 1 28 0;
+#X connect 17 1 25 0;
+#X connect 18 1 21 0;
 #X connect 19 1 22 0;
 #X connect 20 1 23 0;
-#X connect 21 1 24 0;
+#X connect 36 0 35 0;
+#X connect 37 0 40 0;
+#X connect 38 0 39 0;
+#X connect 39 0 36 1;
+#X connect 40 0 36 0;
+#X connect 41 0 37 0;
+#X connect 41 1 38 0;
+#X connect 42 0 41 0;



More information about the Gridflow-cvs mailing list