[Gridflow-cvs] [svn] commit: r6166 - in /trunk: abstractions/#slice.pd abstractions/for.pd doc/flow_classes/#slice-help.pd doc/flow_classes/for-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Aug 16 19:50:51 EDT 2010


Author: matju
Date: Mon Aug 16 19:50:50 2010
New Revision: 6166

Log:
add default arguments

Modified:
    trunk/abstractions/#slice.pd
    trunk/abstractions/for.pd
    trunk/doc/flow_classes/#slice-help.pd
    trunk/doc/flow_classes/for-help.pd

Modified: trunk/abstractions/#slice.pd
==============================================================================
--- trunk/abstractions/#slice.pd (original)
+++ trunk/abstractions/#slice.pd Mon Aug 16 19:50:50 2010
@@ -11,29 +11,29 @@
 #X obj 13 75 #finished;
 #X obj 129 198 #ravel;
 #X obj 99 178 #ravel;
-#X obj 198 26 args start end;
 #X obj 153 66 t a;
 #X obj 93 68 t a;
 #X obj 83 156 list trim;
 #X obj 83 137 list prepend set (;
 #X obj 83 118 list append );
+#X obj 198 26 args (start a 0) (end a 0);
 #X connect 0 0 8 0;
 #X connect 2 0 1 0;
-#X connect 3 0 14 0;
-#X connect 4 0 13 0;
+#X connect 3 0 13 0;
+#X connect 4 0 12 0;
 #X connect 5 0 10 0;
 #X connect 6 0 2 0;
-#X connect 7 0 17 0;
+#X connect 7 0 16 0;
 #X connect 8 0 9 0;
 #X connect 8 1 2 1;
 #X connect 9 0 6 0;
 #X connect 10 0 6 2;
 #X connect 11 0 6 1;
-#X connect 12 0 14 0;
-#X connect 12 1 13 0;
-#X connect 13 0 5 0;
-#X connect 13 0 11 0;
-#X connect 14 0 7 0;
-#X connect 15 0 6 0;
+#X connect 12 0 5 0;
+#X connect 12 0 11 0;
+#X connect 13 0 7 0;
+#X connect 14 0 6 0;
+#X connect 15 0 14 0;
 #X connect 16 0 15 0;
-#X connect 17 0 16 0;
+#X connect 17 0 13 0;
+#X connect 17 1 12 0;

Modified: trunk/abstractions/for.pd
==============================================================================
--- trunk/abstractions/for.pd (original)
+++ trunk/abstractions/for.pd Mon Aug 16 19:50:50 2010
@@ -5,7 +5,6 @@
 #X obj 55 239 outlet;
 #X obj 250 82 t f;
 #X obj 190 82 t f;
-#X obj 55 34 args from to step;
 #X obj 30 81 route set float bang;
 #X obj 55 170 until;
 #X obj 55 189 f;
@@ -14,24 +13,25 @@
 #X obj 163 165 bang;
 #X obj 55 128 f;
 #X obj 55 150 t b f;
-#X connect 0 0 7 0;
+#X obj 55 34 args (from a 0) (to a 0) (step a 1);
+#X connect 0 0 6 0;
 #X connect 1 0 5 0;
 #X connect 2 0 4 0;
-#X connect 4 0 10 1;
-#X connect 5 0 11 1;
-#X connect 6 0 13 1;
-#X connect 6 1 5 0;
-#X connect 6 2 4 0;
-#X connect 7 0 13 1;
-#X connect 7 1 13 0;
-#X connect 7 2 13 0;
+#X connect 4 0 9 1;
+#X connect 5 0 10 1;
+#X connect 6 0 12 1;
+#X connect 6 1 12 0;
+#X connect 6 2 12 0;
+#X connect 7 0 8 0;
 #X connect 8 0 9 0;
-#X connect 9 0 10 0;
-#X connect 9 0 11 0;
-#X connect 10 0 9 1;
-#X connect 11 0 3 0;
-#X connect 11 1 12 0;
-#X connect 12 0 8 1;
-#X connect 13 0 14 0;
-#X connect 14 0 8 0;
-#X connect 14 1 9 1;
+#X connect 8 0 10 0;
+#X connect 9 0 8 1;
+#X connect 10 0 3 0;
+#X connect 10 1 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 13 0;
+#X connect 13 0 7 0;
+#X connect 13 1 8 1;
+#X connect 14 0 12 1;
+#X connect 14 1 5 0;
+#X connect 14 2 4 0;

Modified: trunk/doc/flow_classes/#slice-help.pd
==============================================================================
--- trunk/doc/flow_classes/#slice-help.pd (original)
+++ trunk/doc/flow_classes/#slice-help.pd Mon Aug 16 19:50:50 2010
@@ -1,9 +1,7 @@
-#N canvas 206 135 632 525 10;
+#N canvas 206 135 632 550 10;
 #X obj 38 190 display;
 #X text 36 213 should print subgrid: 3 5 8 13 21;
 #X msg 37 145 0 1 1 2 3 5 8 13 21 34 55 89;
-#X obj 37 170 #slice 4 9;
-#X obj 256 109 #slice (1 1) (3 3);
 #X obj 257 130 display;
 #X obj 256 90 #redim (4 4);
 #X obj 256 71 #for 0 16 1;
@@ -20,7 +18,7 @@
 #X obj 14 402 doc_ii 2;
 #X obj 14 274 doc_cc 0;
 #X obj 14 296 doc_cc 1;
-#X obj 0 496 doc_f;
+#X obj 0 516 doc_f;
 #X obj 97 274 doc_m c0 grid;
 #X obj 97 296 doc_m c1 grid;
 #X obj 97 358 doc_m i0 grid;
@@ -31,17 +29,20 @@
 #X obj 232 402 doc_same 1;
 #X text 232 464 slice;
 #X text 232 358 grid to be sliced;
-#X text 232 296 end positions (as in #for);
-#X text 232 274 start positions as in #for);
-#X connect 2 0 3 0;
-#X connect 3 0 0 0;
-#X connect 4 0 5 0;
-#X connect 6 0 4 0;
-#X connect 7 0 6 0;
-#X connect 8 0 7 0;
-#X connect 21 1 32 0;
-#X connect 22 1 31 0;
-#X connect 23 1 30 0;
+#X obj 3 496 doc_also;
+#X obj 37 170 #slice 4 9;
+#X obj 256 109 #slice (1 1) (3 3);
+#X text 232 274 start positions (as in #for) (default: 0);
+#X text 232 296 end positions (as in #for) (default: 0);
+#X connect 2 0 30 0;
+#X connect 4 0 31 0;
+#X connect 5 0 4 0;
+#X connect 6 0 5 0;
+#X connect 19 1 32 0;
+#X connect 20 1 33 0;
+#X connect 21 1 28 0;
+#X connect 22 1 25 0;
+#X connect 23 1 26 0;
 #X connect 24 1 27 0;
-#X connect 25 1 28 0;
-#X connect 26 1 29 0;
+#X connect 30 0 0 0;
+#X connect 31 0 3 0;

Modified: trunk/doc/flow_classes/for-help.pd
==============================================================================
--- trunk/doc/flow_classes/for-help.pd (original)
+++ trunk/doc/flow_classes/for-help.pd Mon Aug 16 19:50:50 2010
@@ -1,4 +1,4 @@
-#N canvas 480 175 632 542 10;
+#N canvas 480 145 632 551 10;
 #X obj 41 115 print;
 #X obj 41 73 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
 -1;
@@ -7,50 +7,50 @@
 #X obj 0 0 doc_h;
 #X obj 3 179 doc_c 3;
 #X obj 3 285 doc_i 3;
-#X obj 3 433 doc_o 1;
+#X obj 3 435 doc_o 1;
 #X obj 14 315 doc_ii 0;
-#X obj 14 379 doc_ii 1;
-#X obj 14 401 doc_ii 2;
-#X obj 14 463 doc_oo 0;
+#X obj 14 381 doc_ii 1;
+#X obj 14 403 doc_ii 2;
+#X obj 14 465 doc_oo 0;
 #X obj 14 209 doc_cc 0;
 #X obj 14 231 doc_cc 1;
 #X obj 14 253 doc_cc 2;
-#X obj 0 513 doc_f;
-#X obj 97 463 doc_m o0 float;
-#X obj 97 401 doc_m i2 float;
-#X obj 97 379 doc_m i1 float;
-#X obj 97 335 doc_m i0 float;
-#X obj 97 357 doc_m i0 set;
+#X obj 0 517 doc_f;
+#X obj 97 465 doc_m o0 float;
+#X obj 97 403 doc_m i2 float;
+#X obj 97 381 doc_m i1 float;
+#X obj 97 337 doc_m i0 float;
+#X obj 97 359 doc_m i0 set;
 #X obj 97 315 doc_m i0 bang;
-#X obj 3 493 doc_also;
-#X obj 103 493 #for 0 0 1;
-#X obj 175 493 until;
+#X obj 3 497 doc_also;
+#X obj 103 497 #for 0 0 1;
+#X obj 175 497 until;
 #X obj 97 209 doc_m c0 float;
 #X obj 97 231 doc_m c1 float;
 #X obj 97 253 doc_m c2 float;
-#X text 232 209 from;
-#X text 232 231 to;
-#X text 232 253 step;
-#X obj 232 379 doc_same 1;
-#X obj 232 401 doc_same 2;
-#X obj 232 357 doc_same 0;
-#X text 232 335 same as set \$1 \, bang;
+#X obj 232 381 doc_same 1;
+#X obj 232 403 doc_same 2;
+#X obj 232 359 doc_same 0;
+#X text 232 337 same as set \$1 \, bang;
 #X text 41 151 note that 114 should not be included!;
 #X text 192 42 count from a value to another value. the latter value
 is excluded \, such that [for 0 10 1] and for [10 20 1] have no common
 outputs.;
 #X msg 72 68 set 0;
 #X msg 71 42 5;
+#X text 232 253 step (default: 1);
+#X text 232 231 to (default: 0);
+#X text 232 209 from (default: 0);
 #X connect 1 0 3 0;
 #X connect 3 0 0 0;
-#X connect 17 1 32 0;
-#X connect 18 1 31 0;
-#X connect 19 1 34 0;
-#X connect 20 1 33 0;
+#X connect 17 1 29 0;
+#X connect 18 1 28 0;
+#X connect 19 1 31 0;
+#X connect 20 1 30 0;
 #X connect 22 1 23 0;
 #X connect 22 1 24 0;
-#X connect 25 1 28 0;
-#X connect 26 1 29 0;
-#X connect 27 1 30 0;
-#X connect 37 0 3 0;
-#X connect 38 0 3 0;
+#X connect 25 1 38 0;
+#X connect 26 1 37 0;
+#X connect 27 1 36 0;
+#X connect 34 0 3 0;
+#X connect 35 0 3 0;



More information about the Gridflow-cvs mailing list