[Gridflow-cvs] [svn] commit: r4324 - /trunk/examples/pinwheel.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 24 10:19:12 EDT 2009


Author: matju
Date: Sat Oct 24 10:19:11 2009
New Revision: 4324

Log:
previous optimisation doesn't actually go faster, because of [# + vector] and [#fold].
now this commit merges both [# + vector] together.

Modified:
    trunk/examples/pinwheel.pd

Modified: trunk/examples/pinwheel.pd
==============================================================================
--- trunk/examples/pinwheel.pd (original)
+++ trunk/examples/pinwheel.pd Sat Oct 24 10:19:11 2009
@@ -1,4 +1,4 @@
-#N canvas 467 111 643 721 10;
+#N canvas 578 0 643 717 10;
 #X obj 33 371 #outer * (255 255 255);
 #X obj 33 391 #out window;
 #X obj 33 95 metro 33;
@@ -35,67 +35,72 @@
 #X text 320 29 Presets:;
 #X obj 154 175 * 1;
 #X text 24 26 Copyright 2009 by Federico Ferri;
-#X text 24 438 GridFlow 0.9.5;
-#N canvas 4 119 615 481 pinwheel 0;
+#X text 385 365 GridFlow 0.9.5;
+#N canvas 186 148 615 481 pinwheel 0;
 #X obj 46 313 # % 36000;
 #X obj 46 339 # > 18000;
 #X obj 46 28 inlet;
 #X obj 46 373 outlet;
-#X obj 46 76 # + (0 18000);
 #X obj 46 146 # + (0 0);
 #X msg 133 114 2 # 0 \$1;
 #X obj 46 206 # * (1 1);
 #X msg 134 182 2 # \$1 1;
-#X obj 46 242 #fold +;
 #X obj 46 276 # * 1;
 #X obj 190 225 inlet;
 #X obj 259 130 inlet;
 #X obj 154 70 inlet;
+#X obj 46 242 #inner (1 1);
+#X obj 139 93 + 18000;
 #X connect 0 0 1 0;
 #X connect 1 0 3 0;
 #X connect 2 0 4 0;
-#X connect 4 0 5 0;
-#X connect 5 0 7 0;
-#X connect 6 0 5 1;
-#X connect 7 0 9 0;
-#X connect 8 0 7 1;
-#X connect 9 0 10 0;
-#X connect 10 0 0 0;
-#X connect 11 0 10 1;
+#X connect 4 0 6 0;
+#X connect 5 0 4 1;
+#X connect 6 0 12 0;
+#X connect 7 0 6 1;
+#X connect 8 0 0 0;
+#X connect 9 0 8 1;
+#X connect 10 0 7 0;
+#X connect 11 0 13 0;
 #X connect 12 0 8 0;
-#X connect 13 0 6 0;
+#X connect 13 0 5 0;
 #X restore 33 291 pd pinwheel;
-#N canvas 4 117 615 481 pinwheel 0;
+#N canvas 548 104 615 481 pinwheel 0;
 #X obj 46 313 # % 36000;
 #X obj 46 339 # > 18000;
 #X obj 46 28 inlet;
 #X obj 46 373 outlet;
-#X obj 46 76 # + (0 18000);
 #X obj 46 146 # + (0 0);
 #X msg 133 114 2 # 0 \$1;
 #X obj 46 206 # * (1 1);
 #X msg 134 182 2 # \$1 1;
-#X obj 46 242 #fold +;
 #X obj 46 276 # * 1;
 #X obj 190 225 inlet;
 #X obj 259 130 inlet;
 #X obj 154 70 inlet;
+#X obj 46 242 #inner (1 1);
+#X obj 134 95 + 18000;
 #X connect 0 0 1 0;
 #X connect 1 0 3 0;
 #X connect 2 0 4 0;
-#X connect 4 0 5 0;
-#X connect 5 0 7 0;
-#X connect 6 0 5 1;
-#X connect 7 0 9 0;
-#X connect 8 0 7 1;
-#X connect 9 0 10 0;
-#X connect 10 0 0 0;
-#X connect 11 0 10 1;
+#X connect 4 0 6 0;
+#X connect 5 0 4 1;
+#X connect 6 0 12 0;
+#X connect 7 0 6 1;
+#X connect 8 0 0 0;
+#X connect 9 0 8 1;
+#X connect 10 0 7 0;
+#X connect 11 0 13 0;
 #X connect 12 0 8 0;
-#X connect 13 0 6 0;
+#X connect 13 0 5 0;
 #X restore 130 291 pd pinwheel;
-#X obj 33 135 #for (0 0) (256 256) (1 1);
+#X obj 32 135 #for (0 0) (256 256) (1 1);
+#X msg 117 114 512 512;
+#X obj 33 410 fps;
+#X floatatom 33 429 5 0 0 0 - - -;
+#X msg 117 94 256 256;
 #X connect 0 0 1 0;
+#X connect 1 0 37 0;
 #X connect 2 0 5 0;
 #X connect 3 0 2 0;
 #X connect 4 0 17 0;
@@ -128,3 +133,6 @@
 #X connect 33 0 13 0;
 #X connect 34 0 14 0;
 #X connect 35 0 21 0;
+#X connect 36 0 35 1;
+#X connect 37 0 38 0;
+#X connect 39 0 35 1;



More information about the Gridflow-cvs mailing list