sketch.js – A tiny boilerplate for creating JavaScript based coding experiments

Javascript / Added on July 18, 2012 / Add to favorites

sketch.js is a tiny (~5k) boilerplate for creating JavaScript based creative coding experiments.
It handles all that tedious but necessary stuff that would normally slow you down – setting up an animation loop, creating and managing a graphics context for Canvas or WebGL, cross browser and device event binding and normalisation for mouse, touch and keyboard events, handling window resizes… and more.
sketch.js