xxxxxxxxxx
11
function setup() {
//slow down the frameRate to make it more visible
createCanvas(400, 400)
frameRate(10);
}
function draw() {
background(244, 248, 252);
ellipse(mouseX, mouseY, pmouseX, pmouseY);
print(pmouseX + ' -> ' + mouseX);
}