xxxxxxxxxx
// funzione che va eseguita una sola volta quando si esegue lo sketch
function setup(){
createCanvas(windowWidth, windowHeight);
background (68, 184, 95);
strokeWeight(50);
stroke(100, 200, 30)
point(width/2, height/2);
}
// funzione viene eseguita circa 30 volte al secondo
function draw(){
strokeWeight(50);
stroke(200, 0, 0);
point(mouseX, mouseY);
}