Disco

←back to posts

Disco

23rd March 2015

 

show code

void setup() {
size(500, 500);

rectMode(CENTER);
}

void draw()
{
background(random(0, 255), random(0,255), random(0,255));
fill(random(0, 255), random(0,255), random(0,255));
for (int i = 0; i < 500; i = i+40) {

for (int j = 0; j < 500;j = j+40) {
stroke(random(0, 255), random(0,255), random(0,255));

rect(i, j, 20,20 );
}
}
}