[Gridflow-cvs] [svn] commit: r6639 - in /trunk/doc/flow_classes: #polygon_perimetre-help.pd #to_float-help.pd #to_iem-help.pd #to_literal-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Feb 20 12:01:46 EST 2011


Author: matju
Date: Sun Feb 20 12:01:45 2011
New Revision: 6639

Log:
...

Modified:
    trunk/doc/flow_classes/#polygon_perimetre-help.pd
    trunk/doc/flow_classes/#to_float-help.pd
    trunk/doc/flow_classes/#to_iem-help.pd
    trunk/doc/flow_classes/#to_literal-help.pd

Modified: trunk/doc/flow_classes/#polygon_perimetre-help.pd
==============================================================================
--- trunk/doc/flow_classes/#polygon_perimetre-help.pd (original)
+++ trunk/doc/flow_classes/#polygon_perimetre-help.pd Sun Feb 20 12:01:45 2011
@@ -1,23 +1,31 @@
-#N canvas 335 118 632 342 10;
+#N canvas 335 118 632 360 10;
 #X obj 0 0 doc_h;
-#X obj 0 313 doc_f;
-#X obj 47 64 #polygon_perimetre;
+#X obj 0 326 doc_f;
+#X obj 17 64 #polygon_perimetre;
 #X obj 3 129 doc_c 0;
 #X obj 3 169 doc_i 1;
-#X obj 3 231 doc_o 1;
-#X obj 14 261 doc_oo 0;
+#X obj 3 244 doc_o 1;
+#X obj 14 274 doc_oo 0;
 #X obj 14 199 doc_ii 0;
-#X obj 97 261 doc_m o0 grid;
+#X obj 97 274 doc_m o0 grid;
 #X obj 97 199 doc_m i0 grid;
-#X text 232 261 perimetre as grid[];
-#X text 232 199 polygon as grid[N \, 2] or any cyclic path as grid[N
-\, M];
+#X text 232 274 perimetre as grid[];
 #X text 187 44 finds the perimetre of a sequence of points in which
 the last point is assumed to connect back to the first point. this
 not need be an actual polygon (because points don't need to be coplanar
 for this calculation to work).;
-#X obj 3 293 doc_also;
-#X obj 103 293 #polygon_area;
+#X obj 3 306 doc_also;
+#X obj 103 306 #polygon_area;
+#X obj 193 306 #polygon_moment;
+#X text 232 199 polygon as grid[N \, 2] or any cyclic path as grid[N
+\, M];
+#X msg 17 45 4 2 # 0 -100 0 100 173 0;
+#X obj 17 83 display;
+#X obj 295 306 #polygon_each_edge;
+#X connect 2 0 17 0;
 #X connect 8 1 10 0;
-#X connect 9 1 11 0;
-#X connect 13 1 14 0;
+#X connect 9 1 15 0;
+#X connect 12 1 13 0;
+#X connect 12 1 14 0;
+#X connect 12 1 18 0;
+#X connect 16 0 2 0;

Modified: trunk/doc/flow_classes/#to_float-help.pd
==============================================================================
--- trunk/doc/flow_classes/#to_float-help.pd (original)
+++ trunk/doc/flow_classes/#to_float-help.pd Sun Feb 20 12:01:45 2011
@@ -1,4 +1,4 @@
-#N canvas 678 0 632 446 10;
+#N canvas 678 0 632 471 10;
 #X obj 15 188 cnv 15 55 17 empty empty empty 20 12 0 14 -241291 -66577
 0;
 #X obj 39 135 display;
@@ -17,13 +17,18 @@
 #X obj 3 342 doc_o 1;
 #X obj 97 310 doc_m i0 grid;
 #X obj 97 372 doc_m o0 float;
-#X obj 0 417 doc_f;
+#X obj 0 437 doc_f;
 #X text 232 310 content to be finely chopped;
 #X text 232 372 a sequence of floats that the incoming grid is transformed
 into. they are output in normal grid order.;
+#X obj 3 417 doc_also;
+#X text 515 53 aliased to;
+#X obj 528 71 #to_f;
+#X obj 103 417 #to_list;
 #X connect 2 0 7 0;
 #X connect 4 0 6 0;
 #X connect 7 0 1 0;
 #X connect 7 0 4 0;
 #X connect 14 1 17 0;
 #X connect 15 1 18 0;
+#X connect 19 1 22 0;

Modified: trunk/doc/flow_classes/#to_iem-help.pd
==============================================================================
--- trunk/doc/flow_classes/#to_iem-help.pd (original)
+++ trunk/doc/flow_classes/#to_iem-help.pd Sun Feb 20 12:01:45 2011
@@ -1,6 +1,6 @@
-#N canvas 181 93 632 571 10;
+#N canvas 181 93 632 622 10;
 #X obj 0 0 doc_h;
-#X obj 0 542 doc_f;
+#X obj 0 588 doc_f;
 #X obj 111 212 tgl 50 0 empty empty empty 17 7 0 10 -70545 -1 -262144
 0 1;
 #X obj 111 94 #color;
@@ -8,40 +8,48 @@
 #X text 27 39 Turns colours into floats suitable for feeding to iemguis
 (24-bit or 18-bit);
 #X obj 209 193 nbx 15 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0
-10 -262144 -1 -1 -4.53664e+06 256;
+10 -262144 -1 -1 0 256;
 #X obj 3 282 doc_c 1;
 #X obj 14 312 doc_cc 0;
 #X obj 97 312 doc_m c0 float;
 #X text 232 312 Mode (0 = 24-bit \, 1 = 18-bit);
-#X text 232 334 When used with the 'color' selector as shown in the
-above example \, you must use 24-bit mode. However \, if you are creating
-gui-objects dynamically \, make sure you are using 18-bit instead.
-;
 #X obj 375 179 #to_iem 1;
 #X obj 375 199 nbx 15 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0
-10 -262144 -1 -1 -70545 256;
+10 -262144 -1 -1 0 256;
 #X obj 111 162 #to_iem;
 #X text 218 210 can't be saved in;
 #X text 218 222 a pd patch...;
 #X text 388 215 this can;
 #X obj 3 405 doc_i 1;
-#X obj 3 467 doc_o 1;
+#X obj 3 493 doc_o 1;
 #X obj 14 435 doc_ii 0;
-#X obj 14 497 doc_oo 0;
+#X obj 14 523 doc_oo 0;
 #X obj 97 435 doc_m i0 grid;
-#X obj 97 497 doc_m o0 list;
+#X obj 97 523 doc_m o0 list;
 #X text 64 260 this is a toggle aka [tgl];
-#X text 232 497 List of N elements representing a color value suitable
+#X text 232 523 List of N elements representing a color value suitable
 for an iem gui-object.;
-#X text 232 435 Dim(N*3) or Dim(N \, 3) grid representing a RGB colour
-;
-#X connect 3 0 12 0;
-#X connect 3 0 14 0;
+#X obj 3 568 doc_also;
+#X obj 103 568 doc_link tgl;
+#X obj 151 568 doc_link bng;
+#X text 199 568 etcætera;
+#X text 232 435 Dim(N*3) or Dim(N \, 3) grid representing one or several
+RGB colours. Thus you can convert several colours at once \, or just
+one (as in the above example).;
+#X text 232 334 When used with the 'color' selector as shown in the
+above example \, you must use 24-bit mode. However \, if you are creating
+gui-objects dynamically (or writing .pd files using [textfile]) \,
+make sure you are using 18-bit instead.;
+#X connect 3 0 11 0;
+#X connect 3 0 13 0;
 #X connect 4 0 2 0;
 #X connect 9 1 10 0;
-#X connect 9 1 11 0;
-#X connect 12 0 13 0;
-#X connect 14 0 4 0;
-#X connect 14 0 6 0;
-#X connect 22 1 26 0;
-#X connect 23 1 25 0;
+#X connect 9 1 30 0;
+#X connect 11 0 12 0;
+#X connect 13 0 4 0;
+#X connect 13 0 6 0;
+#X connect 21 1 29 0;
+#X connect 22 1 24 0;
+#X connect 25 1 26 0;
+#X connect 25 1 27 0;
+#X connect 25 1 28 0;

Modified: trunk/doc/flow_classes/#to_literal-help.pd
==============================================================================
--- trunk/doc/flow_classes/#to_literal-help.pd (original)
+++ trunk/doc/flow_classes/#to_literal-help.pd Sun Feb 20 12:01:45 2011
@@ -1,6 +1,6 @@
-#N canvas 556 102 632 540 10;
+#N canvas 556 102 632 578 10;
 #X obj 0 0 doc_h;
-#X obj 0 511 doc_f;
+#X obj 0 544 doc_f;
 #X obj 96 289 #to_literal;
 #X obj 102 312 display;
 #X obj 3 347 doc_c 0;
@@ -15,20 +15,28 @@
 #X obj 102 224 display;
 #X msg 96 123 3 3 # 2 3 5 7 11 13 17 19 23;
 #X obj 97 479 doc_m o0 list;
-#X text 232 479 grid literal;
 #X msg 118 62 3 2 f # 0.1 0.333333 2.71828 3.14159 1.4142 1.61803;
 #X obj 118 103 # + (f #);
 #X obj 96 201 t a;
 #X obj 124 83 display;
 #X text 232 417 any grid;
+#X obj 3 524 doc_also;
+#X text 232 479 grid literal that will be converted back to the same
+thing as the input grid as soon as it goes into a grid-inlet.;
+#X obj 103 524 #import;
+#X obj 157 524 #to_list;
+#X obj 118 43 loadbang;
 #X connect 2 0 3 0;
-#X connect 9 1 21 0;
-#X connect 11 0 19 0;
+#X connect 9 1 20 0;
+#X connect 11 0 18 0;
 #X connect 14 0 10 0;
 #X connect 14 0 11 0;
-#X connect 15 1 16 0;
+#X connect 15 1 22 0;
+#X connect 16 0 17 0;
+#X connect 16 0 19 0;
 #X connect 17 0 18 0;
-#X connect 17 0 20 0;
-#X connect 18 0 19 0;
-#X connect 19 0 13 0;
-#X connect 19 0 2 0;
+#X connect 18 0 13 0;
+#X connect 18 0 2 0;
+#X connect 21 1 23 0;
+#X connect 21 1 24 0;
+#X connect 25 0 16 0;



More information about the Gridflow-cvs mailing list