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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Feb 17 14:43:58 EST 2011


Author: matju
Date: Thu Feb 17 14:43:55 2011
New Revision: 6610

Log:
added rotating star example

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

Modified: trunk/doc/flow_classes/#draw_polygon-help.pd
==============================================================================
--- trunk/doc/flow_classes/#draw_polygon-help.pd (original)
+++ trunk/doc/flow_classes/#draw_polygon-help.pd Thu Feb 17 14:43:55 2011
@@ -1,9 +1,8 @@
 #N canvas 596 21 632 642 10;
-#X obj 20 339 #out window;
-#X obj 383 88 #color;
-#X obj 383 32 loadbang;
-#X obj 272 97 # rand;
-#X obj 20 278 #clip;
+#X obj 20 439 #out window;
+#X obj 323 88 #color;
+#X obj 323 32 loadbang;
+#X obj 20 378 #clip;
 #X obj 362 159 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -241291
 -1 -1 0;
 #X text 379 160 fill;
@@ -15,145 +14,193 @@
 #X text 403 259 last;
 #X text 403 273 odd;
 #X obj 385 291 listread none last odd;
-#X obj 20 31 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 0 1
+#X obj 20 31 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 1 1
 ;
 #X obj 53 135 #checkers;
 #X obj 53 116 #for (0 0) (240 320);
-#X obj 272 40 f;
-#X obj 297 40 + 1;
-#X obj 272 59 sel 0;
-#X obj 239 116 #store;
-#X obj 20 67 t b b b;
-#X msg 383 51 40 80 100;
+#X msg 323 51 40 80 100;
 #X obj 53 97 loadbang;
-#X obj 322 40 % 30;
 #X obj 20 48 metro 33.3667;
 #X obj 362 206 listread fill line point;
 #X text 379 174 line;
 #X text 379 188 point;
-#X msg 272 78 8 2 # 240 320;
-#X msg 448 50 3 # 255;
+#X msg 388 50 3 # 255;
 #X msg 113 137 240 320 3 #;
 #X obj 20 154 #store;
-#X obj 20 297 shunt;
-#X obj 57 298 tgl 15 0 empty empty empty 17 7 0 10 -241291 -1 -1 0
+#X obj 20 397 shunt;
+#X obj 57 398 tgl 15 0 empty empty empty 17 7 0 10 -241291 -1 -1 0
 1;
-#X obj 50 316 #fade (16 4 1);
+#X obj 50 416 #fade (16 4 1);
 #X obj 0 0 doc_h;
-#X obj 3 363 doc_c 0..3;
-#X obj 3 508 doc_i 3;
-#X obj 3 829 doc_o 1;
-#X obj 14 859 doc_oo 0;
-#X obj 14 538 doc_ii 0;
-#X obj 14 775 doc_ii 1;
-#X obj 14 797 doc_ii 2;
-#X obj 14 393 doc_cc 0;
-#X obj 14 441 doc_cc 1;
-#X obj 14 463 doc_cc 2;
-#X text 232 538 Picture on which the polygon will be superimposed.
+#X obj 3 425 doc_c 0..3;
+#X obj 3 570 doc_i 3;
+#X obj 3 891 doc_o 1;
+#X obj 14 921 doc_oo 0;
+#X obj 14 600 doc_ii 0;
+#X obj 14 837 doc_ii 1;
+#X obj 14 859 doc_ii 2;
+#X obj 14 455 doc_cc 0;
+#X obj 14 503 doc_cc 1;
+#X obj 14 525 doc_cc 2;
+#X text 232 600 Picture on which the polygon will be superimposed.
 ;
-#X text 232 859 Resulting picture.;
-#X obj 97 393 doc_m c0 symbol/numop;
-#X obj 97 441 doc_m c1 grid;
-#X obj 97 463 doc_m c2 grid;
-#X obj 97 538 doc_m i0 grid;
-#X obj 97 775 doc_m i1 grid;
-#X obj 97 797 doc_m i2 grid;
-#X obj 97 859 doc_m o0 grid;
-#X obj 0 911 doc_f;
-#X msg 51 173 op *;
-#X msg 56 213 op ^;
-#X msg 53 193 op +;
-#X obj 232 775 doc_same 1;
-#X obj 232 797 doc_same 2;
-#X obj 97 753 doc_m i0 op;
-#X obj 97 626 doc_m i0 omit;
-#X obj 97 560 doc_m i0 draw;
-#X obj 232 753 doc_same 0;
-#X text 232 626 only makes sense in line mode.;
-#X text 232 648 none: draw complete perimetre of polygon;
-#X text 232 670 last: omit last edge \, so that it makes a "polygonal
+#X text 232 921 Resulting picture.;
+#X obj 97 455 doc_m c0 symbol/numop;
+#X obj 97 503 doc_m c1 grid;
+#X obj 97 525 doc_m c2 grid;
+#X obj 97 600 doc_m i0 grid;
+#X obj 97 837 doc_m i1 grid;
+#X obj 97 859 doc_m i2 grid;
+#X obj 97 921 doc_m o0 grid;
+#X obj 0 973 doc_f;
+#X msg 51 273 op *;
+#X msg 56 313 op ^;
+#X msg 53 293 op +;
+#X obj 232 837 doc_same 1;
+#X obj 232 859 doc_same 2;
+#X obj 97 815 doc_m i0 op;
+#X obj 97 688 doc_m i0 omit;
+#X obj 97 622 doc_m i0 draw;
+#X obj 232 815 doc_same 0;
+#X text 232 688 only makes sense in line mode.;
+#X text 232 710 none: draw complete perimetre of polygon;
+#X text 232 732 last: omit last edge \, so that it makes a "polygonal
 line" instead of a polygon;
-#X text 232 705 odd: drawing only even-numbered edges means drawing
+#X text 232 767 odd: drawing only even-numbered edges means drawing
 a set of separate lines instead of a polygon. you should provide an
 even number of vertices in this case.;
-#X text 232 560 fill: draw a filled polygon;
-#X text 232 604 point: draw vertices only (as single pixels);
-#X text 232 582 line: draw lines (see option 'omit') of minimal width
+#X text 232 622 fill: draw a filled polygon;
+#X text 232 666 point: draw vertices only (as single pixels);
+#X text 232 644 line: draw lines (see option 'omit') of minimal width
 ;
-#X obj 3 891 doc_also;
-#X obj 103 891 #draw_image;
-#X obj 181 891 #draw_rect;
-#X obj 239 135 #fade_lin 5 5;
-#X obj 3 891 doc_also;
-#X obj 239 154 shunt;
-#X obj 275 155 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 3 953 doc_also;
+#X obj 103 953 #draw_image;
+#X obj 181 953 #draw_rect;
+#X obj 3 953 doc_also;
+#X msg 89 382 4 2 # 0 0 0 100 100 0 100 100;
+#X obj 59 333 r \$0-a;
+#X obj 362 400 s \$0-a;
+#X obj 20 359 #draw_polygon + (1);
+#X text 232 525 Vertices of the polygon. default is (0 2 #) \, the
+"zerogon" \, such that nothing will be drawn.;
+#X text 232 455 Normally \, you would use the "put" operator \; but
+the + and ^ can be interesting for color effects. (default: put);
+#X text 232 503 Color of the polygon. default is (1 #).;
+#X obj 415 334 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -241291
+-1 -1 0;
+#X msg 415 400 rule \$1;
+#X obj 415 381 listread oddeven winding multi;
+#X text 433 334 oddeven;
+#X text 433 349 winding;
+#X text 433 363 multi;
+#X obj 194 84 shunt;
+#X obj 231 85 tgl 15 0 empty empty random 17 7 0 8 -257985 -1 -1 0
 1;
-#X msg 140 258 4 2 # 0 0 0 100 100 0 100 100;
-#X obj 59 233 r \$0-a;
-#X obj 362 337 s \$0-a;
-#X obj 20 259 #draw_polygon + (1);
-#X text 232 463 Vertices of the polygon. default is (0 2 #) \, the
-"zerogon" \, such that nothing will be drawn.;
-#X text 232 393 Normally \, you would use the "put" operator \; but
-the + and ^ can be interesting for color effects. (default: put);
-#X text 232 441 Color of the polygon. default is (1 #).;
-#X connect 1 0 83 1;
-#X connect 2 0 22 0;
-#X connect 3 0 20 1;
-#X connect 4 0 33 0;
-#X connect 5 0 26 0;
-#X connect 7 0 82 0;
-#X connect 8 0 13 0;
-#X connect 10 0 82 0;
-#X connect 13 0 10 0;
-#X connect 14 0 25 0;
-#X connect 15 0 32 1;
-#X connect 16 0 15 0;
-#X connect 17 0 18 0;
-#X connect 17 0 19 0;
-#X connect 18 0 24 0;
-#X connect 19 0 29 0;
-#X connect 20 0 76 0;
-#X connect 21 0 32 0;
-#X connect 21 1 20 0;
-#X connect 21 2 17 0;
+#N canvas 0 0 450 300 random-anim 0;
+#X obj 25 23 inlet;
+#X obj 25 178 outlet;
+#X obj 52 118 # rand;
+#X obj 52 61 f;
+#X obj 77 61 + 1;
+#X obj 52 80 sel 0;
+#X obj 102 61 % 30;
+#X msg 52 99 8 2 # 240 320;
+#X obj 25 159 #fade_lin 5 5;
+#X obj 25 42 t b b;
+#X obj 25 140 #store;
+#X connect 0 0 9 0;
+#X connect 2 0 10 1;
+#X connect 3 0 4 0;
+#X connect 3 0 5 0;
+#X connect 4 0 6 0;
+#X connect 5 0 7 0;
+#X connect 6 0 3 1;
+#X connect 7 0 2 0;
+#X connect 8 0 1 0;
+#X connect 9 0 10 0;
+#X connect 9 1 3 0;
+#X connect 10 0 8 0;
+#X restore 221 124 pd random-anim;
+#X obj 20 67 t b b;
+#N canvas 67 573 450 300 star-anim 0;
+#X obj 35 33 inlet;
+#X obj 37 210 outlet;
+#X obj 35 52 f;
+#X obj 37 191 # + (120 160);
+#X obj 96 52 % 36000;
+#X obj 60 52 + 200;
+#X obj 37 153 #outer + (0 9000);
+#X obj 37 77 t b f;
+#X obj 37 134 # +;
+#X obj 37 96 #for 0 5;
+#X obj 37 115 # * 14400;
+#X obj 37 172 # cos* 115;
+#X connect 0 0 2 0;
+#X connect 2 0 5 0;
+#X connect 2 0 7 0;
+#X connect 3 0 1 0;
+#X connect 4 0 2 1;
+#X connect 5 0 4 0;
+#X connect 6 0 11 0;
+#X connect 7 0 9 0;
+#X connect 7 1 8 1;
+#X connect 8 0 6 0;
+#X connect 9 0 10 0;
+#X connect 10 0 8 0;
+#X connect 11 0 3 0;
+#X restore 194 143 pd star-anim;
+#X connect 1 0 72 1;
+#X connect 2 0 16 0;
+#X connect 3 0 25 0;
+#X connect 4 0 19 0;
+#X connect 6 0 71 0;
+#X connect 7 0 12 0;
+#X connect 9 0 71 0;
+#X connect 12 0 9 0;
+#X connect 13 0 18 0;
+#X connect 14 0 24 1;
+#X connect 15 0 14 0;
+#X connect 16 0 1 0;
+#X connect 17 0 15 0;
+#X connect 18 0 85 0;
+#X connect 19 0 6 0;
 #X connect 22 0 1 0;
-#X connect 23 0 16 0;
-#X connect 24 0 17 1;
-#X connect 25 0 21 0;
-#X connect 26 0 7 0;
-#X connect 29 0 3 0;
-#X connect 30 0 1 0;
-#X connect 31 0 32 1;
-#X connect 32 0 83 0;
-#X connect 33 0 0 0;
-#X connect 33 1 35 0;
-#X connect 34 0 33 1;
-#X connect 35 0 0 0;
-#X connect 49 1 85 0;
-#X connect 50 1 86 0;
-#X connect 51 1 84 0;
-#X connect 52 1 47 0;
-#X connect 53 1 60 0;
-#X connect 54 1 61 0;
-#X connect 55 1 48 0;
-#X connect 57 0 83 0;
-#X connect 58 0 83 0;
-#X connect 59 0 83 0;
-#X connect 62 1 65 0;
-#X connect 63 1 67 0;
-#X connect 63 1 68 0;
-#X connect 63 1 69 0;
-#X connect 63 1 66 0;
-#X connect 64 1 70 0;
-#X connect 64 1 72 0;
-#X connect 64 1 71 0;
-#X connect 73 1 74 0;
-#X connect 73 1 75 0;
+#X connect 23 0 24 1;
+#X connect 24 0 72 0;
+#X connect 25 0 0 0;
+#X connect 25 1 27 0;
+#X connect 26 0 25 1;
+#X connect 27 0 0 0;
+#X connect 41 1 74 0;
+#X connect 42 1 75 0;
+#X connect 43 1 73 0;
+#X connect 44 1 39 0;
+#X connect 45 1 52 0;
+#X connect 46 1 53 0;
+#X connect 47 1 40 0;
+#X connect 49 0 72 0;
+#X connect 50 0 72 0;
+#X connect 51 0 72 0;
+#X connect 54 1 57 0;
+#X connect 55 1 59 0;
+#X connect 55 1 60 0;
+#X connect 55 1 61 0;
+#X connect 55 1 58 0;
+#X connect 56 1 62 0;
+#X connect 56 1 64 0;
+#X connect 56 1 63 0;
+#X connect 65 1 66 0;
+#X connect 65 1 67 0;
+#X connect 69 0 72 2;
+#X connect 70 0 72 0;
+#X connect 72 0 3 0;
 #X connect 76 0 78 0;
-#X connect 78 0 83 2;
-#X connect 79 0 78 1;
-#X connect 80 0 83 2;
-#X connect 81 0 83 0;
-#X connect 83 0 4 0;
+#X connect 77 0 71 0;
+#X connect 78 0 77 0;
+#X connect 82 0 86 0;
+#X connect 82 1 84 0;
+#X connect 83 0 82 1;
+#X connect 84 0 72 2;
+#X connect 85 0 24 0;
+#X connect 85 1 82 0;
+#X connect 86 0 72 2;



More information about the Gridflow-cvs mailing list