xxxxxxxxxx
let w = 55;
let h = 55;
//let l = 47;
//let e = 47;
function setup() {
createCanvas(559, 397, SVG);
//background(0);
noLoop();
}
function draw() {
clear()
//x= mouseX/10;
//y= mouseY/10;
let y = height / 2;
for (let y = 0; y < 4; y++) {
for (let x = 0; x < 6; x++) {
push();
let b = map(x, 0, 27, 0, 5*PI);
translate(x * b, 0);
translate(40 + x * 95, 50 + y * 95);
stroke(0);
//fill(206, 189, 76)
ellipse(0, 0, w, h);
pop();
//fill(79, 77, 73);
stroke(0);
ellipse(30 + x * 95, 50 + y * 95, w, h);
}
}
/*
rect(125, height/2, w, h);
rect(200, height/2, w, h);
rect(275, height/2, w, h);
rect(350, height/2, w, h);
rect(425, height/2, w, h);
rect(500, height/2, w, h);
rect(575, height/2, w, h);
rect(650, height/2, w, h);
rect(725, height/2, w, h);
rect(800, height/2, w, h);
*/
}
function mousePressed() {
save("mySVG.svg");
}