Key 'e': Save a high-resolution PNG of the current image.
Mouse pressed: redraw.
This p5js code is scrollable.