xxxxxxxxxx
// funzione che viene eseguita una sola volta quando si esegue lo sketch
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
strokeWeight(224);
stroke(255,0,0);
point(width/2,height/2);
point(width,height);
point(0,0);
point(width,0);
point(0,height);
point(100,200);
}
function draw(){
point(mouseX,mouseY);
}