A quick demo on how to build a simple painting game with HTML5 canvas