[Gridflow-cvs] [svn] commit: r5351 - /trunk/examples/color_detect.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Apr 7 14:20:24 EDT 2010


Author: matju
Date: Wed Apr  7 14:20:23 2010
New Revision: 5351

Log:
add some more changes coming from my pd atelier, session #9

Modified:
    trunk/examples/color_detect.pd

Modified: trunk/examples/color_detect.pd
==============================================================================
--- trunk/examples/color_detect.pd (original)
+++ trunk/examples/color_detect.pd Wed Apr  7 14:20:23 2010
@@ -1,57 +1,55 @@
-#N canvas 558 0 668 694 10;
-#X obj 14 262 # > 0;
-#X obj 68 284 # + 128;
-#X obj 383 135 hsl 222 15 0 442 0 0 empty empty tolerance 8 8 0 8 -260818
--1 -1 8900 1;
-#X obj 224 530 #out window;
-#X obj 68 262 # tanh* 127;
-#X obj 80 -1 #store;
-#X obj 277 179 tgl 15 1 empty empty empty 0 -6 0 8 -261689 -258699
+#N canvas 622 0 625 694 10;
+#X obj 14 372 # > 0;
+#X obj 56 396 # + 128;
+#X obj 313 233 hsl 222 15 0 442 0 0 empty empty tolerance 8 8 0 8 -260818
+-1 -1 9500 1;
+#X obj 56 377 # tanh* 127;
+#X obj 59 104 #store;
+#X obj 247 289 tgl 15 1 empty empty empty 0 -6 0 8 -261689 -258699
 -1 1 1;
-#X obj 31 -84 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1
-;
-#X obj 14 179 # inv+;
-#X obj 14 284 # << 8;
-#X obj 14 160 #fold +;
-#X obj 315 360 loadbang;
-#X obj 298 398 #checkers;
-#X obj 224 468 # +;
-#X obj 224 445 # *;
-#X obj 297 466 # *;
-#X obj 224 489 # >> 8;
-#X obj 297 424 # inv+ 256;
-#X obj 271 490 # min 255;
-#X obj 298 362 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 10 32 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
+#X obj 14 289 # inv+;
+#X obj 14 394 # << 8;
+#X obj 14 270 #fold +;
+#X obj 312 450 loadbang;
+#X obj 295 488 #checkers;
+#X obj 221 558 # +;
+#X obj 221 535 # *;
+#X obj 294 556 # *;
+#X obj 221 579 # >> 8;
+#X obj 294 514 # inv+ 256;
+#X obj 268 580 # min 255;
+#X obj 295 452 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
 -1;
-#X obj 380 76 #color;
-#X obj 72 22 s image;
-#X obj 240 426 r image;
-#X text 374 46 select a point in the color cube \; and a radius of
+#X obj 310 176 #color;
+#X obj 52 163 s image;
+#X obj 237 516 r image;
+#X text 304 146 select a point in the color cube \; and a radius of
 accepted similarity.;
-#X obj 277 196 #pack 3;
-#X obj 296 179 tgl 15 1 empty empty empty 0 -6 0 8 -225271 -24198 -1
+#X obj 247 306 #pack 3;
+#X obj 266 289 tgl 15 1 empty empty empty 0 -6 0 8 -225271 -24198 -1
 1 1;
-#X obj 316 179 tgl 15 1 empty empty empty 0 -6 0 8 -228992 -62784 -1
+#X obj 286 289 tgl 15 1 empty empty empty 0 -6 0 8 -228992 -62784 -1
 1 1;
-#X text 271 161 enable selection on:;
-#X text 344 177 all three = select sphere in color cube \; pick two
+#X text 241 271 enable selection on:;
+#X text 314 287 all three = select sphere in color cube \; pick two
 = select circle in a color square \; pick one = select range in one
 channel;
-#X text 377 360 make background;
-#X obj 57 217 # inv+;
-#X obj 295 229 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
+#X text 374 450 make background;
+#X obj 41 327 # inv+;
+#X obj 247 327 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
 -1 0;
-#X text 314 228 erase nonselected;
-#X text 314 245 erase selected;
-#X obj 295 269 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
+#X text 266 326 erase nonselected;
+#X text 266 343 erase selected;
+#X obj 247 361 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
+-1 1;
+#X text 269 360 strict;
+#X text 268 376 fuzzy;
+#X obj 248 413 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
 -1 0;
-#X text 317 268 strict;
-#X text 316 284 fuzzy;
-#X obj 296 325 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
--1 0;
-#X text 318 324 see filtered image on checkers;
-#X text 318 339 see opacity mask;
-#X obj 224 406 t a a;
+#X text 270 412 see filtered image on checkers;
+#X text 270 427 see opacity mask;
+#X obj 221 496 t a a;
 #N canvas 414 469 450 216 color 0;
 #X obj 26 5 inlet bang;
 #X obj 26 177 outlet image;
@@ -91,161 +89,195 @@
 #X connect 15 0 16 0;
 #X connect 16 0 17 0;
 #X connect 17 0 7 1;
-#X restore 133 21 pd color panorama;
-#X obj 133 2 loadbang;
-#X obj 190 -63 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
+#X restore 188 107 pd color panorama;
+#X obj 188 88 loadbang;
+#X obj 190 47 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -66577
 -1 1;
-#X text 209 -64 on video;
-#X text 209 -48 on color panorama;
-#X floatatom 336 136 5 0 0 0 - - -;
-#X obj 76 240 # *>>8 256;
-#X obj 338 302 hsl 129 15 4 4096 1 1 empty empty empty -2 -6 0 8 -260818
--1 -1 5100 1;
-#X floatatom 295 302 5 0 0 0 - - -;
-#X obj 53 87 #rgb_to_yuv;
-#X obj 90 55 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -1
+#X text 209 46 on video;
+#X text 209 62 on color panorama;
+#X floatatom 310 250 5 0 0 0 - - -;
+#X obj 56 358 # *>>8 256;
+#X obj 290 394 hsl 129 15 4 4096 1 1 empty empty empty -2 -6 0 8 -260818
+-1 -1 8700 1;
+#X floatatom 247 394 5 0 0 0 - - -;
+#X obj 50 214 #rgb_to_yuv;
+#X obj 59 182 vradio 15 1 0 2 empty empty empty 0 -6 0 8 -241291 -1
 -1 0;
-#X text 107 55 RGB;
-#X text 107 70 YUV;
-#X text 141 55 warning: in YUV mode \,;
-#X text 142 81 green slider = U chroma;
-#X text 148 94 blue slider = V chroma;
-#X text 154 68 red slider = Y luma;
-#X obj 31 -67 metro 33.3667;
-#X obj 31 1 #camera;
-#X obj 321 466 spigot;
-#X obj 363 467 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
+#X text 76 182 RGB;
+#X text 76 197 YUV;
+#X text 141 165 warning: in YUV mode \,;
+#X text 142 191 green slider = U chroma;
+#X text 148 204 blue slider = V chroma;
+#X text 154 178 red slider = Y luma;
+#X obj 10 49 metro 33.3667;
+#X obj 11 106 #camera;
+#X obj 318 556 spigot;
+#X obj 360 557 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
 1;
-#X text 382 468 recurrent layering;
-#X obj 224 511 t a;
-#X obj 49 141 # inv+;
-#X obj 36 397 # >> 6;
-#X obj 14 198 shunt 2;
-#X obj 14 241 shunt 2;
-#X obj 14 55 shunt 2;
-#X obj 14 306 shunt 2;
-#X obj 68 308 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
-;
-#X text 87 302 sort-of feather;
-#X obj 224 385 shunt 2;
-#X text 87 317 (8x8 square blur on mask);
-#X obj 36 377 # + 32;
-#X obj -2 561 cnv 15 740 30 empty empty empty 20 12 0 14 -200249 -66577
-0;
-#X text 6 568 GridFlow 0.8.0;
-#X obj 1 -118 cnv 15 740 30 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 14 -118 color_detect.pd;
-#X text 13 -105 Copyright 2001-2004 Mathieu Bouchard;
-#X obj 14 122 # sq-;
-#X obj 61 179 # sq-;
-#X obj 36 337 #convolve (8 1 # 1);
-#X obj 36 357 #convolve (1 8 # 1);
-#X obj 14 457 #outer ignore (3 # 0);
-#X obj 298 379 #for (0 0) (240 320) (1 1);
-#X obj 368 440 #in violoncelle.mov;
-#X obj 470 0 # rand;
-#X msg 470 -19 3 # 256;
-#X obj 224 549 fps;
-#X floatatom 224 568 5 0 0 0 - - -;
-#X obj 380 0 #store (0 0 0);
-#X obj 380 19 #fade 16;
-#X obj 32 -48 t b b;
-#X obj 422 -18 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 1
+#X text 379 558 recurrent layering;
+#X obj 221 601 t a;
+#X obj 38 251 # inv+;
+#X obj 41 494 # >> 6;
+#X obj 51 417 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
+;
+#X text 67 409 sort-of feather;
+#X text 66 420 (8x8 square blur on mask);
+#X obj 41 475 # + 32;
+#X text 34 25 Copyright 2001-2004 Mathieu Bouchard;
+#X obj 14 232 # sq-;
+#X obj 56 289 # sq-;
+#X obj 41 437 #convolve (8 1 # 1);
+#X obj 41 456 #convolve (1 8 # 1);
+#X obj 295 469 #for (0 0) (240 320) (1 1);
+#X obj 365 530 #in violoncelle.mov;
+#X obj 400 104 # rand;
+#X msg 400 85 3 # 256;
+#X obj 221 639 fps;
+#X floatatom 221 658 5 0 0 0 - - -;
+#X obj 310 104 #store (0 0 0);
+#X obj 310 123 #fade 16;
+#X obj 11 68 t b b;
+#X obj 352 86 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
+;
+#X obj 407 512 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
 1;
-#X obj 410 422 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0
-1;
-#X obj 368 421 spigot;
-#X obj 380 -19 spigot;
-#X obj 31 -18 shunt;
-#X obj 127 -23 s \$0-bang;
-#X obj 368 402 r \$0-bang;
-#X obj 31 22 t a a;
-#X obj 20 491 #out window;
-#X obj 25 141 # &;
-#X connect 0 0 9 0;
-#X connect 1 0 69 0;
-#X connect 2 0 46 0;
-#X connect 3 0 89 0;
-#X connect 4 0 1 0;
-#X connect 5 0 101 0;
-#X connect 6 0 24 0;
-#X connect 7 0 58 0;
-#X connect 8 0 66 0;
-#X connect 9 0 69 0;
-#X connect 10 0 8 0;
-#X connect 11 0 19 0;
-#X connect 12 0 15 1;
-#X connect 13 0 16 0;
-#X connect 14 0 13 0;
-#X connect 15 0 13 1;
-#X connect 16 0 63 0;
-#X connect 17 0 15 0;
-#X connect 18 0 63 0;
-#X connect 19 0 85 0;
-#X connect 20 0 80 1;
-#X connect 22 0 14 1;
-#X connect 24 0 64 0;
-#X connect 25 0 24 1;
-#X connect 26 0 24 2;
-#X connect 30 0 67 0;
-#X connect 31 0 66 1;
-#X connect 34 0 67 1;
-#X connect 37 0 72 1;
-#X connect 40 0 14 0;
-#X connect 40 1 17 0;
-#X connect 41 0 5 1;
-#X connect 42 0 41 0;
-#X connect 43 0 98 1;
-#X connect 46 0 81 0;
-#X connect 47 0 4 0;
-#X connect 48 0 49 0;
-#X connect 49 0 47 1;
-#X connect 50 0 80 0;
-#X connect 51 0 68 1;
-#X connect 58 0 93 0;
-#X connect 59 0 101 0;
-#X connect 60 0 15 1;
-#X connect 61 0 60 1;
-#X connect 63 0 3 0;
-#X connect 63 0 60 0;
-#X connect 64 0 103 1;
-#X connect 65 0 84 0;
-#X connect 66 0 67 0;
-#X connect 66 1 30 0;
-#X connect 67 0 0 0;
-#X connect 67 1 47 0;
-#X connect 68 0 80 0;
-#X connect 68 1 50 0;
-#X connect 69 0 84 0;
-#X connect 69 1 82 0;
-#X connect 70 0 69 1;
-#X connect 72 0 40 0;
-#X connect 72 1 18 0;
-#X connect 74 0 65 0;
-#X connect 80 0 103 0;
-#X connect 81 0 8 1;
-#X connect 82 0 83 0;
-#X connect 83 0 74 0;
-#X connect 84 0 72 0;
-#X connect 84 0 102 0;
-#X connect 85 0 12 0;
-#X connect 86 0 15 1;
-#X connect 87 0 91 1;
-#X connect 88 0 87 0;
-#X connect 89 0 90 0;
-#X connect 91 0 92 0;
-#X connect 92 0 20 0;
-#X connect 93 0 98 0;
-#X connect 93 1 97 0;
-#X connect 93 1 99 0;
-#X connect 94 0 97 1;
-#X connect 95 0 96 1;
-#X connect 96 0 86 0;
-#X connect 97 0 91 0;
-#X connect 98 0 59 0;
-#X connect 98 1 5 0;
-#X connect 100 0 96 0;
-#X connect 101 0 68 0;
-#X connect 101 1 21 0;
-#X connect 103 0 10 0;
+#X obj 365 511 spigot;
+#X obj 310 85 spigot;
+#X obj 11 87 shunt;
+#X obj 127 87 s \$0-bang;
+#X obj 365 492 r \$0-bang;
+#X obj 11 163 t a a;
+#X obj 14 251 # &;
+#X obj 11 125 shunt;
+#X obj 38 144 #rgba_to_rgb;
+#X obj 47 127 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
+;
+#X text 65 125 OSX (from RGBA);
+#X obj 14 308 shunt;
+#X obj 14 351 shunt;
+#X obj 14 416 shunt;
+#X obj 14 632 #window;
+#X obj 62 633 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
+;
+#X obj 14 587 #outer ignore (3 #);
+#X obj 380 129 r \$0-color;
+#X obj 380 600 #store;
+#X obj 380 619 s \$0-color;
+#X obj 269 642 #mouse \, \, \, \, \,;
+#X obj 268 662 t a;
+#X obj 221 475 shunt;
+#X obj 11 182 shunt;
+#X text 23 570 greyscale (Y X) pas de canaux;
+#X text 19 602 RGB (en tons de gris);
+#X text 19 614 valeurs répétées;
+#X obj 14 528 shunt;
+#X obj 50 529 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
+;
+#X obj 41 547 # max 8;
+#X text 84 494 division par 64;
+#X text 67 522 minimum opacity;
+#X text 66 533 for the alpha;
+#X obj 221 620 #out window \, setcursor 30;
+#X obj 0 0 doc_demo;
+#X connect 0 0 8 0;
+#X connect 1 0 98 0;
+#X connect 2 0 45 0;
+#X connect 3 0 1 0;
+#X connect 4 0 90 0;
+#X connect 5 0 23 0;
+#X connect 6 0 57 0;
+#X connect 7 0 96 0;
+#X connect 8 0 98 0;
+#X connect 9 0 7 0;
+#X connect 10 0 18 0;
+#X connect 11 0 14 1;
+#X connect 12 0 15 0;
+#X connect 13 0 12 0;
+#X connect 14 0 12 1;
+#X connect 15 0 62 0;
+#X connect 16 0 14 0;
+#X connect 17 0 62 0;
+#X connect 18 0 74 0;
+#X connect 19 0 70 1;
+#X connect 21 0 13 1;
+#X connect 21 0 103 1;
+#X connect 23 0 63 0;
+#X connect 24 0 23 1;
+#X connect 25 0 23 2;
+#X connect 29 0 97 0;
+#X connect 30 0 96 1;
+#X connect 33 0 97 1;
+#X connect 36 0 107 1;
+#X connect 39 0 13 0;
+#X connect 39 1 16 0;
+#X connect 40 0 4 1;
+#X connect 41 0 40 0;
+#X connect 42 0 87 1;
+#X connect 45 0 71 0;
+#X connect 46 0 3 0;
+#X connect 47 0 48 0;
+#X connect 48 0 46 1;
+#X connect 49 0 70 0;
+#X connect 50 0 108 1;
+#X connect 57 0 82 0;
+#X connect 58 0 92 0;
+#X connect 59 0 14 1;
+#X connect 60 0 59 1;
+#X connect 62 0 59 0;
+#X connect 62 0 118 0;
+#X connect 63 0 91 1;
+#X connect 64 0 112 0;
+#X connect 65 0 98 1;
+#X connect 68 0 64 0;
+#X connect 70 0 91 0;
+#X connect 71 0 7 1;
+#X connect 72 0 73 0;
+#X connect 73 0 68 0;
+#X connect 74 0 11 0;
+#X connect 75 0 14 1;
+#X connect 76 0 80 1;
+#X connect 77 0 76 0;
+#X connect 78 0 79 0;
+#X connect 80 0 81 0;
+#X connect 81 0 19 0;
+#X connect 82 0 87 0;
+#X connect 82 1 86 0;
+#X connect 82 1 88 0;
+#X connect 83 0 86 1;
+#X connect 84 0 85 1;
+#X connect 85 0 75 0;
+#X connect 86 0 80 0;
+#X connect 87 0 58 0;
+#X connect 87 1 4 0;
+#X connect 89 0 85 0;
+#X connect 90 0 108 0;
+#X connect 90 1 20 0;
+#X connect 91 0 9 0;
+#X connect 92 0 90 0;
+#X connect 92 1 93 0;
+#X connect 93 0 90 0;
+#X connect 94 0 92 1;
+#X connect 96 0 97 0;
+#X connect 96 1 29 0;
+#X connect 97 0 0 0;
+#X connect 97 1 46 0;
+#X connect 98 0 112 0;
+#X connect 98 1 72 0;
+#X connect 100 0 99 1;
+#X connect 101 0 99 0;
+#X connect 101 0 107 0;
+#X connect 102 0 19 0;
+#X connect 103 0 104 0;
+#X connect 105 0 106 0;
+#X connect 105 1 106 0;
+#X connect 106 0 103 0;
+#X connect 107 0 39 0;
+#X connect 107 1 17 0;
+#X connect 108 0 70 0;
+#X connect 108 1 49 0;
+#X connect 112 0 101 0;
+#X connect 112 1 114 0;
+#X connect 113 0 112 1;
+#X connect 114 0 101 0;
+#X connect 118 0 78 0;
+#X connect 118 0 105 0;



More information about the Gridflow-cvs mailing list