xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(155);
}
// var offset = 0;
// function draw() {
// var x = noise(offset)*width;
// var y = noise(offset+100)*height;
// ellipse(x,y,2,2);
// offset += 0.05
// }
var offset = 0;
function draw() {
var x = noise(offset)*width;
var y = noise(offset+100)*height;
//line(random(x), random(y), x,y);
fill(0,0,0,10);
triangle(random(x), random(y), random(x), random(y), random(x), random(y)); //, random(x), random(y));
offset += 0.05
}