A canvas example

Mousedown to draw

Text to add:
Where to add it:
The buttons below and functions to process them are from http://www.nihilogic.dk/labs/canvas2image/.
They provide a nice set of functions to save image data to a file.