We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78e739d commit df25bb6Copy full SHA for df25bb6
1 file changed
redsnow-audio-reactive.js
@@ -0,0 +1,12 @@
1
+shape(99,.4).color(1,0,0)
2
+ .add(shape(3).rotate(()=>Math.sin(time/500)*360+45),1)
3
+ .add(shape(3).rotate(()=>-Math.sin(time/500)*360+45),1)
4
+ .scroll([.1,.9].ease('easeInCubic'),[.1,.9].smooth())
5
+ .scale(()=>a.fft[0]*2+0.1)
6
+ .out(o1)
7
+src(o1).repeat([20],[20])
8
+ .mask(shape(99).scroll(()=>0.1*Math.random()+a.fft[0]/3,()=>0.01*Math.random()+a.fft[1]/3).
9
+ add(shape(2,.1).scroll(0,[.35,.6].ease('easeInQuad'))))
10
+.add(src(o1).scale(.8).scroll(.3,.3))
11
+ .out()
12
+a.show()
0 commit comments