xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
//frameRate(5);
}
function draw() {
background (100);
for(y=0; y<height; y+=30)
{
for(x=0; x<width; x+=30)
{
r = random(50)
//fill(random(255));
translate(x, y);
rotate( sin(millis()/1000) );
rect(0, 0, 20, 20);
//ellipse(x, y, r, r);
pop();
}
}
}