xxxxxxxxxx
18
// Show mouse x, y coordinates
// ewan@prewired.org
function setup() {
createCanvas(400, 400);
frameRate(10);
//background(240);
}
function draw() {
background(240);
fill(255, 60, 100);
text("(" + mouseX + ", " + mouseY + ")", mouseX, mouseY);
stroke(0);
noFill();
square(200, 195, 80);
//circle(mo395useX, mouseY, 25);
}