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
s0.initImage("file:///home/pln/Work/Hydra/biarritz/fougere.jpeg")
a.show()
a.setBins(4)
a.setSmooth(0.6)
src(s0)
.scroll(0.11,-0.12)
.scale(1.3)
.out(o0)
src(o2)
.kaleid(() => 4 + 0.1 * a.fft[0])
.rotate(() => 0.05 * Math.cos(time / 60))
.contrast(2)
.scale(() => 2 - 0 * a.fft[3])
.modulate(noise(10,0.05).luma(0.9 - a.fft[2]).scale(2))
.modulate(noise(20,0.15).luma(0.9 - 0.9 * a.fft[2]).scale(0.5))
.out(o1)
src(s0)
// .scale(2)
.luma(0.5)
.brightness(-0.1)
.contrast(1.1)
.saturate(2.4)
.out(o2)
src(o2)
.modulate(
src(s0)
.modulate(src(s0)
.scale(() => 1.01 + 0.9 * Math.cos(time / 8880)
))
// .scale(() => 2 + 198 * (time % 198))
)
.scroll(() => - 0.2 + Math.sin(time / 320), () => 0.5 + 2.2 * Math.cos(time / 2300))
.scale(() => 2 + 1 * Math.sin(time / 420))
.blend(o1,0.5)
.luma(() => 0.3 + 0.35 * Math.cos(time / 44))
.out(o3)
render()
render(o3)