drawmote
drawmote copied to clipboard
Canvas saving and restoring
Provide a way to save and restore the canvas.
Storing the whole context as a bitmap in local storage might work for one or two drawings, but will soon fill up the available space.
Another possibility is to store the actual drawing instructions (movement, brush settings) in a buffer while drawing and then recreating that on load.