Beginning a music visualizer using Javascript and HTML5 canvas

I’ve been playing around with the canvas element and using JavaScript to “fake” animate by continually drawing on a canvas, moving points across it, and then “fading” the drawing out slowly within each loop by putting a semi-transparent mask over the entire canvas.

There’s no music hooked up yet, but I’ve at least started fiddling around with some variables to get a really basic visualizer started. Overall, a fun project so far and it only took me a few minutes to get it up and running.

You can find it at my github, and here is a demo!