[Gridflow-cvs] [svn] commit: r4518 - in /trunk/doc/flow_classes: #line_to_polygon-help.pd #polygon_area-help.pd #polygon_comparator-help.pd #polygon_each_edge-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Oct 30 15:01:18 EDT 2009


Author: pboivin
Date: Fri Oct 30 15:01:17 2009
New Revision: 4518

Log:
new/modified help patches

Added:
    trunk/doc/flow_classes/#polygon_area-help.pd
Modified:
    trunk/doc/flow_classes/#line_to_polygon-help.pd
    trunk/doc/flow_classes/#polygon_comparator-help.pd
    trunk/doc/flow_classes/#polygon_each_edge-help.pd

Modified: trunk/doc/flow_classes/#line_to_polygon-help.pd
==============================================================================
--- trunk/doc/flow_classes/#line_to_polygon-help.pd (original)
+++ trunk/doc/flow_classes/#line_to_polygon-help.pd Fri Oct 30 15:01:17 2009
@@ -1,21 +1,40 @@
-#N canvas 184 260 568 376 10;
-#X obj 51 86 #draw_polygon put (255 255 255);
-#X obj 51 105 #out window;
-#X msg 51 67 240 320 3 #;
-#X obj 279 95 display;
-#X msg 263 48 2 2 # 10 10 229 309;
-#X obj 263 67 #line_to_polygon 4;
+#N canvas 623 73 568 544 10;
+#X obj 43 180 #draw_polygon put (255 255 255);
+#X obj 43 239 #out window;
+#X msg 43 161 240 320 3 #;
+#X obj 256 167 display;
+#X msg 125 102 2 2 # 10 10 229 309;
+#X obj 125 121 #line_to_polygon 4;
 #X obj 0 0 doc_h;
-#X obj 3 147 doc_c 1;
-#X obj 3 207 doc_i 2;
-#X obj 3 287 doc_o 1;
-#X obj 14 317 doc_oo 0;
-#X obj 14 237 doc_ii 0;
-#X obj 14 257 doc_ii 1;
-#X obj 14 177 doc_cc 0;
-#X obj 0 347 doc_f;
+#X obj 3 286 doc_c 1;
+#X obj 3 352 doc_i 2;
+#X obj 3 444 doc_o 1;
+#X obj 14 474 doc_oo 0;
+#X obj 14 382 doc_ii 0;
+#X obj 14 413 doc_ii 1;
+#X obj 14 316 doc_cc 0;
+#X obj 0 505 doc_f;
+#X obj 43 73 t b b;
+#X obj 43 46 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1 -1
+;
+#X obj 97 316 doc_m c0 float;
+#X text 200 316 Line width.;
+#X obj 97 392 doc_m i0 grid;
+#X obj 97 413 doc_m i1 float;
+#X text 200 413 Line width (same as argument 0);
+#X obj 97 474 doc_m o0;
+#X text 200 392 Grid containing a pair of coordinates.;
+#X text 200 474 Grid representing the verticles of the resulting polygon.
+;
 #X connect 0 0 1 0;
 #X connect 2 0 0 0;
 #X connect 4 0 5 0;
 #X connect 5 0 0 2;
 #X connect 5 0 3 0;
+#X connect 15 0 2 0;
+#X connect 15 1 4 0;
+#X connect 16 0 15 0;
+#X connect 17 1 18 0;
+#X connect 19 1 23 0;
+#X connect 20 1 21 0;
+#X connect 22 1 24 0;

Modified: trunk/doc/flow_classes/#polygon_comparator-help.pd
==============================================================================
--- trunk/doc/flow_classes/#polygon_comparator-help.pd (original)
+++ trunk/doc/flow_classes/#polygon_comparator-help.pd Fri Oct 30 15:01:17 2009
@@ -1,45 +1,44 @@
-#N canvas 271 133 568 683 10;
-#X obj 292 148 #outer + (0 9000);
-#X text 303 92 make regular triangle;
-#X obj 292 246 #rotate;
-#X obj 246 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+#N canvas 566 0 553 609 10;
+#X obj 255 129 #outer + (0 9000);
+#X text 333 91 make regular triangle;
+#X obj 255 227 #rotate;
+#X obj 209 53 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
 ;
-#X obj 345 246 * 100;
-#X floatatom 345 230 5 0 0 0 - - -;
-#X obj 305 91 t b b;
-#X obj 292 265 #polygon_comparator;
-#X obj 246 91 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 308 227 * 100;
+#X floatatom 308 211 5 0 0 0 - - -;
+#X obj 268 72 t b b;
+#X obj 255 246 #polygon_comparator;
+#X obj 209 72 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
 -1;
-#X obj 292 205 #t;
-#X obj 265 72 metro 1000;
-#X text 71 201 BUG: first try doesn't work;
-#X text 108 212 please bang twice;
-#X msg 403 136 4 2 # 1 1 1 -1 -1 -1 -1 1;
-#X obj 413 182 display;
-#X obj 292 129 # * 12000;
-#X obj 292 110 #for 0 3 1;
-#X obj 403 156 # * (100 100);
-#X obj 292 186 # + (0 0);
-#X obj 292 167 # cos* (100 100);
-#X obj 252 297 #fold min;
-#X obj 332 297 #fold max;
-#X obj 252 316 #export;
-#X obj 332 316 #export;
-#X obj 404 115 loadbang;
-#X obj 252 335 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9
+#X obj 255 186 #t;
+#X obj 228 53 metro 1000;
+#X text 30 254 BUG: first try doesn't work;
+#X text 67 265 please bang twice;
+#X msg 381 149 4 2 # 1 1 1 -1 -1 -1 -1 1;
+#X obj 391 195 display;
+#X obj 255 110 # * 12000;
+#X obj 255 91 #for 0 3 1;
+#X obj 381 169 # * (100 100);
+#X obj 255 167 # + (0 0);
+#X obj 255 148 # cos* (100 100);
+#X obj 215 278 #fold min;
+#X obj 295 278 #fold max;
+#X obj 215 297 #export;
+#X obj 295 297 #export;
+#X obj 381 129 loadbang;
+#X obj 215 316 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9
 -262144 -1 -1 0 256;
-#X obj 332 335 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9
+#X obj 295 316 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9
 -262144 -1 -1 0 256;
-#X text 200 453 or method "precision" for setting the size of the output
+#X text 200 452 or method "precision" for setting the size of the output
 grid.;
-#X text 200 510 in which the peak represents the amount of similarity
+#X text 200 509 in which the peak represents the amount of similarity
 between the two polygons \, and the position of the peak represents
 the optimal rotation for maximum overlapping of the polygons. The rotation
 origin is assumed to be the centroid (#moment 1);
-#X text 64 185 NOTE: requires [#fft];
-#X text 7 72 translations \, e.g. [# +];
-#X text 7 90 rotations \, e.g. [#rotate];
-#X text 7 108 scalar scalings \, e.g. [# *] with only one value.;
+#X text 24 239 NOTE: requires [#fft];
+#X text 33 150 translations \, e.g. [# +];
+#X text 33 168 rotations \, e.g. [#rotate];
 #X obj 0 0 doc_h;
 #X obj 3 361 doc_c;
 #X obj 3 401 doc_i 2;
@@ -52,8 +51,10 @@
 #X obj 0 654 doc_f;
 #X obj 97 431 doc_m i0 grid;
 #X obj 97 488 doc_m i1;
-#X text 2 38 Comparisons are meant to be invariant to the following
-transformations:;
+#X text 8 114 Comparisons are meant to be invariant;
+#X text 8 126 to the following transformations:;
+#X text 33 186 scalar scalings \, e.g. [# *] with;
+#X text 33 198 only one value.;
 #X connect 0 0 19 0;
 #X connect 2 0 7 0;
 #X connect 3 0 10 0;
@@ -77,7 +78,7 @@
 #X connect 22 0 25 0;
 #X connect 23 0 26 0;
 #X connect 24 0 13 0;
-#X connect 43 1 38 0;
-#X connect 43 1 27 0;
-#X connect 44 1 37 0;
-#X connect 44 1 28 0;
+#X connect 42 1 37 0;
+#X connect 42 1 27 0;
+#X connect 43 1 36 0;
+#X connect 43 1 28 0;

Modified: trunk/doc/flow_classes/#polygon_each_edge-help.pd
==============================================================================
--- trunk/doc/flow_classes/#polygon_each_edge-help.pd (original)
+++ trunk/doc/flow_classes/#polygon_each_edge-help.pd Fri Oct 30 15:01:17 2009
@@ -1,19 +1,22 @@
-#N canvas 502 236 568 359 10;
-#X text 200 65 very small square;
-#X text 154 98 enumerate edges;
-#X obj 21 139 #print;
-#X text 32 118 each edge is a vertex pair;
-#X text 201 52 example polygon:;
-#X obj 40 70 # +;
-#X msg 24 40 4 2 # 0 0 1 1 1 1 1 0;
-#X obj 21 96 #polygon_each_edge;
+#N canvas 338 225 553 360 10;
+#X obj 51 139 #print;
+#X obj 51 83 # +;
+#X obj 51 102 #polygon_each_edge;
 #X obj 0 0 doc_h;
 #X obj 3 170 doc_c;
 #X obj 3 210 doc_i 1;
-#X obj 3 270 doc_o 1;
-#X obj 14 300 doc_oo 0;
+#X obj 3 273 doc_o 1;
+#X obj 14 303 doc_oo 0;
 #X obj 14 240 doc_ii 0;
-#X obj 0 330 doc_f;
-#X connect 5 0 7 0;
-#X connect 6 0 5 0;
-#X connect 7 0 2 0;
+#X obj 0 346 doc_f;
+#X msg 51 48 4 2 # 0 0 0 20 20 20 20 0;
+#X obj 97 240 doc_m i0 grid;
+#X obj 97 303 doc_m o0 grid;
+#X text 200 240 Vertices of the polygon;
+#X text 200 303 Returns a grid contaning a vertex pair for each edge
+of the polygon.;
+#X connect 1 0 2 0;
+#X connect 2 0 0 0;
+#X connect 10 0 1 0;
+#X connect 11 1 13 0;
+#X connect 12 1 14 0;



More information about the Gridflow-cvs mailing list