[Gridflow-cvs] [svn] commit: r5147 - /trunk/examples/instant_blur.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Mar 24 00:17:36 EDT 2010


Author: matju
Date: Wed Mar 24 00:17:34 2010
New Revision: 5147

Log:
much faster

Modified:
    trunk/examples/instant_blur.pd

Modified: trunk/examples/instant_blur.pd
==============================================================================
--- trunk/examples/instant_blur.pd (original)
+++ trunk/examples/instant_blur.pd Wed Mar 24 00:17:34 2010
@@ -1,67 +1,40 @@
 #N canvas 477 0 743 530 10;
 #X obj 13 204 #cast f;
 #X obj 13 280 #cast i;
-#X obj 50 59 #in teapot.png;
-#X obj 193 46 loadbang;
-#X obj 13 223 #fft;
-#X obj 13 356 #out window;
-#X obj 293 270 #fft;
-#X obj 293 289 # / (f # 256);
-#X text 244 331 B->RGB;
-#X obj 348 23 #for (-128 -128) (128 128) (1 1);
-#X obj 175 65 t b b;
-#X obj 175 48 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X text 223 365 B->RGB;
+#X obj 348 33 #for (-128 -128) (128 128) (1 1);
+#X obj 139 26 t b b;
+#X obj 55 79 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
+;
+#X obj 317 232 #fold +;
+#X obj 175 26 metro 33.3667;
+#X obj 175 9 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
+#X obj 348 71 # sq- 128;
+#X obj 213 401 #cast i;
+#X obj 348 90 #fold +;
+#X obj 348 109 #cast f;
+#X obj 213 382 # * (f # 255);
+#X obj 25 177 #remap_image;
+#X obj 111 158 # - 128;
+#X obj 111 196 # + 128;
+#X floatatom 164 179 5 0 0 0 - - -;
+#X obj 111 177 # *>>8;
+#X obj 385 232 #import () f;
+#X obj 13 242 # C.*;
+#X obj 385 133 loadbang;
+#X obj 93 79 loadbang;
+#X obj 385 175 f;
+#X obj 293 115 t b b;
+#X obj 213 439 #remap_image;
+#X obj 291 439 # + 128;
+#X msg 164 160 256;
+#X obj 164 141 loadbang;
+#X obj 293 194 # <=;
+#X obj 213 458 #outer ignore (3 #);
+#X obj 293 134 #store;
+#X obj 348 14 loadbang;
+#X obj 331 34 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
-#X obj 50 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
-;
-#X obj 293 213 #t;
-#X obj 318 232 #fold +;
-#X obj 318 213 #ravel;
-#X obj 13 337 #gamma 512;
-#X obj 13 375 fps;
-#X floatatom 13 394 5 0 0 0 - - -;
-#X obj 175 26 metro 33.3667;
-#X obj 175 9 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
-#X obj 348 61 # sq- 128;
-#X obj 234 443 #out window;
-#X obj 234 367 #cast i;
-#X obj 348 80 #fold +;
-#X obj 348 99 #cast f;
-#X obj 13 78 #store;
-#X obj 234 348 # * (f # 255);
-#X obj 13 137 #remap_image;
-#X obj 111 118 # - 128;
-#X obj 111 156 # + 128;
-#X floatatom 164 139 5 0 0 0 - - -;
-#X obj 111 137 # *>>8;
-#X obj 13 261 #fft \, sign 1;
-#X obj 385 224 #import () f;
-#X obj 13 242 # C.*;
-#X obj 293 232 # /;
-#X obj 385 125 loadbang;
-#X obj 13 318 #inner (2 # 1 0);
-#X obj 293 251 #outer * (3 2 f # 1 0);
-#X obj 13 185 #outer & (-1 0);
-#X obj 67 39 loadbang;
-#X obj 385 167 f;
-#X obj 293 115 t b b;
-#X obj 234 405 #remap_image;
-#X obj 330 405 # + 128;
-#X msg 164 120 256;
-#X obj 164 101 loadbang;
-#X obj 435 167 mod 150;
-#X obj 410 167 - 1;
-#X obj 385 186 - 75;
-#X obj 293 194 # <=;
-#X obj 234 424 #outer ignore (3 #);
-#X obj 385 205 expr pow($f1 \, 4)/666;
-#X obj 348 42 # & 255;
-#X obj 293 134 #store;
-#X obj 348 4 loadbang;
-#X obj 331 23 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X msg 385 144 75;
-#X obj 13 299 # >> 8;
 #X obj 463 391 # **;
 #X obj 463 353 t a a;
 #X obj 463 372 # put (f # 0.99);
@@ -69,74 +42,124 @@
 #X floatatom 570 299 5 0 0 0 - - -;
 #X obj 570 315 #import () f;
 #X obj 570 353 # inv+ (f # 1);
-#X connect 0 0 4 0;
-#X connect 1 0 59 0;
-#X connect 2 0 26 1;
-#X connect 3 0 11 0;
-#X connect 4 0 35 0;
-#X connect 5 0 17 0;
-#X connect 6 0 7 0;
-#X connect 7 0 35 1;
-#X connect 9 0 54 0;
-#X connect 10 0 26 0;
-#X connect 10 1 43 0;
-#X connect 11 0 10 0;
-#X connect 12 0 2 0;
-#X connect 13 0 36 0;
-#X connect 13 0 27 0;
-#X connect 13 1 15 0;
-#X connect 14 0 36 1;
-#X connect 15 0 14 0;
-#X connect 16 0 5 0;
-#X connect 17 0 18 0;
-#X connect 19 0 11 0;
-#X connect 20 0 19 0;
-#X connect 21 0 24 0;
-#X connect 23 0 44 0;
-#X connect 24 0 25 0;
-#X connect 25 0 55 1;
-#X connect 26 0 28 0;
-#X connect 27 0 23 0;
-#X connect 28 0 40 0;
-#X connect 28 1 29 0;
-#X connect 29 0 32 0;
-#X connect 30 0 28 1;
-#X connect 31 0 32 1;
-#X connect 32 0 30 0;
-#X connect 33 0 1 0;
-#X connect 34 0 51 1;
-#X connect 35 0 33 0;
-#X connect 36 0 39 0;
-#X connect 37 0 58 0;
-#X connect 38 0 16 0;
-#X connect 39 0 6 0;
-#X connect 40 0 0 0;
-#X connect 41 0 2 0;
-#X connect 42 0 49 0;
-#X connect 42 0 50 0;
-#X connect 43 0 55 0;
-#X connect 43 1 42 0;
-#X connect 44 0 52 0;
-#X connect 44 1 45 0;
-#X connect 45 0 44 1;
-#X connect 46 0 31 0;
-#X connect 47 0 46 0;
-#X connect 48 0 42 1;
-#X connect 49 0 48 0;
-#X connect 50 0 53 0;
-#X connect 51 0 13 0;
-#X connect 52 0 22 0;
-#X connect 53 0 34 0;
-#X connect 54 0 21 0;
-#X connect 55 0 51 0;
-#X connect 56 0 9 0;
-#X connect 57 0 9 0;
-#X connect 58 0 42 0;
-#X connect 59 0 38 0;
-#X connect 61 0 62 0;
-#X connect 61 1 60 1;
-#X connect 62 0 60 0;
-#X connect 63 0 66 0;
-#X connect 64 0 65 0;
-#X connect 65 0 63 0;
-#X connect 66 0 62 1;
+#X obj 213 336 spigot;
+#X obj 329 353 tgl 15 0 empty empty empty 17 7 0 10 -262130 -1 -1 1
+1;
+#X obj 213 477 #window;
+#X obj 329 334 loadbang;
+#X obj 13 152 shunt;
+#X obj 49 153 tgl 15 0 empty empty empty 17 7 0 10 -262130 -1 -1 0
+1;
+#X obj 13 397 #out window;
+#X obj 13 416 fps;
+#X floatatom 13 435 5 0 0 0 - - -;
+#X obj 13 378 #gamma 512;
+#X obj 293 270 #outer ignore (3 f #);
+#X obj 410 175 + 1;
+#X msg 385 152 25;
+#X obj 293 213 #t;
+#X obj 317 213 #fold +;
+#X obj 545 179 inv*;
+#X obj 545 198 display;
+#X msg 545 160 256;
+#X obj 293 251 # *;
+#X obj 437 175 mod 100;
+#X obj 385 194 - 50;
+#X text 440 194 50 25 4 14;
+#X obj 13 223 #fft \, real;
+#X obj 13 261 #fft \, real \, sign 1;
+#X msg 489 67 120 160;
+#X obj 488 111 # * -1;
+#X obj 490 90 t a a;
+#X obj 554 89 # * 2;
+#X obj 385 213 expr pow($f1 \, 4)/100;
+#X obj 293 289 #fft \, real;
+#X obj 317 251 # inv* (f # 0.003906);
+#X obj 13 54 #store;
+#X obj 76 99 #in teapot.png;
+#X obj 348 52 # % 256;
+#X obj 13 299 # >> 8;
+#X connect 0 0 63 0;
+#X connect 1 0 75 0;
+#X connect 3 0 74 0;
+#X connect 4 0 72 0;
+#X connect 4 1 24 0;
+#X connect 5 0 73 0;
+#X connect 6 0 71 0;
+#X connect 7 0 4 0;
+#X connect 8 0 7 0;
+#X connect 9 0 11 0;
+#X connect 10 0 25 0;
+#X connect 11 0 12 0;
+#X connect 12 0 31 1;
+#X connect 13 0 10 0;
+#X connect 14 0 0 0;
+#X connect 14 1 15 0;
+#X connect 15 0 18 0;
+#X connect 16 0 14 1;
+#X connect 17 0 18 1;
+#X connect 18 0 16 0;
+#X connect 19 0 29 1;
+#X connect 20 0 64 0;
+#X connect 21 0 53 0;
+#X connect 22 0 73 0;
+#X connect 23 0 52 0;
+#X connect 23 0 61 0;
+#X connect 24 0 31 0;
+#X connect 24 1 23 0;
+#X connect 25 0 30 0;
+#X connect 25 1 26 0;
+#X connect 26 0 25 1;
+#X connect 27 0 17 0;
+#X connect 28 0 27 0;
+#X connect 29 0 41 0;
+#X connect 29 0 54 0;
+#X connect 30 0 43 0;
+#X connect 31 0 29 0;
+#X connect 32 0 3 0;
+#X connect 33 0 3 0;
+#X connect 35 0 36 0;
+#X connect 35 1 34 1;
+#X connect 36 0 34 0;
+#X connect 37 0 40 0;
+#X connect 38 0 39 0;
+#X connect 39 0 37 0;
+#X connect 40 0 36 1;
+#X connect 41 0 13 0;
+#X connect 42 0 41 1;
+#X connect 42 0 43 1;
+#X connect 44 0 42 0;
+#X connect 45 0 0 0;
+#X connect 45 1 14 0;
+#X connect 46 0 45 1;
+#X connect 47 0 48 0;
+#X connect 48 0 49 0;
+#X connect 50 0 47 0;
+#X connect 51 0 70 0;
+#X connect 52 0 60 0;
+#X connect 53 0 23 0;
+#X connect 54 0 59 0;
+#X connect 54 1 55 0;
+#X connect 55 0 6 0;
+#X connect 56 0 57 0;
+#X connect 58 0 56 0;
+#X connect 59 0 51 0;
+#X connect 60 0 23 1;
+#X connect 61 0 69 0;
+#X connect 63 0 20 0;
+#X connect 64 0 1 0;
+#X connect 65 0 67 0;
+#X connect 65 0 68 0;
+#X connect 66 0 3 0;
+#X connect 67 0 66 0;
+#X connect 67 1 3 1;
+#X connect 67 1 9 1;
+#X connect 67 1 26 1;
+#X connect 68 0 74 1;
+#X connect 69 0 19 0;
+#X connect 70 0 20 1;
+#X connect 71 0 59 1;
+#X connect 72 0 45 0;
+#X connect 73 0 72 1;
+#X connect 74 0 9 0;
+#X connect 75 0 50 0;



More information about the Gridflow-cvs mailing list