[Gridflow-cvs] [svn] commit: r6238 - /trunk/examples/dither.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Sep 9 22:40:10 EDT 2010


Author: matju
Date: Thu Sep  9 22:40:07 2010
New Revision: 6238

Log:
added 8x8 circle mode, and rgb offset

Modified:
    trunk/examples/dither.pd

Modified: trunk/examples/dither.pd
==============================================================================
--- trunk/examples/dither.pd (original)
+++ trunk/examples/dither.pd Thu Sep  9 22:40:07 2010
@@ -1,64 +1,140 @@
-#N canvas 603 97 624 548 10;
-#X obj 15 164 #rgb_to_greyscale;
-#X obj 15 392 #out window;
+#N canvas 604 0 624 631 10;
+#X obj 15 264 #rgb_to_greyscale;
+#X obj 15 492 #out window;
 #X obj 15 50 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 1 1;
-#X obj 15 285 # > 128;
-#X obj 15 304 # * 255;
-#X obj 276 185 #for (0 0) (2 512) (1 1);
-#X obj 274 284 #for (0 0) (3 512) (1 1);
-#X obj 13 455 # * 255;
-#X obj 13 419 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+#X obj 15 412 # > 128;
+#X obj 15 431 # * 255;
+#X obj 276 165 #for (0 0) (2 512) (1 1);
+#X obj 274 264 #for (0 0) (3 512) (1 1);
+#X obj 13 566 # * 255;
+#X obj 13 530 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
-#X obj 14 496 display;
-#X obj 13 436 #for 0 10 1;
-#X obj 13 474 # / 10;
-#X obj 15 231 #gamma;
-#X floatatom 57 231 5 0 0 0 - - -;
-#X obj 276 242 # / 5;
-#X obj 276 223 # * 255;
-#X obj 274 323 # * 255;
-#X obj 274 342 # / 10;
-#X obj 274 423 # * 255;
-#X obj 274 442 # / 17;
-#X obj 274 384 #for (0 0) (4 512) (1 1);
-#X obj 276 204 #store (2 2 1 # 4 2 1 3);
-#X obj 274 304 #store (3 3 1 # 9 1 4 5 7 3 2 6 8);
-#X obj 54 259 shunt;
-#X obj 119 409 fps;
-#X floatatom 121 429 5 0 0 0 - - -;
+#X obj 13 604 display;
+#X obj 13 547 #for 0 10 1;
+#X obj 13 585 # / 10;
+#X obj 15 331 #gamma;
+#X floatatom 57 331 5 0 0 0 - - -;
+#X obj 276 222 # / 5;
+#X obj 276 203 # * 255;
+#X obj 274 303 # * 255;
+#X obj 274 322 # / 10;
+#X obj 274 403 # * 255;
+#X obj 274 422 # / 17;
+#X obj 274 364 #for (0 0) (4 512) (1 1);
+#X obj 276 184 #store (2 2 1 # 4 2 1 3);
+#X obj 274 284 #store (3 3 1 # 9 1 4 5 7 3 2 6 8);
+#X obj 54 386 shunt;
+#X obj 119 509 fps;
+#X floatatom 121 529 5 0 0 0 - - -;
 #X obj 15 67 metro 33.3333;
-#X msg 346 166 2 \$1;
-#X msg 344 265 3 \$1;
-#X msg 344 365 4 \$1;
-#X floatatom 412 161 5 0 0 0 - - -;
-#X obj 56 190 loadbang;
+#X msg 346 146 2 \$1;
+#X msg 344 245 3 \$1;
+#X msg 344 345 4 \$1;
+#X floatatom 412 141 5 0 0 0 - - -;
+#X obj 56 290 loadbang;
 #X obj 0 0 doc_demo;
-#X msg 56 210 128;
-#X obj 15 145 shunt;
-#X obj 105 144 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X msg 56 310 128;
+#X obj 15 245 shunt;
+#X obj 105 230 tgl 15 0 empty empty empty 17 7 0 10 -262130 -1 -1 1
 1;
 #X text 7 26 Copyright © 2009 \, 2010 by Mathieu Bouchard;
-#X msg 29 365 border 0 \, move 0 1280;
-#X obj 81 285 #greyscale_to_rgb;
-#X msg 322 423 4 4 1 # 1 2 6 7 3 5 8 13 4 9 12 14 10 11 15 16;
-#X msg 412 142 320;
-#X obj 15 337 #scale_by 2;
-#X obj 184 138 shunt 3;
-#X obj 15 92 t b b;
-#X obj 232 138 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -257985
--1 -1 1;
-#X obj 274 404 #store (4 4 1 # 1 9 4 12 13 5 16 8 3 11 2 10 15 7 14
+#X msg 22 471 border 0 \, move 0 1280;
+#X obj 81 445 #greyscale_to_rgb;
+#X msg 322 403 4 4 1 # 1 2 6 7 3 5 8 13 4 9 12 14 10 11 15 16;
+#X msg 412 122 320;
+#X obj 15 121 t b b;
+#X obj 232 95 vradio 15 1 0 4 empty empty empty 0 -8 0 10 -257985 -1
+-1 3;
+#X obj 412 103 loadbang;
+#X msg 21 178 pwc \, framerate 30;
+#X obj 15 198 #camera 0 \, size 240 320;
+#X text 440 121 width;
+#X text 121 228 couleur;
+#X text 364 415 click here for alternate pattern;
+#X obj 184 138 shunt 4;
+#X obj 274 507 #store;
+#X obj 274 526 # * 255;
+#X obj 274 545 # / 65;
+#X obj 441 449 loadbang;
+#X obj 424 489 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 441 506 #fold +;
+#X obj 441 525 #ravel;
+#X obj 441 544 #grade;
+#X obj 441 602 #redim (8 8 1);
+#X obj 274 488 #for (0 0) (8 512) (1 1);
+#X obj 442 468 #for (-15 -15) (16 16) (4 4);
+#X msg 344 469 8 \$1;
+#X obj 441 563 #grade;
+#X obj 200 225 t a;
+#X obj 81 405 shunt;
+#X obj 15 450 #scale_by;
+#N canvas 721 232 450 300 rgb_offset 0;
+#X obj 10 13 inlet;
+#X obj 10 127 outlet;
+#X obj 10 32 t a a;
+#X obj 10 51 #finished;
+#X obj 10 108 #store;
+#X obj 10 70 #for (0 0 0) (8 320 3) (1 1 1);
+#X obj 98 32 #dim;
+#X obj 98 51 # * (1 1 3);
+#X obj 10 89 #inner (3 2 # 1 0 0 1 3 2);
+#X obj 217 172 #pack (3 2);
+#X msg 217 39 1 0 0 1 3 2;
+#X obj 217 191 display;
+#X obj 217 17 loadbang;
+#X floatatom 280 114 5 0 0 0 - - -;
+#X floatatom 267 96 5 0 0 0 - - -;
+#X obj 329 12 r \$0-clock;
+#X obj 340 179 display;
+#X obj 329 61 #store (0 0);
+#X obj 339 106 #unpack;
+#X obj 329 31 spigot;
+#X obj 372 32 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 336 81 # + (5 7);
+#X obj 329 148 # >> 6;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 6 0;
+#X connect 2 1 4 1;
+#X connect 3 0 5 0;
+#X connect 4 0 1 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 0;
+#X connect 7 0 5 1;
+#X connect 8 0 4 0;
+#X connect 9 0 11 0;
+#X connect 9 0 8 1;
+#X connect 10 0 9 0;
+#X connect 12 0 10 0;
+#X connect 13 0 9 5;
+#X connect 14 0 9 4;
+#X connect 15 0 19 0;
+#X connect 17 0 21 0;
+#X connect 17 0 22 0;
+#X connect 18 0 9 4;
+#X connect 18 1 9 5;
+#X connect 19 0 17 0;
+#X connect 20 0 19 1;
+#X connect 21 0 17 1;
+#X connect 22 0 16 0;
+#X connect 22 0 18 0;
+#X restore 108 424 pd rgb_offset;
+#X obj 118 406 tgl 15 0 empty empty empty 17 7 0 10 -262130 -1 -1 1
+1;
+#X obj 21 87 s \$0-clock;
+#X obj 482 222 display;
+#X obj 482 196 #import;
+#X msg 483 170 3 3 # 9 1 4 5 7 3 2 6 8;
+#X obj 274 384 #store (4 4 1 # 1 9 4 12 13 5 16 8 3 11 2 10 15 7 14
 6);
-#X obj 412 123 loadbang;
-#X msg 114 90 pwc \, framerate 30;
-#X obj 15 118 #camera 0 \, size 240 320;
-#X text 440 141 width;
-#X text 121 142 couleur;
+#X obj 441 487 # abs-;
 #X connect 0 0 12 0;
 #X connect 1 0 24 0;
 #X connect 2 0 26 0;
 #X connect 3 0 4 0;
-#X connect 4 0 41 0;
+#X connect 4 0 65 0;
 #X connect 5 0 21 0;
 #X connect 6 0 22 0;
 #X connect 7 0 11 0;
@@ -67,25 +143,27 @@
 #X connect 11 0 9 0;
 #X connect 12 0 3 0;
 #X connect 13 0 12 1;
-#X connect 14 0 23 0;
+#X connect 14 0 63 0;
 #X connect 15 0 14 0;
 #X connect 16 0 17 0;
-#X connect 17 0 23 0;
+#X connect 17 0 63 0;
 #X connect 18 0 19 0;
-#X connect 19 0 23 0;
-#X connect 20 0 45 0;
+#X connect 19 0 63 0;
+#X connect 20 0 72 0;
 #X connect 21 0 15 0;
 #X connect 22 0 16 0;
 #X connect 23 0 3 1;
-#X connect 23 1 38 0;
+#X connect 23 1 64 0;
 #X connect 24 0 25 0;
-#X connect 26 0 43 0;
+#X connect 26 0 41 0;
+#X connect 26 0 68 0;
 #X connect 27 0 5 1;
 #X connect 28 0 6 1;
 #X connect 29 0 20 1;
 #X connect 30 0 27 0;
 #X connect 30 0 28 0;
 #X connect 30 0 29 0;
+#X connect 30 0 61 0;
 #X connect 31 0 33 0;
 #X connect 33 0 13 0;
 #X connect 34 0 0 0;
@@ -94,16 +172,38 @@
 #X connect 35 0 23 1;
 #X connect 37 0 1 0;
 #X connect 38 0 3 1;
-#X connect 39 0 45 1;
+#X connect 39 0 72 1;
 #X connect 40 0 30 0;
-#X connect 41 0 1 0;
-#X connect 42 0 5 0;
-#X connect 42 1 6 0;
-#X connect 42 2 20 0;
-#X connect 43 0 48 0;
-#X connect 43 1 42 0;
-#X connect 44 0 42 1;
-#X connect 45 0 18 0;
-#X connect 46 0 40 0;
-#X connect 47 0 48 0;
-#X connect 48 0 34 0;
+#X connect 41 0 45 0;
+#X connect 41 1 49 0;
+#X connect 42 0 49 1;
+#X connect 43 0 40 0;
+#X connect 44 0 45 0;
+#X connect 45 0 34 0;
+#X connect 49 0 5 0;
+#X connect 49 1 6 0;
+#X connect 49 2 20 0;
+#X connect 49 3 59 0;
+#X connect 50 0 51 0;
+#X connect 51 0 52 0;
+#X connect 52 0 63 0;
+#X connect 53 0 60 0;
+#X connect 54 0 60 0;
+#X connect 55 0 56 0;
+#X connect 56 0 57 0;
+#X connect 57 0 62 0;
+#X connect 58 0 50 1;
+#X connect 59 0 50 0;
+#X connect 60 0 73 0;
+#X connect 61 0 59 1;
+#X connect 62 0 58 0;
+#X connect 63 0 23 0;
+#X connect 64 0 38 0;
+#X connect 64 1 66 0;
+#X connect 65 0 1 0;
+#X connect 66 0 3 1;
+#X connect 67 0 64 1;
+#X connect 70 0 69 0;
+#X connect 71 0 70 0;
+#X connect 72 0 18 0;
+#X connect 73 0 55 0;



More information about the Gridflow-cvs mailing list