xxxxxxxxxx
var points = 10
var scroll = 0
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(0);
stroke(255)
strokeWeight(random(10))
noFill()
beginShape()
for(var x = 0; x < windowWidth; x = x + points) {
var y = windowHeight/2 + noise(x * 0.01, scroll) * 200
vertex(x, y)
}
endShape()
scroll = scroll + 0.6
}