My contribution to @UTRTEZ event.
/*
BROKEN PARALLAX
by Daniel Oropeza
*/
src(o0)
.saturate(1.01)
.scale(.999)
.color(1.01,1.01,1.01)
.hue(.01)
.modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),2)
.layer(src(o1)
.modulateScale(osc(4),6,2)
.luma()
.mult(gradient(1)
.saturate(.9)))
.modulatePixelate(o0,()=>Math.sin(time*0.01)*innerHeight,()=>Math.sin(time*0.01)*innerWidth*0.001)
.colorama(0.007)
.contrast(()=>1.1-Math.sin(time)*0.01%7+0.5)
.saturate(1.25)
.scroll(({
time
}) => Math.random(time * 0.000001) * innerHeight, ({
time
}) => Math.random(time * 0.000001) * innerWidth)
.out(o0)
noise(1, .2)
.rotate(2,.5)
.layer(src(o0)
.scrollX(.2))
.out(o1);
render(o0);
fps = 10