xxxxxxxxxx
27
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
noFill();
circle(200, 200, 50);
circle(200, 200, 100);
circle(200, 200, 150);
circle(200, 200, 200);
circle(200, 200, 250);
circle(200, 200, 300);
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);
}