xxxxxxxxxx
37
let xOff = 0
//let xOff2 = 10000
let inc = 0.01
let start = 0
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
//let x = random(width)
//let x = map(noise(xOff), 0, 1, 0, width)
//let y = map(noise(xOff2), 0, 1, 0, height);
//xOff += 0.01
//xOff2 += 0.01
//ellipse(x, y, 24)
let xOff=start
stroke (255)
noFill()
beginShape()
for (let x = 0; x < width; x++){
stroke(255)
let y = noise(xOff)*height
vertex(x,y)
xOff += inc;
}
endShape()
start += inc
//noLoop()
}