What do you mean? You are drawing a normal ellipse at the mouse coordinates on the line after noStroke. That will of course create traces outside pg
Also, because you never call background() the main sketch window never complete clears -- you are using repeatedly applying a very low alpha black text.
Answers
Here is its program that can be run directly,No statement indicates that there will be traces outside PGraphics pg.
What do you mean? You are drawing a normal ellipse at the mouse coordinates on the line after noStroke. That will of course create traces outside pg
Also, because you never call background() the main sketch window never complete clears -- you are using repeatedly applying a very low alpha black text.