This is an interactive piece created with code in Hydra (hydra.ojack.xyz). A thank you piece for all the support for this project. Please, activate your microphone and turn on your speakers. Reactive audio piece.
Hydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz).
/*
Mitosis
by Daniel Oropeza
Tw: @Ferdoropeza
*/
a.show()
a.setBins(6)
a.setCutoff(2)
a.setScale(4)
el=(s,b,l)=>shape(3,0.2,b)
.add(o0,0.7)
.repeat()
src(o0).mask(shape(4,2,0)).modulate(
gradient().pixelate(10,10).brightness(-1)
.add(
gradient().brightness(-.1).g()
.mult(gradient().r()).color(0,-1),1).add(solid(.6,.6)),-.002)
.color(0.5,1,-1)
.contrast(1.04)
.luma(0.1)
.invert(()=>(a.fft[2]*-1))
.modulateScale(gradient().r().color(0,1),-0.005)
.layer(
el(.0,0.4,0).r().scrollX(-.1).rotate(0,Math.PI*0.01).kaleid([4,2,3,5,3,4].ease('sin').fast(.25)))
.hue(()=>(a.fft[0]/3))
.scale(1.02)
.blend(o0)
.out();