Below is a program that allows the user to paint a simple picture onto an HTML5 canvas and then save it to their local computer. To see the source code, visit http://thiscouldbebetter.wordpress.com/2013/01/19/a-simple-paint-program-in-javascript-using-html5/.