xxxxxxxxxx
24
let t=0;
let rez=0.0009;
function setup() {
createCanvas(windowWidth, windowHeight);
noStroke();
}
function draw() {
for (var x = 0; x < width; x+=3) {
for (var y = 0; y < height; y+=3) {
var c = 255 * noise(rez * x, rez * y, t);
var c1 = 255 * noise(rez * x, t, rez * y);
var c2 = 255 * noise(t, rez * x, rez * y);
fill(c,c1,c2);
rect(x, y, 3, 3);
}
t+=0.00009;
}
}