[Gridflow-cvs] [svn] commit: r3938 - /trunk/doc/flow_classes/#moment-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 25 14:19:02 EDT 2008


Author: matju
Date: Wed Jun 25 14:19:01 2008
New Revision: 3938

Log:
use [#draw_polygon] instead of generating an ellipse the long hard way

Modified:
    trunk/doc/flow_classes/#moment-help.pd

Modified: trunk/doc/flow_classes/#moment-help.pd
==============================================================================
--- trunk/doc/flow_classes/#moment-help.pd (original)
+++ trunk/doc/flow_classes/#moment-help.pd Wed Jun 25 14:19:01 2008
@@ -1,49 +1,47 @@
-#N canvas 429 121 644 600 10;
-#X obj 19 24 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
-;
+#N canvas 576 46 644 643 10;
+#X obj 19 24 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
 #X msg 234 28 4 2 # 1 1 1 -1 -1 -1 -1 1;
 #X obj 111 207 display;
 #X obj 36 232 display;
 #X obj 234 66 #rotate;
 #X obj 288 56 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 -295 256;
+-241291 -1 -1 -1839 256;
 #X obj 288 72 * 100;
 #X obj 19 378 #for (0 0) (240 320) (1 1);
 #X obj 18 435 #inner;
-#X obj 18 568 #out window;
+#X obj 18 587 #out window;
 #X obj 18 473 #fold +;
 #X obj 18 511 #outer * (255);
-#X obj 61 157 #t;
+#X obj 41 162 #t;
 #X obj 110 187 #moment;
 #X obj 110 549 #inner (1 3 # 1 0 0);
 #X msg 41 85 240 320 1 #;
 #X obj 41 104 #draw_polygon put (1 # 255);
 #X obj 18 549 # +;
-#X obj 18 530 #inner (1 3 # 0 1 1);
 #X obj 426 103 #pack;
 #X obj 234 85 # +;
 #X obj 456 87 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 -56 256;
+-241291 -1 -1 59 256;
 #X obj 426 71 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 -42 256;
+-241291 -1 -1 34 256;
 #X obj 426 52 #pack;
 #X obj 456 36 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 43 256;
+-241291 -1 -1 39 256;
 #X obj 426 20 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 55 256;
+-241291 -1 -1 38 256;
 #X obj 234 47 # *;
 #X obj 124 234 #cast f;
 #X obj 124 291 #cast i;
 #X obj 18 397 # -;
 #X obj 18 416 #t;
 #X obj 18 454 # *;
-#X obj 234 123 # inv+;
-#X obj 234 104 # +;
+#X obj 245 123 # inv+;
+#X obj 245 104 # +;
 #X obj 426 154 #pack;
 #X obj 456 138 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 160 256;
+-241291 -1 -1 160 256;
 #X obj 426 122 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10
--262144 -1 -1 135 256;
+-241291 -1 -1 128 256;
 #X obj 41 123 #draw_polygon put (1 # 255);
 #X text 254 550 red filter;
 #X text 165 530 cyan filter;
@@ -53,75 +51,119 @@
 #X obj 42 186 #moment 2;
 #X obj 124 310 t a a;
 #X obj 19 341 #finished;
-#X obj 284 262 #moment_polar;
-#X obj 371 282 display;
-#X obj 285 302 display;
-#X obj 20 60 t b b;
-#X obj 46 13 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
+#X obj 254 213 #moment_polar;
+#X obj 341 233 display;
+#X obj 255 253 display;
+#X obj 5 61 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
+;
 #X obj 64 435 # / 3;
 #X text 103 429 this is a fudge factor.;
-#X text 105 441 depending on what you want to do \, you may set it
-to 2 \, 3 \, 4 \, whatever.;
-#X obj 19 41 metro 60;
 #X obj 124 253 cv.Invert;
 #X obj 124 272 # * (f # 1048576);
 #X obj 18 492 # < 1.04858e+06;
-#X connect 0 0 54 0;
-#X connect 1 0 26 0;
-#X connect 4 0 20 0;
+#X obj 18 606 fps;
+#X floatatom 18 625 5 0 0 0 - - -;
+#X obj 19 41 metro 33;
+#X text 105 441 depending on what you want to do \,;
+#X text 102 453 you set it to 2 \, 3 \, 4 \, whatever.;
+#X obj 402 364 #outer + (9000 0);
+#X obj 523 429 #transpose;
+#X obj 18 530 #inner (1 3 # 0 0 1);
+#X obj 18 568 #draw_polygon + (0 255 0) (2 2 #);
+#X obj 20 60 t b b b;
+#X obj 402 540 # + (120 160);
+#X obj 253 340 cv.SVD;
+#X obj 253 290 #cast f;
+#X obj 253 399 #inner \, seed (f #);
+#X obj 402 402 #cast f;
+#X obj 402 459 #inner \, seed (f #);
+#X obj 402 507 #cast i;
+#X obj 253 378 #swap;
+#X obj 402 326 #for 0 160 1;
+#X obj 253 359 # sqrt (f #);
+#X obj 253 317 # * (f # 3);
+#X obj 402 479 # / (f # 1000);
+#X obj 402 383 # cos* 1000;
+#X obj 402 345 # * 225;
+#X connect 0 0 56 0;
+#X connect 1 0 25 0;
+#X connect 4 0 19 0;
 #X connect 5 0 6 0;
 #X connect 6 0 4 1;
-#X connect 7 0 29 0;
-#X connect 8 0 31 0;
-#X connect 10 0 57 0;
-#X connect 11 0 18 0;
-#X connect 12 0 43 0;
+#X connect 7 0 28 0;
+#X connect 8 0 30 0;
+#X connect 9 0 54 0;
+#X connect 10 0 53 0;
+#X connect 11 0 61 0;
+#X connect 12 0 42 0;
 #X connect 12 1 13 0;
+#X connect 12 1 14 0;
 #X connect 13 0 2 0;
-#X connect 13 0 29 1;
-#X connect 13 0 43 1;
+#X connect 13 0 28 1;
+#X connect 13 0 42 1;
+#X connect 13 0 64 1;
 #X connect 14 0 17 1;
 #X connect 15 0 16 0;
-#X connect 16 0 37 0;
-#X connect 17 0 9 0;
-#X connect 18 0 17 0;
-#X connect 19 0 20 1;
-#X connect 20 0 33 0;
-#X connect 20 0 32 0;
-#X connect 21 0 19 1;
-#X connect 22 0 19 0;
-#X connect 23 0 26 1;
-#X connect 24 0 23 1;
-#X connect 25 0 23 0;
-#X connect 26 0 4 0;
-#X connect 27 0 55 0;
-#X connect 28 0 44 0;
-#X connect 29 0 30 0;
-#X connect 30 0 8 0;
-#X connect 30 1 31 1;
-#X connect 31 0 10 0;
-#X connect 32 0 37 2;
-#X connect 33 0 16 2;
+#X connect 16 0 36 0;
+#X connect 17 0 62 0;
+#X connect 18 0 19 1;
+#X connect 19 0 32 0;
+#X connect 19 0 31 0;
+#X connect 20 0 18 1;
+#X connect 21 0 18 0;
+#X connect 22 0 25 1;
+#X connect 23 0 22 1;
+#X connect 24 0 22 0;
+#X connect 25 0 4 0;
+#X connect 26 0 51 0;
+#X connect 27 0 43 0;
+#X connect 28 0 29 0;
+#X connect 29 0 8 0;
+#X connect 29 1 30 1;
+#X connect 30 0 10 0;
+#X connect 31 0 36 2;
+#X connect 32 0 16 2;
+#X connect 33 0 32 1;
+#X connect 33 0 31 1;
 #X connect 34 0 33 1;
-#X connect 34 0 32 1;
-#X connect 35 0 34 1;
-#X connect 36 0 34 0;
-#X connect 37 0 12 0;
-#X connect 37 0 14 0;
-#X connect 43 0 3 0;
-#X connect 43 0 27 0;
-#X connect 43 0 46 0;
-#X connect 44 0 45 0;
-#X connect 44 1 51 0;
-#X connect 45 0 7 0;
-#X connect 46 0 48 0;
-#X connect 46 1 47 0;
-#X connect 49 0 15 0;
-#X connect 49 1 1 0;
-#X connect 50 0 49 0;
-#X connect 51 0 8 1;
-#X connect 54 0 49 0;
-#X connect 55 0 56 0;
-#X connect 56 0 28 0;
-#X connect 57 0 11 0;
+#X connect 35 0 33 0;
+#X connect 36 0 12 0;
+#X connect 42 0 3 0;
+#X connect 42 0 26 0;
+#X connect 42 0 45 0;
+#X connect 42 0 66 0;
+#X connect 43 0 44 0;
+#X connect 43 1 49 0;
+#X connect 44 0 7 0;
+#X connect 45 0 47 0;
+#X connect 45 1 46 0;
+#X connect 48 0 63 0;
+#X connect 49 0 8 1;
+#X connect 51 0 52 0;
+#X connect 52 0 27 0;
+#X connect 53 0 11 0;
+#X connect 54 0 55 0;
+#X connect 56 0 63 0;
+#X connect 59 0 76 0;
+#X connect 60 0 69 1;
+#X connect 61 0 17 0;
+#X connect 62 0 9 0;
+#X connect 63 0 72 0;
+#X connect 63 1 15 0;
+#X connect 63 2 1 0;
+#X connect 64 0 62 2;
+#X connect 65 0 73 0;
+#X connect 65 1 71 1;
+#X connect 66 0 74 0;
+#X connect 67 0 60 0;
+#X connect 68 0 69 0;
+#X connect 69 0 75 0;
+#X connect 70 0 64 0;
+#X connect 71 0 67 0;
+#X connect 71 1 67 1;
+#X connect 72 0 77 0;
+#X connect 73 0 71 0;
+#X connect 74 0 65 0;
+#X connect 75 0 70 0;
+#X connect 76 0 68 0;
+#X connect 77 0 59 0;



More information about the Gridflow-cvs mailing list