aboutsummaryrefslogtreecommitdiff
path: root/test/toxy/tot-cover.pd
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2003-09-24 10:46:19 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2003-09-24 10:46:19 +0000
commit9680b47879dfc58f884208f7abf2f945b3b41d25 (patch)
tree93eda19deb61daff60c533a3bbd1efe79e9cdc9b /test/toxy/tot-cover.pd
parentedab184352cd14788a37c76dce147ac19f7464b4 (diff)
adding toxy project
svn path=/trunk/externals/miXed/; revision=1024
Diffstat (limited to 'test/toxy/tot-cover.pd')
-rw-r--r--test/toxy/tot-cover.pd87
1 files changed, 87 insertions, 0 deletions
diff --git a/test/toxy/tot-cover.pd b/test/toxy/tot-cover.pd
new file mode 100644
index 0000000..267c22d
--- /dev/null
+++ b/test/toxy/tot-cover.pd
@@ -0,0 +1,87 @@
+#N canvas 392 177 590 367 12;
+#X msg 58 239 cover;
+#X msg 125 239 uncover;
+#N canvas 354 120 500 400 cv 1;
+#X restore 16 12 pd cv;
+#X obj 16 305 tot cv;
+#X obj 258 225 snapshot~;
+#X obj 481 225 snapshot~;
+#X obj 258 283 pack;
+#X obj 393 195 metro 50;
+#X obj 393 170 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 481 254 * 5;
+#X obj 258 254 * 5;
+#X msg 308 12 0 \; pd dsp 0;
+#X msg 199 12 1 \; pd dsp 1;
+#X obj 363 193 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 363 225 metro 500;
+#X obj 363 254 random 20;
+#X obj 258 170 osc~ 3;
+#X obj 481 170 osc~ 7;
+#X obj 199 62 pipe 3000;
+#X msg 122 58 stop;
+#X msg 122 29 bang;
+#X obj 16 62 delay 5000;
+#N canvas 80 35 613 356 commands 0;
+#X obj 25 13 inlet;
+#X obj 25 198 route cover uncover;
+#X obj 25 306 outlet;
+#X obj 48 46 loadbang;
+#X msg 25 226 tot tot_cover .^.c [ expr .~x2 - .~x1 ] [ expr .~y2 -
+.~y1 ];
+#X msg 42 259 tot if .( [winfo exists .^.c.cover] .) .( destroy .^.c.cover
+.);
+#X obj 48 145 tot .;
+#X msg 48 78 tot proc tot_cover .( cv wd ht .) .( if .( [expr ![winfo
+exists $cv.cover]] .) .( canvas $cv.cover -width $wd -height $ht -bg
+red -bd 0 .: pack $cv.cover .) .);
+#X connect 0 0 1 0;
+#X connect 1 0 4 0;
+#X connect 1 1 5 0;
+#X connect 3 0 7 0;
+#X connect 4 0 2 0;
+#X connect 5 0 2 0;
+#X connect 7 0 6 0;
+#X restore 58 268 pd commands;
+#X msg 16 91 tot .^.c create polygon 50 50 170 130 400 70 50 50 -fill
+#abcdef -tags t1 \, tot .^.c create text 200 90 -text "hide me" -font
+"times 24" -fill #fedcba -tags t1;
+#X msg 34 170 tot .^.c delete t1;
+#X msg 43 202 tot .^.c move t1 \$1 \$2;
+#X msg 65 336 tot .^.c configure -bg red;
+#X connect 0 0 22 0;
+#X connect 1 0 22 0;
+#X connect 3 3 26 0;
+#X connect 4 0 10 0;
+#X connect 5 0 9 0;
+#X connect 6 0 25 0;
+#X connect 7 0 4 0;
+#X connect 7 0 5 0;
+#X connect 8 0 7 0;
+#X connect 9 0 6 1;
+#X connect 10 0 6 0;
+#X connect 11 0 8 0;
+#X connect 11 0 24 0;
+#X connect 11 0 13 0;
+#X connect 11 0 19 0;
+#X connect 12 0 23 0;
+#X connect 12 0 18 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 10 1;
+#X connect 15 0 9 1;
+#X connect 16 0 4 0;
+#X connect 17 0 5 0;
+#X connect 18 0 13 0;
+#X connect 18 0 8 0;
+#X connect 19 0 21 0;
+#X connect 20 0 21 0;
+#X connect 21 0 23 0;
+#X connect 22 0 3 0;
+#X connect 23 0 3 0;
+#X connect 23 0 20 0;
+#X connect 24 0 3 0;
+#X connect 25 0 3 0;
+#X connect 26 0 3 0;