xxxxxxxxxx
33
function setup() {
createCanvas(400, 400);
}
function draw() {
background(255);
randomSeed();
noStroke();
for (let x = 0; x < 10; x++){
for (let y = 0; y < 10; y++){
let xpos = 30 + x * 60;
let ypos = 30 + y * 60;
fill(random(255), random(255), random(255), 60);
ellipse(xpos, ypos, 60, 60);
}
}
for (let x = 0; x < 6; x++){
for (let y = 0; y < 6; y++){
let xpos = 30 + x * 60;
let ypos = 30 + y * 60;
stroke(0);
strokeWeight(3);
noFill();
rect(xpos, ypos, 50, 50);
}
}
noLoop();
}