Examples stolen from Mozila's Examples at http://developer.mozilla.org/en/docs/Drawing_Graphics_with_Canvas