xxxxxxxxxx
68
function setup() {
createCanvas(400, 400);
}
function draw() {
background(mouseX, mouseY, 235);
fill(124, 252, 0);
rect(0, 300, 400, 100);
fill(255, 228, 196);
rect(100, 200, 200, 200);
fill(255, 192, 203);
rect(100, 150, 200, 50);
fill(139, 69, 19);
triangle(90, 150, 200, 50, 310, 150);
fill(128, 0, 0);
rect(250, 80, 30, 70);
fill(160, 82, 45);
rect(180, 350, 40, 50);
fill(173, 216, 230);
rect(120, 230, 50, 50);
rect(230, 230, 50, 50);
rect(120, 160, 50, 30);
rect(230, 160, 50, 30);
fill(0);
line(145, 230, 145, 280);
line(120, 255, 170, 255);
line(255, 230, 255, 280);
line(230, 255, 280, 255);
line(145, 160, 145, 190);
line(120, 175, 170, 175);
line(255, 160, 255, 190);
line(230, 175, 280, 175);
fill(255, 255, 0);
ellipse(350, 50, 50, 50);
fill(34, 139, 34);
ellipse(50, 270, 80, 100);
fill(139, 69, 19);
rect(40, 300, 20, 30);
line(346,21,344,7)
line(351,21,351,7)
line(355,21,357,7)
line(359,22,363,8)
// rect(mouseX, mouseY, 100, 50)
print(mouseX + " "+ mouseY);
}