aboutsummaryrefslogtreecommitdiff
path: root/gemsCropMap-help.pd
blob: 4885ec77a82eff1e8879a38b29985ec67427a775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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 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 obj 26 217 mtl/gemsStretch;
#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 21 2;
#X connect 5 0 21 1;
#X connect 10 0 2 0;
#X connect 12 0 24 0;
#X connect 14 0 12 2;
#X connect 16 0 10 1;
#X connect 16 1 10 2;
#X connect 17 0 16 0;
#X connect 19 0 17 0;
#X connect 21 0 10 0;
#X connect 24 0 21 0;