Hello, I use processing for some hobby drawing. Today while doing such a thing I faced a weird situation. I have a circle that will grow as time passes on, in draw() I did not use any background() call, so this growing circle should leave a trail, right? but that doesn’t happen. Here’s my code (run in Processing 3.5.4)
float r = 20;
void setup(){
size(720, 720);
background(255);
}
void draw(){
ellipse(width/2, height/2, r, r);
r += 1;
}
When I modify this code for shrinking (i.e. make r initially big and decrease by 1 every draw) the trail is there. Why is the trail missing for the case of growing? I can’t find any logical answer.