xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
frameRate(5);
}
function draw() {
background(255);
for(i=0; i<1000; i+=100){
for(j=0; j<2000; j+=100){
push();
translate(j, i);
rotate( sin(millis()/1000));
fill(random(255));
rect(0, 0, random(30), random(30));
pop();
}
}
}