//recursion
void setup() {
size(500,500);
background(#0F0E04);
noLoop();
fill(#FF5500);
circles(width/2 , height/2, 200,1.0/3);
}
void circles(float x , float y, float diam, float factor){
circle(x,y,diam);
if (diam>=3){
//right circles
circles(x+.5*diam,y,factor*diam,factor);
//left circles
circles(x-.5*diam,y,factor*diam,factor);
//top circles
circles(x,y+.5*diam,factor*diam,factor);
//bottom circles
circles(x,y-.5*diam,factor*diam,factor);
}
}