xxxxxxxxxx
26
let start = 0;
let increment = 0.01;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(42);
noStroke();
stroke(255);
noFill();
let xoff = start;
beginShape();
for(let i = 0; i < width; i++){
stroke(noise(off)*(height/2);
var y = noise(xoff) * height;
vertex(i, y)
xoff += increment;
}
endShape();
start += increment;
}