xxxxxxxxxx
18
function setup() {
createCanvas(400, 400);
}
function draw() {
background(150, 200, 200);
stroke(200, 100, 150);
noFill();
drawCircle(200,200,300);
}
function drawCircle(x, y, d) {
ellipse (x, y, d);
if (d > 2) {
drawCircle (x + 50, y, d*0.7);
drawCircle (x - 50, y, d*0.7);
}
}