diff options
author | N.N. <matju@users.sourceforge.net> | 2009-11-06 18:37:00 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-11-06 18:37:00 +0000 |
commit | 5a6bee4fe076e06514c6e4e538590dd3a2a5cdc3 (patch) | |
tree | ecf543b363457a0c861bfb187080a45fdeffc349 /externals/gridflow/examples/drag_rectangle.pd | |
parent | 5e6bb4f4786dd39158ffe02913590cc3dea21ebd (diff) |
upgrade gridflow
svn path=/trunk/; revision=12728
Diffstat (limited to 'externals/gridflow/examples/drag_rectangle.pd')
-rw-r--r-- | externals/gridflow/examples/drag_rectangle.pd | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/externals/gridflow/examples/drag_rectangle.pd b/externals/gridflow/examples/drag_rectangle.pd new file mode 100644 index 00000000..4d5bd6b7 --- /dev/null +++ b/externals/gridflow/examples/drag_rectangle.pd @@ -0,0 +1,106 @@ +#N canvas 420 110 647 484 10; +#X obj 274 73 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1 +; +#X obj 274 197 #out window; +#X obj 64 224 hsl 128 15 0 319 0 0 x1_o x1_i empty -2 -8 1 10 -262144 +-1 -1 8560 1; +#X obj 64 76 hsl 128 15 0 319 0 0 x0_o x0_i empty 0 8 1 10 -262144 +-66577 -258699 5215 0; +#X obj 46 93 vsl 15 128 239 0 0 0 y0_o y0_i empty 0 -8 1 10 -262144 +-1 -1 10840 1; +#X obj 194 93 vsl 15 128 239 0 0 0 y1_o y1_i empty 0 -8 1 10 -262144 +-1 -1 7439 1; +#N canvas 463 375 452 302 make_rectangle 0; +#X obj 27 16 inlet; +#X text 25 -3 image; +#X obj 93 17 inlet; +#X text 92 0 start pos; +#X obj 172 18 inlet; +#X text 172 1 end pos; +#X obj 27 244 outlet; +#X text 27 264 image; +#X obj 125 81 #export_list; +#X msg 95 135 4 2 # \$1 \$2 \$1 \$4 \$3 \$4 \$3 \$2; +#X obj 27 177 #draw_polygon >> (1 1 1) (4 2 #); +#X obj 90 37 #unpack; +#X obj 154 42 #unpack; +#X obj 125 62 #pack 4; +#X connect 0 0 10 0; +#X connect 2 0 11 0; +#X connect 4 0 12 0; +#X connect 8 0 9 0; +#X connect 9 0 10 2; +#X connect 10 0 6 0; +#X connect 11 0 13 0; +#X connect 11 1 13 1; +#X connect 12 0 13 2; +#X connect 12 1 13 3; +#X connect 13 0 8 0; +#X restore 274 177 pd make_rectangle; +#X obj 274 123 metro 33.3667; +#X text 21 75 start; +#X text 198 224 end; +#X obj 371 103 loadbang; +#X obj 274 152 #store; +#X obj 436 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 358 197 #mouse \, ...; +#X obj 421 145 loadbang; +#X msg 421 164 0 0; +#X obj 385 241 t a; +#X obj 90 402 #out window; +#X obj 129 301 t b a; +#X obj 90 366 #store; +#X msg 91 323 set ( \$1 \$2 ); +#X obj 370 123 #in b001.jpg; +#X text 73 115 drag the mouse; +#X text 99 100 step 2:; +#X text 82 131 inside the; +#X text 80 146 first window; +#X text 261 55 step 1: turn on; +#X text 95 384 cropping (to 2nd window); +#X obj 2 453 cnv 15 640 30 empty empty empty 20 12 0 14 -200249 -66577 +0; +#X text 10 460 GridFlow 0.8.0; +#X text 10 460 GridFlow 0.8.0; +#X obj 3 3 cnv 15 640 30 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 16 16 Copyright 2002 Mathieu Bouchard; +#X text 16 3 drag_rectangle.pd; +#X obj 90 347 #for (0 0) (0 0) (1 1); +#X obj 358 359 unpack; +#X obj 493 354 unpack; +#X obj 395 378 s x0_i; +#X obj 493 392 s y1_i; +#X obj 530 373 s x1_i; +#X obj 358 397 s y0_i; +#X connect 0 0 7 0; +#X connect 1 0 13 0; +#X connect 6 0 1 0; +#X connect 7 0 11 0; +#X connect 10 0 21 0; +#X connect 11 0 6 0; +#X connect 12 0 21 0; +#X connect 13 0 6 1; +#X connect 13 0 20 0; +#X connect 13 0 16 0; +#X connect 13 0 35 0; +#X connect 13 1 16 0; +#X connect 13 2 16 0; +#X connect 13 2 18 0; +#X connect 14 0 15 0; +#X connect 15 0 6 1; +#X connect 15 0 6 2; +#X connect 16 0 6 2; +#X connect 16 0 36 0; +#X connect 18 0 34 0; +#X connect 18 1 34 1; +#X connect 19 0 17 0; +#X connect 20 0 34 0; +#X connect 21 0 11 1; +#X connect 21 0 19 1; +#X connect 34 0 19 0; +#X connect 35 0 40 0; +#X connect 35 1 37 0; +#X connect 36 0 38 0; +#X connect 36 1 39 0; |