xxxxxxxxxx
// eseguita solo quando si esegue lo sketch
function setup(){
createCanvas(windowWidth, windowHeight);
}
function draw(){
background(10);
for(let x = 0; x<width; x=x+20){
stroke(0, map(x, 0, width, 0, 255), 255);
line(x, 0, mouseX, mouseY)
line(x, height, mouseX, mouseY)
}
}