[Gridflow-cvs] [svn] commit: r5144 - /trunk/examples/cellular_1d.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Mar 23 22:49:15 EDT 2010


Author: matju
Date: Tue Mar 23 22:49:15 2010
New Revision: 5144

Log:
this is now 4 times faster than it was at the beginning of the day.

Modified:
    trunk/examples/cellular_1d.pd

Modified: trunk/examples/cellular_1d.pd
==============================================================================
--- trunk/examples/cellular_1d.pd (original)
+++ trunk/examples/cellular_1d.pd Tue Mar 23 22:49:15 2010
@@ -22,32 +22,31 @@
 -1;
 #X obj -1 37 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
 #X text 92 465 characteristic number;
-#X obj 207 166 nbx 2 14 1 99 0 0 empty empty empty 0 -6 0 10 -241291
+#X obj 354 216 nbx 2 14 1 99 0 0 empty empty empty 0 -6 0 10 -241291
 -1 -1 1 256;
 #X text 79 98 randomizer;
-#X text 246 360 specify behaviour here;
-#X text 24 234 compute new state;
-#X text 260 227 convert bit matrix to rgb image;
+#X text 201 340 specify behaviour here;
+#X text 24 194 compute new state;
 #X obj 154 39 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
 -1;
-#X obj 172 324 loadbang;
+#X obj 139 327 loadbang;
 #X obj 403 54 loadbang;
 #X msg 299 54 3 # 0;
 #X msg 457 54 3 # 255;
 #X text 340 55 background;
 #X text 510 56 foreground;
-#X obj 17 272 t a a;
+#X obj 17 232 t a a;
 #X obj 33 98 # rand;
 #X obj 17 143 #store;
-#X obj 17 292 #finished;
-#X obj 17 332 # <<;
-#X obj 17 352 # &;
-#X obj 17 372 # != 0;
+#X obj 17 252 #finished;
+#X obj 17 292 # <<;
+#X obj 17 312 # &;
+#X obj 17 332 # != 0;
 #X obj 124 414 #fold +;
 #X obj 124 433 #to_float;
 #X obj 299 74 #color;
 #X obj 457 73 #color;
-#X obj 17 252 #convolve (1 3 # 1 2 4);
+#X obj 17 212 #convolve (1 3 # 1 2 4);
 #X obj 124 395 # << (0 1 2 3 4 5 6 7);
 #X obj -4 510 cnv 15 640 30 empty empty empty 20 12 0 14 -200249 -66577
 0;
@@ -55,11 +54,11 @@
 0;
 #X text -3 15 Copyright 2002 Mathieu Bouchard;
 #X text -3 1 Cellular_1d;
-#X text 236 165 <-- number of new lines per frame;
+#X text 383 215 <-- number of new lines per frame;
 #X text 173 38 <-- make single dot;
 #X text 85 60 restart;
-#N canvas 79 42 471 335 make_scrollie 0;
-#X obj 96 27 inlet one_line;
+#N canvas 46 42 504 335 make_scrollie 1;
+#X obj 96 8 inlet one_line;
 #X obj 292 70 inlet number_of_lines;
 #X obj 10 296 outlet grid;
 #X obj 292 89 max 1;
@@ -72,19 +71,20 @@
 #X obj 10 106 sel;
 #X obj 176 65 mod 480;
 #X obj 10 125 #for 0 480 1;
-#X obj 10 169 # +;
-#X obj 10 189 #outer ignore (0);
-#X msg 152 192 put_at \$1 0 0;
-#X obj 10 209 #store (480 640 1 #);
-#X connect 0 0 6 0;
+#X msg 152 188 put_at \$1 0 0;
+#X obj 10 188 #store (480 640 1 b #);
+#X obj 96 27 #cast b;
+#X obj 10 169 #outer +;
+#X msg 65 169 list \$1;
+#X connect 0 0 15 0;
 #X connect 1 0 3 0;
 #X connect 3 0 9 1;
 #X connect 4 0 5 0;
-#X connect 4 0 15 0;
-#X connect 4 0 13 1;
+#X connect 4 0 13 0;
+#X connect 4 0 17 0;
 #X connect 5 0 11 0;
 #X connect 6 0 7 0;
-#X connect 6 1 16 1;
+#X connect 6 1 14 1;
 #X connect 6 2 4 0;
 #X connect 7 0 8 0;
 #X connect 7 0 10 0;
@@ -92,75 +92,80 @@
 #X connect 9 0 7 1;
 #X connect 10 0 12 0;
 #X connect 11 0 4 1;
-#X connect 12 0 13 0;
-#X connect 13 0 14 0;
-#X connect 14 0 16 0;
-#X connect 15 0 16 1;
-#X connect 16 0 2 0;
-#X restore 114 182 pd make_scrollie;
+#X connect 12 0 16 0;
+#X connect 13 0 14 1;
+#X connect 14 0 2 0;
+#X connect 15 0 6 0;
+#X connect 16 0 14 0;
+#X connect 17 0 16 1;
+#X restore 261 232 pd make_scrollie;
 #X obj 124 376 #pack 8 \, \, \, \, \, \, \, \, \,;
-#X text 217 180 make scrollie;
-#X text 215 193 (window height = 128);
+#X text 364 230 make scrollie;
 #X obj 154 105 # == 320;
 #X text 4 517 GridFlow 0.9.8;
 #X obj 17 36 metro 16.666;
 #X msg 267 286 border 0 \, move 0 1344;
 #X obj 261 309 #out window;
-#X msg 457 130 put_at 1 0 \, grid \$1;
-#X msg 299 131 put_at 0 0 \, grid \$1;
-#X obj 261 266 #store (2 3 #);
+#X msg 457 149 put_at 1 0 \, grid \$1;
+#X msg 299 150 put_at 0 0 \, grid \$1;
 #X obj 34 118 # ==;
 #X msg 34 79 1 640 1 # 2;
 #X obj 155 56 #for 0 640 1;
 #X obj 153 124 #redim (1 640);
-#X msg 17 312 1 640 1 # 1;
-#X connect 0 0 58 0;
-#X connect 1 0 46 0;
-#X connect 2 0 46 1;
-#X connect 3 0 46 2;
-#X connect 4 0 46 3;
-#X connect 5 0 46 4;
-#X connect 6 0 46 5;
-#X connect 7 0 46 6;
-#X connect 8 0 46 7;
-#X connect 9 0 30 1;
-#X connect 10 0 27 0;
-#X connect 11 0 51 0;
-#X connect 13 0 45 1;
-#X connect 18 0 59 0;
-#X connect 19 0 2 0;
-#X connect 19 0 3 0;
-#X connect 19 0 7 0;
-#X connect 19 0 5 0;
-#X connect 20 0 21 0;
-#X connect 20 0 22 0;
+#X msg 17 272 1 640 1 # 1;
+#X obj 299 131 #cast b;
+#X obj 457 130 #cast b;
+#X obj 261 266 #store (2 4 b #);
+#X text 267 248 convert bit matrix to rgba image;
+#X connect 0 0 55 0;
+#X connect 1 0 45 0;
+#X connect 2 0 45 1;
+#X connect 3 0 45 2;
+#X connect 4 0 45 3;
+#X connect 5 0 45 4;
+#X connect 6 0 45 5;
+#X connect 7 0 45 6;
+#X connect 8 0 45 7;
+#X connect 9 0 29 1;
+#X connect 10 0 26 0;
+#X connect 11 0 49 0;
+#X connect 13 0 44 1;
+#X connect 17 0 56 0;
+#X connect 18 0 2 0;
+#X connect 18 0 3 0;
+#X connect 18 0 7 0;
+#X connect 18 0 5 0;
+#X connect 19 0 20 0;
+#X connect 19 0 21 0;
+#X connect 20 0 33 0;
 #X connect 21 0 34 0;
-#X connect 22 0 35 0;
-#X connect 25 0 28 0;
-#X connect 25 1 29 1;
-#X connect 26 0 57 0;
-#X connect 27 0 36 0;
-#X connect 27 0 45 0;
-#X connect 28 0 61 0;
+#X connect 24 0 27 0;
+#X connect 24 1 28 1;
+#X connect 25 0 54 0;
+#X connect 26 0 35 0;
+#X connect 26 0 44 0;
+#X connect 27 0 58 0;
+#X connect 28 0 29 0;
 #X connect 29 0 30 0;
-#X connect 30 0 31 0;
-#X connect 31 0 27 1;
-#X connect 32 0 33 0;
-#X connect 33 0 9 0;
-#X connect 34 0 55 0;
-#X connect 35 0 54 0;
-#X connect 36 0 25 0;
-#X connect 37 0 32 0;
-#X connect 45 0 56 0;
-#X connect 46 0 37 0;
-#X connect 49 0 60 0;
-#X connect 51 0 27 0;
-#X connect 52 0 53 0;
-#X connect 54 0 56 1;
-#X connect 55 0 56 1;
-#X connect 56 0 53 0;
-#X connect 57 0 27 1;
-#X connect 58 0 26 0;
-#X connect 59 0 49 0;
-#X connect 60 0 27 1;
-#X connect 61 0 29 0;
+#X connect 30 0 26 1;
+#X connect 31 0 32 0;
+#X connect 32 0 9 0;
+#X connect 33 0 59 0;
+#X connect 34 0 60 0;
+#X connect 35 0 24 0;
+#X connect 36 0 31 0;
+#X connect 44 0 61 0;
+#X connect 45 0 36 0;
+#X connect 47 0 57 0;
+#X connect 49 0 26 0;
+#X connect 50 0 51 0;
+#X connect 52 0 61 1;
+#X connect 53 0 61 1;
+#X connect 54 0 26 1;
+#X connect 55 0 25 0;
+#X connect 56 0 47 0;
+#X connect 57 0 26 1;
+#X connect 58 0 28 0;
+#X connect 59 0 53 0;
+#X connect 60 0 52 0;
+#X connect 61 0 51 0;



More information about the Gridflow-cvs mailing list