xxxxxxxxxx
function setup() {
createCanvas(400, 400);
background(0, 80, 250);
noStroke();
// House body
fill(255);
square(100, 200, 200);
// Roof
fill(160);
triangle(40, 230, 360, 230, 200, 140);
// Windows
fill(0, 150, 180);
square(130, 255, 50);
square(220, 255, 50);
}
function draw() {
if (frameCount % 60 == 0) {
print(mouseX + " " + mouseY);
}
}