How can I turn this code into a simple loop using ‘for’ command?
The first circle is the smallest circle, each circle, fill subtracts 30 and size grows by 10. The x and y stay the same.
void setup(){
size(500, 500);
}
void draw(){
background (0);
noStroke();
fill(100);
ellipse(250,250,60,60);
fill(130);
ellipse(250,250,50,50);
fill(160);
ellipse(250,250,40,40);
fill(190);
ellipse(250,250,30,30);
fill(220);
ellipse(250,250,20,20);
fill(250);
ellipse(250,250,10,10);
}