xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
/*strokeWeight(5);
stroke(255, 4 , 4 , 56);
fill(100 , 200 , 30 );*/
background(255);
for(let x = 0; x < width; x = x+10){
stroke(100, map(x, 0, width, 0, 255), 210);
line(mouseX, mouseY, x, 0);
line(mouseX, mouseY, x, height);
circle(mouseX, mouseY, 10);
}
}