s0.initImage("/home/pln/Work/Hydra/metro.jpg") src(s0) // .scroll(() => 0.05 * Math.sin(a.fft[3]), ()=> -0.12 + 0.05 * Math.sin(time / 12)) .scale(1.5) .out(o0) src(o0) .mult(src(o3), -1.2) // .blend(src(s0).rotate(() => 0.13 * Math.sin(time / 13))) .out(o1) src(o1) .rotate(() => (time / 10 % 360)) .mask(src(o0)) .kaleid(() => Math.sin(time / 20) + 4) // .colorama(0.04) // .luma(() => 0.7 + 0.1 * a.fft[0])) .out(o2) src(o2) // .contrast(() => 1.1 + 0.42 * a.fft[1] + 0.25 * Math.sin(time/7)) .saturate(() => 2.5 + 0.75 * Math.sin(time/20)) .rotate(() => (time / 20 % 360)) .diff(shape(100, 0.33, 0.001).scale(() => Math.sin(time / 200)+ 0.1)) .kaleid(0.1) // .diff(src(o2)) // .blend(s0) .brightness(() => -0.65) .saturate(2) .out(o3) render(o3) // a.setBins(4) // a.setSmooth(0.8) a.hide()