I would like to know how can I set a reset loop: While the draw() is going on I would like to clear the canvas so I can start to draw on a clean canvas again and again. (I don’t want to use keyPressed() or mousePressed() it has to be automatic) Thank you for your help in advice! Answer You