xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(122,46,100,100);
}
function draw(){
background(22,146,121,12);
for(let x = 0; x < width; x = x+20){
stroke (243, mouseX, mouseY,59)
line (mouseX, mouseY, x, 0);
stroke(20,mouseX, mouseY);
line ( x, height, mouseX, mouseY);
}
//Let x etc... dichiaro una variabile, con valore iniziale x=0
/*
function draw() {
circle (mouseX, mouseY, 20);
fill (mouseX, 255, mouseY);
rect (90, 15, 80);}
*/
}