Hi all,
I came across this snippet,
http://processing.org/learning/topics/continuouslines.html, it helps to scribe like MS Paint. However, I was wondering to add the functionality of UNDOing an action (like MS paint again). So, if we scrible two separate lines/circle/random_shape or anything, on pressing the undo-button or space-bar or anything, the last action is erased.
Any help (with code snippet?), will be very helpful and appreciated. Thanks a lot!!
1