hydra sketch log 2

using this implementation of oscilloscope and learned about currying functions in js @_@!

truly the most “visualizer” sketch i’ve ever done. would be nice to get some specific emphasis on certain frequencies next time (bass, etc).

pretty happy with how directed the gaze is on this strong shape, and i think the fft reactivity is just right (engaging but not spastic)

// contour oscilloscope

y = (q=5) => { // oscilloscope implementation by ojack
 a.setBins(q)
 x = shape(2,.15) 
 for(i=0;i<q;i++) {
    x = x.modulateScrollY(osc(1+i*10),  ((i) => () => a.fft[i])(i))
 }
 return x
}

y(5).out()

src(o0).repeat(1,[1,15].fast(.1)).out(o1)
src(o1).modulate(noise(2,.1)).pixelate(7,2000).out(o2)
src(o2).color(1,0,1).add(src(o2).scrollY(.1).color(0,1,0)).out(o3)

render(o3)

a.setScale(10)
a.setSmooth(.9)
a.setCutoff(0)
construction, showing increasing manipulations
offset the colors and added pixellation
even more pixellation, basically an old-school levels output