Made with Hydra.
Html format.
/*
Getaway
by Daniel Oropeza
*/
await loadScript("https://cdn.statically.io/gl/metagrowing/extra-shaders-for-hydra/main/lib/all.js")
s0.initVideo("https://media.giphy.com/media/xULW8LP3uRkoibWu7S/giphy.mp4")
src(s0)
.scale(1, -1)
.out()
src(s0).contrast(1.05)
.scale(1, -1)
.diff(o0)
.thresh(0.1)
.out(o1)
solid()
.out(o2)
src(o2)
.posterize(20,1)
.brightness(-0.009)
.add(src(o1)
.luma(0.9)
.dither4(), 0.4)
.blend(o0, 0.01)
.out(o2)
src(o0)
.thresh(0.7, 0.4)
.mult(concentric(1000, [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2].ease('easeInOutCubic')
.fast(0.0125), 0.5)
.scrollX([0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2].ease('easeInOutCubic')
.fast(0.06125))
.rotate([0.125, 0.5, 1, 1.5].ease('easeIn')
.fast(0.125))
.invert(-1)
.kaleid(4)
.scale(1, 1, () => (window.innerWidth / window.innerHeight)))
.layer(
src(o2)
.repeat(1, 1)
.invert(-1)
.luma()
.color(1.2, 0.7, -1)
)
.modulate(o2, 0.7)
.add(src(o2)
.color(0, 0, 1))
.ditherrndcolor()
.out(o3);
render(o2);