a.show() a.setBins(4) // // render(o0) // // // // // // 1: Diamond NOISE // noise(10.82,() => 0.002 * Math.sin(time/100)) // .modulate(osc(() => time / 10),1) // .thresh(0.65) // .out(o0) // // // src(o0) // .rotate(() => Math.sin(time/25)).out(o1) // // // // render() // // src(o3) // .scale(0.9) // .out(o2) // // src(o2) // .kaleid(4) // .out(o3) // // // render(o1) // // // src(o1) // .blend(src(o2).scale(0.99),0.3) // .scale(1.0199) // .out(o3) // // render(o3) // // TELEVISION BREAKS THE DIMENSION osc( // () => Math.sin(time/200)*(time % 3600) // osc(() => a.fft[0]*100, // 0 //() => a.fft[1]*10 // ,3) ) .scale(() => 5*a.fft[2]+0.05) .modulate(osc() .rotate(() => 0.5*a.fft[1]) ) .out(o0) render(o3) src(o0) .scale([0.5,0.25,0.125,0.015].fast(1/8)) .out(o2) src(o2) .blend(gradient(0.1).luma(0.02),0.38).color(() => Math.sin(time),0.4,0.9) .modulateRotate(noise(20,4),() => Math.sin(time) / 10) .out(o3) render(o3) // 3: THE FIGHT OF LIGHT src(o0) .modulateRotate( noise(20,[0,0.1,0.2,0.3,0.4,0.5]),0.03) .hue(() => 0.04 * a.fft[3]) .layer( shape( () => Math.ceil(1 + time % 12)) ,0.15) // CHANGE SHAPE AND SIZE TO RESET GLITCHES .luma() // KILL THE LUMA TO BLACK OUT .color( 0, [0,0.6,0,0], [0.8,0.1,0.8,0.1] ) // .contrast(1.15) .brightness(-0.1) // .diff(osc()) // NEXT SONG: DIFF IT UP! .scale(0.9) // PLAY WITH SCALE TO MESS AROUND .out(o0) render(o1) src(o0) .rotate(() => Math.sin((a.fft[1] + time) % 360)) .out(o1) src(o1) .scale(() => a.fft[0] * 0.5 + 0.5) .out(o2) render(o2) // LA COMMUNICATION // C"EST LA _PERF_ src(o3).diff(osc(2, 0.1, 0.1) .rotate(1.55) .mult( osc(12, 0.1, 2), ) .kaleid(()=>(Math.floor((Math.sin(time*0.5)+2)*20))) .mult( shape(()=>(Math.floor((Math.sin(time*1.26) + 2) * 3)),0.5).rotate(0,-0.5) ) ) .scale(()=>(Math.sin(time*-0.1))) .out(o1) render(o2) voronoi(10, 1) .brightness(-0.3) .contrast(10) .diff(shape(()=>(Math.floor((Math.sin(time*1.58) + 2) * 3)),0.5).rotate(0,1.56)) .out(o2) src(o1) .diff(src(o2)) .mult(shape(()=>(Math.floor((Math.sin(time*0.56) + 2) * 3)),0.5) .rotate(0,()=>(Math.sin(time*0.2)*0.01)) .scale(()=>((Math.sin(time*0.33)+1.2)*4))) .repeat(5,5) // .kaleid(3,0.5) .kaleid(8) // .diff(src(o3)) .out(o3) render(o1)