xxxxxxxxxx
21
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
noFill();
for (i = 50; i < 300; i += 50){
circle(200, 200, i);
}
rectMode(CENTER);
if (mouseX < width / 4) {
fill(255, 150);
} else if (mouseX < (width / 4) * 3) {
fill(127, 150);
} else {
fill(0, 150);
}
square(width / 2, height / 2, 300);
}