How to write a simple drum machine that runs in the browser.
Running version at http://drum-machine.maryrosecook.com
VIDEO HERE
The heavily annotated source code is 114 lines long.
Clone it from GitHub
$ git clone [email protected]:maryrosecook/drum-machine.git
Mary Rose Cook - http://maryrosecook.com