xxxxxxxxxx
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
// Draw a line of noise
for (let x = 0; x < width; x++) {
let y = map(noise((x+frameCount)*0.01, 0.1), 0, 1, 0, height);
stroke(0);
point(x,y);
}
}