sketch.js is a tiny (~2kb gzipped) platform for JavaScript creative coding.
sketch.js lets you get straight to the fun parts of creative coding, without ever having to worry about shims or boilerplate code.
It gives you a graphics context, an animation loop, normalised input events and a host of useful callbacks to hook into.