blob: 1656b935ca4dc187e2d7269439c454d1d5992725 (
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
|
#N canvas 397 101 680 501 10;
#X obj 13 229 # *>>8;
#X text 40 293 first picture plus a fraction of the difference;
#X obj 13 291 # +;
#X obj 13 210 #store;
#X obj 211 157 # inv+;
#X obj 68 311 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 0 1;
#X obj 264 130 #in;
#X obj 13 191 #finished;
#X text 85 311 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 obj 13 153 #cast int16;
#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 310 shunt 2;
#X obj 13 63 metro 33.3667;
#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 0 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 0 1;
#X obj 13 172 t a a;
#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 329 #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 connect 0 0 2 0;
#X connect 2 0 18 0;
#X connect 3 0 0 0;
#X connect 4 0 3 1;
#X connect 5 0 18 1;
#X connect 7 0 19 0;
#X connect 8 0 35 0;
#X connect 9 0 3 0;
#X connect 12 0 36 0;
#X connect 14 0 25 0;
#X connect 16 0 33 0;
#X connect 16 1 34 0;
#X connect 17 0 16 0;
#X connect 18 0 13 0;
#X connect 18 1 32 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 20 0 22 0;
#X connect 20 0 23 0;
#X connect 22 0 20 1;
#X connect 23 0 24 0;
#X connect 23 0 14 0;
#X connect 25 0 9 0;
#X connect 25 1 0 1;
#X connect 32 0 13 0;
#X connect 33 0 12 0;
#X connect 34 0 8 0;
#X connect 35 0 4 1;
#X connect 36 0 4 0;
#X connect 36 0 2 1;
|