xxxxxxxxxx
32
let xoff = 0;
function setup() {
createCanvas(800, 800);
noLoop();
//console.log(noise(width, height))
background(255, 155, 100);
}
function draw() {
noFill();
//xoff = xoff + 0.2;
strokeWeight(8);
for(let i = 0; i < width; i++) {
let n = noise(i) * width;
stroke(255, 204, 100);
// line(i * 4, 0, i * 4, height/2 + cos(random(n)) * 40.0);
// stroke(255, 100, 100);
// line(i * 4, 0, i * 4, height/4 + cos(n) * 40.0);
point(i, n)
console.log(n)
}
}