[Gridflow-cvs] [svn] commit: r6534 - in /trunk/examples: bezier.pd polygon.pd sand.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Feb 3 23:47:04 EST 2011


Author: matju
Date: Thu Feb  3 23:47:04 2011
New Revision: 6534

Log:
seedless

Modified:
    trunk/examples/bezier.pd
    trunk/examples/polygon.pd
    trunk/examples/sand.pd

Modified: trunk/examples/bezier.pd
==============================================================================
--- trunk/examples/bezier.pd (original)
+++ trunk/examples/bezier.pd Thu Feb  3 23:47:04 2011
@@ -21,7 +21,6 @@
 #X obj 308 219 # * (4 f # 1 3 3 1);
 #X obj 308 257 #cast i;
 #X obj 501 221 #cast f;
-#X obj 308 238 #inner \, seed (f #);
 #X msg 64 232 draw \$1;
 #X obj 64 166 vradio 15 1 1 3 empty empty empty 0 -8 0 10 -204800 -1
 -1 0;
@@ -35,32 +34,33 @@
 #X msg 139 135 omit none;
 #X msg 139 155 omit last;
 #X msg 139 175 omit odd;
+#X obj 308 238 #inner;
 #X connect 0 0 6 0;
 #X connect 1 0 20 0;
 #X connect 2 0 17 0;
 #X connect 2 1 15 0;
 #X connect 3 0 18 0;
 #X connect 4 0 12 0;
-#X connect 4 1 25 0;
+#X connect 4 1 24 0;
 #X connect 6 0 4 0;
-#X connect 12 0 28 0;
-#X connect 13 0 29 0;
-#X connect 14 0 26 0;
+#X connect 12 0 27 0;
+#X connect 13 0 28 0;
+#X connect 14 0 25 0;
 #X connect 15 0 16 0;
 #X connect 16 0 3 1;
 #X connect 17 0 3 0;
-#X connect 18 0 21 0;
-#X connect 19 0 28 2;
-#X connect 20 0 21 1;
-#X connect 21 0 19 0;
-#X connect 22 0 28 0;
-#X connect 23 0 24 0;
-#X connect 24 0 22 0;
-#X connect 25 0 14 0;
-#X connect 26 0 2 0;
-#X connect 27 0 5 0;
-#X connect 28 0 27 0;
-#X connect 29 0 1 0;
-#X connect 30 0 28 0;
-#X connect 31 0 28 0;
-#X connect 32 0 28 0;
+#X connect 18 0 32 0;
+#X connect 19 0 27 2;
+#X connect 20 0 32 1;
+#X connect 21 0 27 0;
+#X connect 22 0 23 0;
+#X connect 23 0 21 0;
+#X connect 24 0 14 0;
+#X connect 25 0 2 0;
+#X connect 26 0 5 0;
+#X connect 27 0 26 0;
+#X connect 28 0 1 0;
+#X connect 29 0 27 0;
+#X connect 30 0 27 0;
+#X connect 31 0 27 0;
+#X connect 32 0 19 0;

Modified: trunk/examples/polygon.pd
==============================================================================
--- trunk/examples/polygon.pd (original)
+++ trunk/examples/polygon.pd Thu Feb  3 23:47:04 2011
@@ -6,7 +6,7 @@
 #X obj 35 64 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
 #X obj 35 427 #out window;
 #X obj 468 50 vsl 15 137 0 36000 0 1 empty empty empty -2 -6 0 8 -260818
--1 -1 3400 1;
+-1 -1 10900 1;
 #N canvas 0 0 415 291 create 0;
 #X msg 104 43 0 \$1;
 #X obj 5 86 # +;
@@ -51,7 +51,7 @@
 #X obj 35 100 t b b b;
 #X floatatom 469 194 6 0 0 0 - - -;
 #X obj 81 216 loadbang;
-#X obj 87 342 tgl 15 1 empty empty empty 0 -6 0 8 -241291 -1 -1 1 1
+#X obj 87 342 tgl 15 1 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
 ;
 #X text 105 341 blur;
 #X msg 81 236 240 320 3 b # 0;
@@ -71,8 +71,6 @@
 #X obj 35 366 shunt;
 #X obj 78 129 + 1;
 #X obj 54 129 f;
-#X obj 236 315 #convolve (1 3 b # 1 2 1) \, seed (b # 0);
-#X obj 236 353 #convolve (3 1 b # 1 2 1) \, seed (b # 0);
 #X obj 54 177 # >> 4;
 #X obj 311 116 shunt;
 #X obj 348 117 tgl 15 1 empty empty empty 0 -6 0 8 -241291 -1 -1 0
@@ -80,14 +78,16 @@
 #X obj 311 173 expr $f1*$f1/2;
 #X obj 329 146 expr 5000*cos($f1/100);
 #X obj 35 81 metro 16.6666;
+#X obj 236 315 #convolve (1 3 b # 1 2 1);
+#X obj 236 353 #convolve (3 1 b # 1 2 1);
 #X connect 0 0 24 0;
 #X connect 0 0 25 0;
 #X connect 1 0 8 0;
 #X connect 2 0 0 0;
-#X connect 3 0 35 0;
+#X connect 3 0 33 0;
 #X connect 5 0 9 0;
 #X connect 6 0 0 2;
-#X connect 7 0 30 0;
+#X connect 7 0 28 0;
 #X connect 8 0 2 0;
 #X connect 8 1 27 0;
 #X connect 8 2 6 0;
@@ -98,10 +98,10 @@
 #X connect 14 0 0 1;
 #X connect 15 0 4 0;
 #X connect 16 0 25 1;
-#X connect 17 0 28 0;
+#X connect 17 0 34 0;
 #X connect 19 0 15 0;
 #X connect 20 0 27 1;
-#X connect 21 0 29 0;
+#X connect 21 0 35 0;
 #X connect 22 0 20 0;
 #X connect 22 0 13 0;
 #X connect 24 0 2 1;
@@ -111,13 +111,13 @@
 #X connect 26 0 27 1;
 #X connect 27 0 7 0;
 #X connect 27 0 26 0;
-#X connect 27 0 31 0;
-#X connect 28 0 21 0;
-#X connect 29 0 2 1;
-#X connect 30 0 14 0;
-#X connect 31 0 33 0;
-#X connect 31 1 34 0;
-#X connect 32 0 31 1;
-#X connect 33 0 6 1;
-#X connect 34 0 6 1;
-#X connect 35 0 8 0;
+#X connect 27 0 29 0;
+#X connect 28 0 14 0;
+#X connect 29 0 31 0;
+#X connect 29 1 32 0;
+#X connect 30 0 29 1;
+#X connect 31 0 6 1;
+#X connect 32 0 6 1;
+#X connect 33 0 8 0;
+#X connect 34 0 21 0;
+#X connect 35 0 2 1;

Modified: trunk/examples/sand.pd
==============================================================================
--- trunk/examples/sand.pd (original)
+++ trunk/examples/sand.pd Thu Feb  3 23:47:04 2011
@@ -5,17 +5,14 @@
 #X obj 8 392 s position;
 #X obj 192 49 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1
 ;
-#X obj 283 390 #to_float;
 #X obj 192 102 #store;
 #X obj 295 123 # / 2;
 #X obj 283 352 #ravel;
 #X obj 34 116 s size;
 #X obj 283 371 #fold +;
-#X obj 392 327 #to_float;
 #X obj 392 289 #ravel;
 #X obj 253 179 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
 1;
-#X obj 344 390 #to_float;
 #X obj 295 55 r position;
 #X obj 2 190 shunt 3;
 #X obj 197 85 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
@@ -137,43 +134,43 @@
 #X obj -3 266 outlet;
 #X obj -3 18 inlet;
 #X obj -3 37 #t;
-#X text 242 38 colourise the horizontal differences;
-#X text 243 88 colourise the vertical differences;
+#X text 182 38 colourise the horizontal differences;
+#X text 183 88 colourise the vertical differences;
 #X text 26 321 which is x^3 - 8x^2 + 8x - 1 = (x^2 - 7x - 1)(x-1);
 #X obj 118 154 # +;
 #X obj -3 190 # +;
 #X obj 21 37 t a a;
-#X text 371 73 red/cyan;
-#X text 371 123 green/purple;
+#X text 311 73 red/cyan;
+#X text 311 123 green/purple;
 #X text 25 306 a slightly nicer looking [#convolve] used this:;
 #X text 305 306 (1 8 8 1) \, fold inv+;
 #X text 26 334 and a factorisable polynomial = a [#convolve] that can
 be replaced by a sequence of two [#convolve].;
-#X obj 227 54 #convolve (1 2 s # 1 1) \, fold inv+ \, seed (s #);
-#X obj 227 73 #outer & (3 s # -1 0 0);
-#X obj 227 125 #outer & (3 s # 0 -1 0);
+#X obj 167 73 #outer & (3 s # -1 0 0);
+#X obj 167 125 #outer & (3 s # 0 -1 0);
 #X obj 118 173 # << (s # 3);
 #X obj -3 209 # << (s # 2);
 #X obj -3 228 # + (3 s # 220 200 180);
 #X obj -3 247 #clip (s #) (s # 255);
-#X obj -3 98 #inner (1 3 s # 1 1 1) \, seed (s #);
-#X obj 227 106 #convolve (2 1 s # 1 1) \, fold inv+ \, seed (s #);
+#X obj -3 98 #inner (1 3 s # 1 1 1);
+#X obj 167 106 #convolve (2 1 s # 1 1) \, fold inv+;
+#X obj 167 54 #convolve (1 2 s # 1 1) \, fold inv+;
 #X connect 1 0 2 0;
-#X connect 2 0 21 0;
+#X connect 2 0 20 0;
 #X connect 2 1 8 0;
-#X connect 6 0 17 0;
-#X connect 7 0 18 0;
-#X connect 8 0 22 0;
-#X connect 8 1 14 0;
-#X connect 14 0 15 0;
-#X connect 15 0 6 1;
-#X connect 16 0 6 0;
-#X connect 17 0 7 1;
+#X connect 6 0 16 0;
+#X connect 7 0 17 0;
+#X connect 8 0 21 0;
+#X connect 8 1 22 0;
+#X connect 14 0 6 1;
+#X connect 15 0 6 0;
+#X connect 16 0 7 1;
+#X connect 17 0 18 0;
 #X connect 18 0 19 0;
-#X connect 19 0 20 0;
-#X connect 20 0 0 0;
-#X connect 21 0 7 0;
-#X connect 22 0 16 0;
+#X connect 19 0 0 0;
+#X connect 20 0 7 0;
+#X connect 21 0 15 0;
+#X connect 22 0 14 0;
 #X restore 21 288 pd lighting;
 #X obj 308 240 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
 1;
@@ -182,11 +179,11 @@
 -1 1;
 #X obj 2 372 #out window;
 #X obj 283 411 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
--262144 -1 -1 299 256;
+-262144 -1 -1 0 256;
 #X obj 344 411 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
--262144 -1 -1 374 256;
+-262144 -1 -1 0 256;
 #X obj 392 346 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
--262144 -1 -1 -134 256;
+-262144 -1 -1 0 256;
 #X text 87 216 differential;
 #X text 86 201 heightmap;
 #X text 86 232 topographic;
@@ -201,25 +198,25 @@
 #N canvas 0 0 522 250 topographic 0;
 #X obj 35 18 inlet;
 #X obj 35 189 outlet;
-#X obj 257 170 #greyscale_to_rgb;
-#X obj 35 37 #convolve (3 3 s # 1 2 1 2 4 2) \, seed (s #);
+#X obj 187 170 #greyscale_to_rgb;
 #X obj 35 56 # & (s # 127);
 #X obj 35 75 # abs- (s # 108);
 #X obj 35 94 # min (s # 20);
 #X obj 35 113 # inv+ (s # 20);
 #X obj 35 132 # << (s # 4);
 #X obj 35 151 #clip (s #) (s # 255);
-#X obj 35 170 #inner (1 3 s # 1 1 1) \, seed (s #);
-#X text 245 168 =;
-#X connect 0 0 3 0;
+#X text 175 168 =;
+#X obj 35 37 #convolve (3 3 s # 1 2 1 2 4 2);
+#X obj 35 170 #inner (1 3 s # 1 1 1);
+#X connect 0 0 10 0;
 #X connect 3 0 4 0;
 #X connect 4 0 5 0;
 #X connect 5 0 6 0;
 #X connect 6 0 7 0;
 #X connect 7 0 8 0;
-#X connect 8 0 9 0;
-#X connect 9 0 10 0;
-#X connect 10 0 1 0;
+#X connect 8 0 11 0;
+#X connect 10 0 3 0;
+#X connect 11 0 1 0;
 #X restore 41 307 pd topographic;
 #X text -1 24 Copyright 2002 \, 2006 Mathieu Bouchard;
 #X obj 344 333 # abs-;
@@ -235,44 +232,42 @@
 #X obj 0 0 doc_demo;
 #X obj 2 411 fps;
 #X floatatom 2 430 5 0 0 0 - - -;
-#N canvas 597 106 650 380 falling_sand 0;
-#X obj 12 204 # +;
-#X text 209 199 vertical falling;
-#X obj 12 40 inlet;
-#X obj 12 223 # +;
-#X obj 12 266 # +;
-#X text 200 139 horizontal falling;
-#X obj 12 285 # +;
+#N canvas 790 230 663 420 falling_sand 0;
+#X obj 12 234 # +;
+#X text 209 229 vertical falling;
+#X obj 12 70 inlet;
+#X obj 12 253 # +;
+#X obj 12 296 # +;
+#X text 200 169 horizontal falling;
+#X obj 12 315 # +;
 #X obj 12 342 outlet;
-#X text 237 80 bug;
-#X obj 12 103 #t;
-#X obj 12 59 t a b;
-#X obj 92 120 # +;
-#X obj 72 41 # / 4;
-#X text 107 39 this is _NOT_ the same as >> 2;
-#X obj 72 3 loadbang;
-#X obj 39 204 #store;
-#X obj 39 223 #store;
-#X obj 39 266 #store;
-#X obj 39 285 #store;
-#X obj 72 22 #for -128 128;
-#X obj 129 62 #store (1111 # 128);
-#X msg 171 81 3072 # 128;
-#X obj 129 81 # rand;
-#X obj 129 100 # - 32;
-#X obj 129 119 # div 50;
-#X obj 129 138 #cast s;
-#X obj 72 60 #cast s;
-#X obj 92 157 #convolve (1 2 s # 1 1) \, fold inv+ \, seed (s # 128)
-;
-#X obj 92 176 #convolve (1 3 s # 1 1 0) \, fold inv+ \, seed (s # 128)
-;
-#X obj 92 219 #convolve (2 1 s # 1 1) \, fold inv+ \, seed (s # 128)
-;
-#X obj 92 238 #convolve (3 1 s # 1 1 0) \, fold inv+ \, seed (s # 128)
-;
-#X obj 39 10 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+#X text 237 110 bug;
+#X obj 12 133 #t;
+#X obj 12 89 t a b;
+#X obj 92 150 # +;
+#X obj 72 71 # / 4;
+#X text 107 69 this is _NOT_ the same as >> 2;
+#X obj 72 -5 loadbang;
+#X obj 39 234 #store;
+#X obj 39 253 #store;
+#X obj 39 296 #store;
+#X obj 39 315 #store;
+#X obj 129 92 #store (1111 # 128);
+#X msg 171 111 3072 # 128;
+#X obj 129 111 # rand;
+#X obj 129 130 # - 32;
+#X obj 129 149 # div 50;
+#X obj 129 168 #cast s;
+#X obj 72 90 #cast s;
+#X obj 55 -4 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
+#X obj 92 187 #convolve (1 2 s # 1 1) \, fold inv+;
+#X obj 72 52 # - 128;
+#X obj 72 14 #for -128 128;
+#X obj 72 33 # & 255;
+#X obj 92 206 #convolve (1 3 s # 1 1 0) \, fold inv+;
+#X obj 92 249 #convolve (2 1 s # 1 1) \, fold inv+;
+#X obj 92 268 #convolve (3 1 s # 1 1 0) \, fold inv+;
 #X connect 0 0 3 0;
 #X connect 2 0 10 0;
 #X connect 3 0 4 0;
@@ -281,107 +276,112 @@
 #X connect 9 0 0 0;
 #X connect 9 1 11 0;
 #X connect 10 0 9 0;
-#X connect 10 1 20 0;
+#X connect 10 1 19 0;
 #X connect 11 0 27 0;
-#X connect 11 0 28 0;
-#X connect 11 0 29 0;
-#X connect 11 0 30 0;
-#X connect 12 0 26 0;
-#X connect 14 0 19 0;
+#X connect 11 0 31 0;
+#X connect 11 0 32 0;
+#X connect 11 0 33 0;
+#X connect 12 0 25 0;
+#X connect 14 0 29 0;
 #X connect 15 0 0 1;
 #X connect 16 0 3 1;
 #X connect 17 0 4 1;
 #X connect 18 0 6 1;
-#X connect 19 0 12 0;
-#X connect 20 0 22 0;
+#X connect 19 0 21 0;
+#X connect 20 0 21 0;
 #X connect 21 0 22 0;
 #X connect 22 0 23 0;
 #X connect 23 0 24 0;
-#X connect 24 0 25 0;
-#X connect 25 0 11 1;
-#X connect 26 0 15 1;
-#X connect 26 0 16 1;
-#X connect 26 0 17 1;
-#X connect 26 0 18 1;
+#X connect 24 0 11 1;
+#X connect 25 0 15 1;
+#X connect 25 0 16 1;
+#X connect 25 0 17 1;
+#X connect 25 0 18 1;
+#X connect 26 0 29 0;
 #X connect 27 0 15 0;
-#X connect 28 0 16 0;
-#X connect 29 0 17 0;
-#X connect 30 0 18 0;
-#X connect 31 0 19 0;
+#X connect 28 0 12 0;
+#X connect 29 0 30 0;
+#X connect 30 0 28 0;
+#X connect 31 0 16 0;
+#X connect 32 0 17 0;
+#X connect 33 0 18 0;
 #X restore 217 197 pd falling_sand;
-#X msg 2 135 \$1 \$2 1 s # 0;
 #X obj 305 260 #cast s;
 #N canvas 0 0 450 300 heightmap 0;
 #X obj 16 18 inlet;
-#X obj 237 75 #greyscale_to_rgb;
+#X obj 167 75 #greyscale_to_rgb;
 #X obj 16 37 # << (s # 2);
 #X obj 16 56 # + (s # 128);
-#X obj 16 75 #inner (1 3 s # 1 1 1) \, seed (s #);
 #X obj 16 94 #clip (s #) (s # 255);
-#X text 226 75 =;
+#X text 156 75 =;
 #X obj 16 113 outlet;
+#X obj 16 75 #inner (1 3 s # 1 1 1);
 #X connect 0 0 2 0;
 #X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 4 0 5 0;
-#X connect 5 0 7 0;
+#X connect 3 0 7 0;
+#X connect 4 0 6 0;
+#X connect 7 0 4 0;
 #X restore 2 269 pd heightmap;
 #X obj 192 66 metro 20;
-#X connect 1 0 61 0;
-#X connect 1 1 9 0;
-#X connect 2 0 14 0;
-#X connect 4 0 64 0;
-#X connect 5 0 31 0;
-#X connect 6 0 49 0;
-#X connect 7 0 19 1;
-#X connect 8 0 10 0;
-#X connect 10 0 5 0;
-#X connect 11 0 33 0;
-#X connect 12 0 23 0;
-#X connect 13 0 50 1;
-#X connect 14 0 32 0;
-#X connect 15 0 48 0;
-#X connect 16 0 63 0;
-#X connect 16 1 26 0;
-#X connect 16 2 45 0;
-#X connect 17 0 6 0;
-#X connect 19 0 50 0;
-#X connect 20 0 47 0;
-#X connect 20 0 52 0;
-#X connect 21 0 2 0;
-#X connect 22 0 1 0;
-#X connect 23 0 11 0;
-#X connect 26 0 56 0;
-#X connect 27 0 51 1;
-#X connect 29 0 16 1;
-#X connect 30 0 3 0;
-#X connect 30 0 58 0;
-#X connect 37 0 16 0;
-#X connect 37 1 6 1;
-#X connect 38 0 37 0;
-#X connect 38 1 51 0;
-#X connect 39 0 22 0;
-#X connect 40 0 20 1;
-#X connect 40 1 20 0;
-#X connect 42 0 43 0;
-#X connect 43 0 29 0;
-#X connect 44 0 1 0;
-#X connect 45 0 56 0;
-#X connect 47 0 21 0;
-#X connect 48 0 7 0;
-#X connect 48 1 7 0;
-#X connect 48 4 49 1;
-#X connect 49 0 50 0;
-#X connect 49 1 19 0;
-#X connect 50 0 60 0;
-#X connect 50 1 38 0;
-#X connect 51 0 62 0;
-#X connect 52 0 8 0;
-#X connect 56 0 30 0;
-#X connect 58 0 59 0;
-#X connect 60 0 38 0;
-#X connect 61 0 37 0;
-#X connect 62 0 40 0;
-#X connect 62 0 12 0;
-#X connect 63 0 56 0;
-#X connect 64 0 6 0;
+#X obj 283 390 #to_f;
+#X obj 344 390 #to_f;
+#X obj 392 327 #to_f;
+#X msg 2 135 \$1 \$2 1 s #;
+#X connect 1 0 64 0;
+#X connect 1 1 8 0;
+#X connect 2 0 62 0;
+#X connect 4 0 60 0;
+#X connect 5 0 46 0;
+#X connect 6 0 16 1;
+#X connect 7 0 9 0;
+#X connect 9 0 61 0;
+#X connect 10 0 20 0;
+#X connect 11 0 47 1;
+#X connect 12 0 45 0;
+#X connect 13 0 59 0;
+#X connect 13 1 23 0;
+#X connect 13 2 42 0;
+#X connect 14 0 5 0;
+#X connect 16 0 47 0;
+#X connect 17 0 44 0;
+#X connect 17 0 49 0;
+#X connect 18 0 2 0;
+#X connect 19 0 1 0;
+#X connect 20 0 63 0;
+#X connect 23 0 53 0;
+#X connect 24 0 48 1;
+#X connect 26 0 13 1;
+#X connect 27 0 3 0;
+#X connect 27 0 55 0;
+#X connect 34 0 13 0;
+#X connect 34 1 5 1;
+#X connect 35 0 34 0;
+#X connect 35 1 48 0;
+#X connect 36 0 19 0;
+#X connect 37 0 17 1;
+#X connect 37 1 17 0;
+#X connect 39 0 40 0;
+#X connect 40 0 26 0;
+#X connect 41 0 1 0;
+#X connect 42 0 53 0;
+#X connect 44 0 18 0;
+#X connect 45 0 6 0;
+#X connect 45 1 6 0;
+#X connect 45 4 46 1;
+#X connect 46 0 47 0;
+#X connect 46 1 16 0;
+#X connect 47 0 57 0;
+#X connect 47 1 35 0;
+#X connect 48 0 58 0;
+#X connect 49 0 7 0;
+#X connect 53 0 27 0;
+#X connect 55 0 56 0;
+#X connect 57 0 35 0;
+#X connect 58 0 37 0;
+#X connect 58 0 10 0;
+#X connect 59 0 53 0;
+#X connect 60 0 5 0;
+#X connect 61 0 28 0;
+#X connect 62 0 29 0;
+#X connect 63 0 30 0;
+#X connect 64 0 34 0;



More information about the Gridflow-cvs mailing list