[Gridflow-cvs] [svn] commit: r6187 - in /trunk: abstractions/#swap.pd doc/flow_classes/#swap-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Aug 17 21:15:48 EDT 2010


Author: pboivin
Date: Tue Aug 17 21:15:47 2010
New Revision: 6187

Log:
[#swap]: convert a grid literal to a grid before sending it to the right outlet

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

Modified: trunk/abstractions/#swap.pd
==============================================================================
--- trunk/abstractions/#swap.pd (original)
+++ trunk/abstractions/#swap.pd Tue Aug 17 21:15:47 2010
@@ -1,16 +1,18 @@
-#N canvas 83 326 450 195 10;
-#X obj 24 35 inlet A;
-#X obj 89 102 inlet B;
-#X obj 24 136 outlet A;
-#X obj 84 136 outlet B;
-#X obj 24 102 #store;
-#X obj 24 54 t a a;
-#X obj 24 73 #finished;
-#X obj 72 54 args (my_grid a 0);
+#N canvas 611 279 450 195 10;
+#X obj 24 24 inlet A;
+#X obj 89 91 inlet B;
+#X obj 24 155 outlet A;
+#X obj 94 155 outlet B;
+#X obj 24 91 #store;
+#X obj 24 43 t a a;
+#X obj 24 62 #finished;
+#X obj 82 24 args (my_grid a 0);
+#X obj 94 135 #import;
 #X connect 0 0 5 0;
 #X connect 1 0 4 1;
 #X connect 4 0 2 0;
 #X connect 5 0 6 0;
-#X connect 5 1 3 0;
+#X connect 5 1 8 0;
 #X connect 6 0 4 0;
 #X connect 7 0 4 1;
+#X connect 8 0 3 0;

Modified: trunk/doc/flow_classes/#swap-help.pd
==============================================================================
--- trunk/doc/flow_classes/#swap-help.pd (original)
+++ trunk/doc/flow_classes/#swap-help.pd Tue Aug 17 21:15:47 2010
@@ -1,25 +1,33 @@
-#N canvas 335 118 632 379 10;
+#N canvas 316 150 632 480 10;
 #X obj 0 0 doc_h;
-#X obj 0 350 doc_f;
-#X obj 60 55 #swap;
-#X text 223 55 grid equivalent of [swap];
-#X obj 3 168 doc_i 2;
-#X obj 3 250 doc_o 2;
-#X obj 14 198 doc_ii 0;
-#X obj 14 218 doc_ii 1;
-#X obj 14 280 doc_oo 0;
-#X obj 14 300 doc_oo 1;
-#X obj 97 198 doc_m i0 grid;
-#X obj 97 218 doc_m i1 grid;
-#X obj 97 280 doc_m o0 grid;
-#X obj 97 300 doc_m o1 grid;
-#X obj 3 330 doc_also;
-#X obj 103 330 swap;
-#X obj 14 136 doc_cc 0;
-#X obj 3 106 doc_c 0..1;
-#X text 232 136 same as [#store];
-#X obj 232 218 doc_same 0;
-#X obj 97 136 doc_m c0 grid;
-#X connect 11 1 19 0;
+#X obj 0 446 doc_f;
+#X obj 101 91 #swap;
+#X text 273 55 grid equivalent of [swap];
+#X obj 3 258 doc_i 2;
+#X obj 3 342 doc_o 2;
+#X obj 14 288 doc_ii 0;
+#X obj 14 310 doc_ii 1;
+#X obj 14 372 doc_oo 0;
+#X obj 14 394 doc_oo 1;
+#X obj 97 288 doc_m i0 grid;
+#X obj 97 310 doc_m i1 grid;
+#X obj 97 372 doc_m o0 grid;
+#X obj 97 394 doc_m o1 grid;
+#X obj 3 426 doc_also;
+#X obj 103 426 swap;
+#X obj 14 226 doc_cc 0;
+#X obj 3 196 doc_c 0..1;
+#X obj 232 310 doc_same 0;
+#X obj 97 226 doc_m c0 grid;
+#X msg 138 61 3 3 # 1 2 3;
+#X msg 101 41 4 4 # 1 2 3 4;
+#X obj 101 121 display;
+#X obj 174 108 display;
+#X text 232 226 initial right-hand grid;
+#X connect 2 0 22 0;
+#X connect 2 1 23 0;
+#X connect 11 1 18 0;
 #X connect 14 1 15 0;
-#X connect 20 1 18 0;
+#X connect 19 1 24 0;
+#X connect 20 0 2 1;
+#X connect 21 0 2 0;



More information about the Gridflow-cvs mailing list