aboutsummaryrefslogtreecommitdiff
path: root/image-help.pd
blob: 12a5e9ff0953c4cc5abe6a321a4844557719f579 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#N canvas 150 138 585 548 10;
#X obj 0 0 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
0;
#X text 14 510 (c) moonix: Antoine Rousseau 2004;
#X text 118 15 image viewer;
#X text 79 33 usage: image image_symbol [type];
#X text 97 48 if type=0 (or absent) \, image_symbol is a file.;
#X text 444 63 see "load" and "set";
#X text 98 63 if type=1 \, image_symbol means a pre-loaded image \;
;
#X text 248 510 \, but it's a hack of Gunter Geiger's image...;
#X obj 112 134 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 122 148 image play.gif 0;
#X obj 348 216 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 372 197 t a;
#X msg 424 105 open play.gif;
#X msg 425 125 open playy.gif;
#X msg 424 144 open rec.gif;
#X msg 424 162 open pause.gif;
#X msg 424 180 open sinw.gif;
#X msg 425 198 open squarew.gif;
#X msg 425 215 open saww.gif;
#X obj 360 227 image play.gif 0;
#X obj 136 148 image rec.gif 0;
#X obj 152 148 image pause.gif 0;
#X obj 185 144 image sinw.gif 0;
#X obj 185 156 image squarew.gif 0;
#X obj 185 168 image saww.gif 0;
#N canvas 183 192 77 40 /SUBPATCH/ 0;
#X obj 87 205 t a;
#X msg 127 127 open sinw.gif;
#X msg 146 150 open squarew.gif;
#X msg 165 171 open saww.gif;
#X obj -1 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
#X obj 0 1 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0;
#X obj 26 20 image sinw.gif 0;
#X obj 127 84 i;
#X obj 153 85 + 1;
#X obj 179 85 mod 3;
#X obj 127 105 sel 0 1 2;
#X obj 127 63 b;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 11 0;
#X connect 7 0 8 0;
#X connect 7 0 10 0;
#X connect 8 0 9 0;
#X connect 9 0 7 1;
#X connect 10 0 1 0;
#X connect 10 1 2 0;
#X connect 10 2 3 0;
#X connect 11 0 7 0;
#X coords 0 0 1 1 40 40 1;
#X restore 246 133 pd;
#X text 241 118 click !;
#X obj 65 348 t f f;
#X obj 65 410 pack s s;
#X msg 65 430 load \$1 \$2;
#X msg 295 397 set \$1;
#X obj 298 304 hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 0 1;
#X obj 295 326 i;
#X obj 202 446 image d15 1;
#X obj 295 349 change;
#X obj 65 370 makesymbol d%s;
#X obj 95 390 makesymbol d/d%s.gif;
#X obj 295 376 makesymbol d%s;
#X text 6 253 For animations \, it's beter to preload images:;
#X obj 402 377 loadbang;
#X msg 402 397 open rec.gif;
#X text 95 274 1: load img_sym file;
#X text 291 287 2: set img_sym;
#X text 270 443 rem: when a img_symbol is loaded \, it;
#X text 305 455 can be used in any image object.;
#X text 17 94 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X msg 62 276 64;
#X obj 63 299 until;
#X obj 64 325 float;
#X obj 101 325 + 1;
#X connect 12 0 11 0;
#X connect 13 0 11 0;
#X connect 14 0 11 0;
#X connect 15 0 11 0;
#X connect 16 0 11 0;
#X connect 17 0 11 0;
#X connect 18 0 11 0;
#X connect 27 0 35 0;
#X connect 27 1 36 0;
#X connect 28 0 29 0;
#X connect 31 0 32 0;
#X connect 32 0 34 0;
#X connect 34 0 37 0;
#X connect 35 0 28 0;
#X connect 36 0 28 1;
#X connect 37 0 30 0;
#X connect 39 0 40 0;
#X connect 46 0 47 0;
#X connect 47 0 48 0;
#X connect 48 0 27 0;
#X connect 48 0 49 0;
#X connect 49 0 48 1;