From f18d063d9312c95e25294e0777bc135ee9a3fd8a Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Sun, 25 Oct 2009 00:39:13 +0000 Subject: Adding mtl svn path=/trunk/abstractions/mtl/; revision=12667 --- gemsCropMap-help.pd | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 gemsCropMap-help.pd (limited to 'gemsCropMap-help.pd') diff --git a/gemsCropMap-help.pd b/gemsCropMap-help.pd new file mode 100644 index 0000000..df2a915 --- /dev/null +++ b/gemsCropMap-help.pd @@ -0,0 +1,76 @@ +#N canvas 196 64 482 540 10; +#X declare -lib Gem; +#X declare -lib Gem; +#X obj 26 115 gemhead; +#X obj 26 57 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 26 464 pix_texture; +#X obj 50 143 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 156 284 5 0 0 0 - - -; +#X floatatom 91 256 5 0 0 0 - - -; +#X obj 26 499 square; +#X text 135 256 X elements; +#X text 200 285 Y elements; +#X text 22 9 Description: multiple cropping and mapping; +#X obj 26 426 rotateXYZ; +#X obj 26 76 mtl/gemsWin /dimen 320 240; +#X obj 26 193 mtl/gemsMovies; +#X text 67 142 Load a movie; +#X obj 26 217 mtl/gemsFit window 0.8; +#X msg 79 163 1; +#X text 110 165 Play it; +#N canvas 0 0 450 300 rotation 0; +#X obj 156 158 line; +#X obj 155 116 metro 5000; +#X msg 155 137 0 \, 360 5000; +#X obj 250 159 line; +#X obj 248 115 metro 8000; +#X msg 249 137 0 \, 360 8000; +#X obj 108 32 inlet; +#X obj 47 77 sel 0; +#X obj 78 235 outlet; +#X obj 170 234 outlet; +#X obj 155 73 t f f f; +#X msg 75 118 stop; +#X msg 47 170 0; +#X connect 0 0 8 0; +#X connect 1 0 2 0; +#X connect 2 0 0 0; +#X connect 3 0 9 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 6 0 10 0; +#X connect 7 0 11 0; +#X connect 7 0 12 0; +#X connect 10 0 7 0; +#X connect 10 1 1 0; +#X connect 10 2 4 0; +#X connect 11 0 0 0; +#X connect 11 0 3 0; +#X connect 12 0 8 0; +#X connect 12 0 9 0; +#X restore 43 401 pd rotation; +#X obj 43 380 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X text 61 380 <- Rotation animation; +#X obj 43 355 loadbang; +#X text 153 313 Arguments: initial number of x and y elements; +#X obj 26 312 mtl/gemsCropMap 8 6; +#X text 23 24 tags: gems; +#X obj 391 11 import Gem; +#X connect 0 0 12 0; +#X connect 1 0 11 0; +#X connect 2 0 6 0; +#X connect 3 0 12 1; +#X connect 4 0 22 2; +#X connect 5 0 22 1; +#X connect 10 0 2 0; +#X connect 12 0 14 0; +#X connect 14 0 22 0; +#X connect 15 0 12 2; +#X connect 17 0 10 1; +#X connect 17 1 10 2; +#X connect 18 0 17 0; +#X connect 20 0 18 0; +#X connect 22 0 10 0; -- cgit v1.2.1