Schizophrenic Pixels
Piece created with code in Hydra. Hydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz)
/*
Schizophrenic Pixels
by Daniel Oropeza
Tw: @ferdoropeza
*/
src(o0)
.modulateHue(src(o0).rotate(),2)
.layer(gradient().color(1,0.5,-1).colorama(0.04).hue(0.9).contrast(1.05).saturate(1.9)
.scale(1, window.innerHeight/window.innerWidth)
.modulate(noise(3), 0.01)
.modulateScale(shape(4, 1, 1).brightness(-0.5), [0.1, 1].ease()
.fast(0.1))
.modulate(noise(8,0.1),0.02)
.modulateScale(gradient()
.r(0.01))
.modulateRotate(o0, 0.002)
.modulatePixelate(src(o0),1,1000)
.mult(gradient(),Math.PI/12)
.luma([0.29,0.99].smooth().reverse().ease('sin').fast(1/10)).modulate(
gradient()
.pixelate(2, 2)
.brightness(-.5), -0.009))
.mask(shape(300, [0.3,1].smooth(), 0)
.scale(1, 0.6, 1)
.rotate(() => time / Math.PI * 4)
.modulateScale(noise(1.09), 3, 0.01))
.modulateScale(gradient()
.r(0.01))
.modulateRotate(o0, 2)
.modulatePixelate(o0)
.color(() => Math.sin(time) * 0.5, () => Math.cos(time) * 0.7, () => Math.cos(time) * -1)
.colorama([0.1, 0.3, 0.5, 0.3, 0.999, 0.002].smooth(0)
.fast(.25))
.saturate(1.5)
.scrollX([0.004, 0,-0.004])
.scrollY([0, 0.004])
.out();