Celebrating 10k followers
Piece created with code in Hydra + p5js. Hydra is a toolkit for live coding of network visuals created by Olivia Jack (hydra.ojack.xyz)
/*
10K
by Daniel Oropeza
Tw: @ferdoropeza
*/
if (typeof p1 === "undefined") p1 = new P5()
p1.background(0)
p1.textAlign(p1.CENTER, p1.CENTER)
p1.draw = ()=>{
p1.clear()
p1.fill(0)
p1.stroke(255)
p1.strokeWeight(40)
p1.textSize(width / 3)
p1.text('10K', width / 2 , height / 2 )
}
p1.hide()
s0.init({src:p1.canvas})
src(o0)
.layer(src(s0).scale(()=>1.3-sin(frameCount/12)/4 ))
.mask(src(o0).luma().saturate(1.21).thresh(0.8).invert().modulatePixelate(
src(o0).rotate(() =>a.fft[2]*999).pixelate(8, 8),
() =>a.fft[0]* 1000,
() => Math.pow(0.0002, Math.max((T -= 0.0001), 3))
))
.modulate(osc(2), 0.002)
.modulateScale(voronoi(10, .1), 0.01)
.modulateRotate(osc(5, .01), .001, .004)
.modulate(o0, 0.001)
.color(1,0.9,-1)
.hue(()=>time)
.out();