xxxxxxxxxx
18
function setup() {
createCanvas(800, 800);
// noLoop();
}
function draw() {
background(0);
noFill();
stroke(255);
strokeWeight(3);
beginShape();
for (let x = 0; x < width; x++) {
let y = height * noise(x * 0.00001 * mouseX);
vertex(x, y);
}
endShape();
}