Hey, I have some problem I can’t figure out:
I want to draw a circle on a screen by the mouseX mouseY cords (I want the draw to stay on the screen so I refresh the background un the draw function) , and above it I’m trying to draw a smaller circle that is keeping the mouseX mouseY cords. So I thought to use PGraphics and to draw the smaller circle and use clear every frame.
the problem is that when I use the Image() function to show the PGraphics Its stays on the screen so I see the trail of the smaller circle.
Does anyone have any idea what can I do differently?
The problem is that you try to keep that part of your graphics that is changed when the image()-function is called. You could solve your problem by switching your graphics.