From ccddec68116fc6403858ebfa13d4a7b1aa3d5278 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sun, 18 Oct 2009 20:01:19 +0000 Subject: hi gridflow 0.9.5 svn path=/trunk/; revision=12611 --- .../doc/flow_classes/#polygon_comparator-help.pd | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 externals/gridflow/doc/flow_classes/#polygon_comparator-help.pd (limited to 'externals/gridflow/doc/flow_classes/#polygon_comparator-help.pd') diff --git a/externals/gridflow/doc/flow_classes/#polygon_comparator-help.pd b/externals/gridflow/doc/flow_classes/#polygon_comparator-help.pd new file mode 100644 index 00000000..cdb35df8 --- /dev/null +++ b/externals/gridflow/doc/flow_classes/#polygon_comparator-help.pd @@ -0,0 +1,69 @@ +#N canvas 271 133 749 424 10; +#X obj 422 218 #outer + (0 9000); +#X text 430 162 make regular triangle; +#X obj 422 316 #rotate; +#X obj 374 142 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 475 316 * 100; +#X floatatom 475 300 5 0 0 0 - - -; +#X obj 392 161 t b b; +#X obj 422 335 #polygon_comparator; +#X obj 373 161 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 422 275 #t; +#X obj 393 142 metro 1000; +#X text 32 364 BUG: first try doesn't work; +#X text 69 375 please bang twice; +#X msg 556 206 4 2 # 1 1 1 -1 -1 -1 -1 1; +#X obj 597 252 display; +#X obj 422 199 # * 12000; +#X obj 422 180 #for 0 3 1; +#X obj 556 226 # * (100 100); +#X obj 422 256 # + (0 0); +#X obj 422 237 # cos* (100 100); +#X obj 382 367 #fold min; +#X obj 462 367 #fold max; +#X obj 382 386 #export; +#X obj 462 386 #export; +#X obj 557 185 loadbang; +#X obj 382 405 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9 +-262144 -1 -1 0 256; +#X obj 462 405 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 9 +-262144 -1 -1 0 256; +#X text 11 66 inlet 1: a 2-D polygon as N by 2 grid; +#X text 11 16 inlet 0: a 2-D polygon as N by 2 grid; +#X text 74 30 or method "precision" for setting the size of the output +grid.; +#X text 73 80 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 25 348 NOTE: requires [#fft]; +#X text 8 179 Comparisons are supposed to be invariant to the following +transformation:; +#X text 33 213 translations \, e.g. [# +]; +#X text 33 231 rotations \, e.g. [#rotate]; +#X text 33 249 scalar scalings \, e.g. [# *] with only one value.; +#X connect 0 0 19 0; +#X connect 2 0 7 0; +#X connect 3 0 10 0; +#X connect 4 0 2 1; +#X connect 5 0 4 0; +#X connect 6 1 16 0; +#X connect 7 0 20 0; +#X connect 7 0 21 0; +#X connect 8 0 6 0; +#X connect 9 0 2 0; +#X connect 10 0 6 0; +#X connect 13 0 17 0; +#X connect 15 0 0 0; +#X connect 16 0 15 0; +#X connect 17 0 14 0; +#X connect 17 0 7 1; +#X connect 18 0 9 0; +#X connect 19 0 18 0; +#X connect 20 0 22 0; +#X connect 21 0 23 0; +#X connect 22 0 25 0; +#X connect 23 0 26 0; +#X connect 24 0 13 0; -- cgit v1.2.1