Key 'e': Save a high-resolution PNG of the current image.
Key 'a': Increment the number of lines.
Key 's': Decrement the number of lines.
RIGHT_ARROW: Change the number of lines drawn.
LEFT_ARROW: Change the number of lines drawn.
Mouse pressed: redraw.
This p5js code is scrollable.