xxxxxxxxxx
21
let x, y;
function setup() {
createCanvas(400, 400);
background(255);
let startNum = random(height);
for (x = 0; x < width; x++) {
y = startNum + 100*noise(x);
console.log(x, y);
stroke(0);
fill(255);
strokeWeight(2);
line(x, 400, x, y);
}
}
function draw() {}