Interactive piece created with code in Hydra (hydra.ojack.xyz). Move the mouse sideways to interact with the image.
This piece was made in collaboration with artist @SkyGoodman4 100% of the sales of these 20 editions will go to the development of Hydra. Hydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz).
/*
Title: Drifter
Collab by @SkyGoodman4 and @Ferdoropeza
25 OCT 2021
*/
//s0.initImage("https://i.ibb.co/NF8szqV/drifter.jpg");
src(o0)
.colorama(0.00005)
.saturate(1.05)
.modulate(osc(8).pixelate(50, 10), 0.001)
.scrollX(-0.001)
.layer(
noise()
.thresh(0.4,0.9)
.pixelate(50, [30, 5])
.modulate(noise(2))
.modulate(
noise(2).pixelate(
[50, 20].fast(0.01),
[30, 50].fast(0.1)
),
2
)
.luma()
.mult(src(s0))
.pixelate(3000, 3500)
.modulateHue(src(o0),100)
.rotate(()=>mouse.x/10000000,0)
.blend(o0, ()=>mouse.x/200000)
.scroll(mouse.x/0.5,-mouse.y/0.5)
.modulate(o0, 0.004)
.modulate(osc(2),-0.004)
.saturate(2.05)
.contrast(1.01)
.hue(()=>mouse.x/0.2)
.scale(()=>2-mouse.x/2500)
)
.brightness(0.003)
.layer(src(s0).scale(()=>2-mouse.x/2500).saturate(2.0).scrollX(0,0.03).mask(o1),0.15)
.out();
src(s0)
.saturate(0)
.contrast(1.4)
.layer(
src(o1)
.scale(1.01)
.color(3,1.1,0)
.mask(
shape(4, 2).scale(0.6, 0.4).rotate(()=>time*2).pixelate(4,6)
.scrollX(0.25)
)
.scrollX(0.001)
)
.modulate(o1, 0.001)
.out(o1);