xxxxxxxxxx
37
let start = 0;
let xoff = 0;
function setup() {
createCanvas(400, 400);
strokeWeight(0.5);
}
function draw() {
background(start);
fill(200);
// let xoff = start;
beginShape();
for (let x = 0; x < width; x++) {
for (let j = 0; j < height; j++) {
let y = noise(xoff) * j;
// fill(x, y, start * 10, 1);
// noStroke();
// rect(0, x, width, x);
vertex(x,y);
// fill(x, y, start * 10, x/20);
// stroke(x, y, x, 100);
// rect(y, x, 60 - start / 5, x * -0.25,2,2,0,0);
xoff += 0.02;
}
// start += 0.02;
endShape();
}
}