xxxxxxxxxx
let w = 100;
let h = 100;
let g = 300;
function setup() {
createCanvas(559, 397, SVG);
background(255);
rectMode(CENTER);
}
function draw() {
background(255);
translate(25, 50);
for (let y = 0; y < 8; y++) {
for (let x = 0; x < 11; x++) {
push();
let a = map(x, 0, 11, 0, PI);
translate(x * g+0, y * g);
//rotate(a);
//fill(167, 249, 220 , 30);
//fill(23, 94, 68, 30);
//stroke(20, 30)
//rotate(millis()/000);
ellipse(0 ,0, -600, 600);
ellipse(0 ,0, 500, -500);
ellipse(0 ,0, 400, -400);
//fill(209, 32, 70, 30);
ellipse(0 ,0, 300, -300);
//fill(130, 196, 44, 30);
ellipse(0 ,0, 200, -200);
pop();
}
function mousePressed() {
save("mySVG.svg");
}
}
}