Interactive piece created with code in Hydra (hydra.ojack.xyz). Move the mouse to rotate and scale the vortex.
Hydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz)
/*
Triangular Vortex
by Daniel Oropeza
Tw:@ferdoropeza
*/
osc([1,10].ease('sin').fast(.05),0.05,4)
.posterize(4,4)
.repeat(20,20)
.diff(osc([2,5,2,10].ease('sin').fast(.05),0.05,4).pixelate(8,8).scrollY(0.002,0.02).scrollX(-0.01,0.01))
.kaleid(3)
.rotate(()=>time)
.scale(()=>2-mouse.x/2000)
.modulateScale(gradient().g(()=>mouse.x/1000))
.luma(0.4,0.1)
.scrollX(-0.001)
.rotate(()=>mouse.x/1000,0)
.blend(o0,0.6)
.out();