Problem with void Draw
in
Programming Questions
•
1 year ago
Hi Guys,
I got the following problem. I have a void drawTriangle() and a void drawCircles().
I use void drawTriangle in the void draw so I can move it. in drawTriangle I use background(0);
so the background is black. now i want void drawCircles to draw random circles one time.
but if i put it in de void Setup() it only draws the circles randomly and the void draw overwrites it with a black background.
if I put drawCircles in the void Draw it keeps drawing Circles randomly and the circles jump around the screen.
is there a way to draw them once in the beginning and keep them on the screen.
Hope to hear from you soon.
1