aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/examples/cross_fade.pd
blob: c612e1db465f0b4a1b650e6132856201877092c6 (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 344 101 680 501 10;
#X obj 13 229 # *>>8;
#X text 40 253 first picture plus a fraction of the difference;
#X obj 13 251 # +;
#X obj 13 210 #store;
#X obj 211 157 # inv+;
#X obj 68 271 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
;
#X text 12 372 note: the #layer/#join objects can make the crossfade
process simpler but it's still not faster.;
#X obj 13 46 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
#X obj 264 130 #in;
#X obj 13 191 #finished;
#X text 85 271 click to clip out-of-range colours;
#X text 60 229 multiply by a N/256 fraction;
#X obj 211 111 #in;
#X obj 13 353 #out window;
#X text 61 213 keep the difference between both pictures;
#X obj 249 91 t b b;
#X obj 249 72 loadbang;
#X obj 13 270 shunt 2;
#X obj 13 82 float;
#X obj 25 101 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
-262144 -1 -1 2784 256;
#X obj 52 82 + 4;
#X obj 13 117 pingpong 256;
#X obj 21 136 hsl 129 15 0 256 0 0 empty empty empty -2 -6 0 8 -260818
-1 -1 11200 1;
#X text 11 406 also #draw_image/#join is a possibility;
#X obj 0 1 cnv 15 680 30 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 14 14 Copyright 2002 Mathieu Bouchard;
#X text 14 -2 cross_fade.pd;
#X obj 0 469 cnv 15 680 30 empty empty empty 20 12 0 14 -200249 -66577
0;
#X text 8 477 GridFlow 0.8.0;
#X obj 57 308 #clip;
#X msg 237 111 load b001.jpg;
#X msg 289 130 load r001.jpg;
#X obj 264 149 #cast s;
#X obj 211 130 #cast s;
#X obj 13 172 t a a;
#X obj 13 63 metro 33.3667;
#X obj 57 289 #cast i;
#X obj 13 153 #cast s;
#X connect 0 0 2 0;
#X connect 2 0 17 0;
#X connect 3 0 0 0;
#X connect 4 0 3 1;
#X connect 5 0 17 1;
#X connect 7 0 35 0;
#X connect 8 0 32 0;
#X connect 9 0 3 0;
#X connect 12 0 33 0;
#X connect 15 0 30 0;
#X connect 15 1 31 0;
#X connect 16 0 15 0;
#X connect 17 0 13 0;
#X connect 17 1 36 0;
#X connect 18 0 19 0;
#X connect 18 0 20 0;
#X connect 18 0 21 0;
#X connect 20 0 18 1;
#X connect 21 0 22 0;
#X connect 21 0 37 0;
#X connect 29 0 13 0;
#X connect 30 0 12 0;
#X connect 31 0 8 0;
#X connect 32 0 4 1;
#X connect 33 0 4 0;
#X connect 33 0 2 1;
#X connect 34 0 9 0;
#X connect 34 1 0 1;
#X connect 35 0 18 0;
#X connect 36 0 29 0;
#X connect 37 0 34 0;