I guess the easiest change that would help would be the addition of a “copy” button that doesn’t save or increment anything. Hmm, maybe I can find that in the code myself…
EDIT: Yes, I just have to edit this function:
function keyPressed() {
if (key == "q") setGray();
if (key == "w") setGreen();
if (key == "e") setRed();
if (key == "s") saveCanvas();
if (key == "c") copyImage(); // copies without saving
}
Then the “c” key copies without saving: