Skip to content

Instantly share code, notes, and snippets.

@jrpz
Created December 4, 2009 21:53
Show Gist options
  • Save jrpz/249389 to your computer and use it in GitHub Desktop.
Save jrpz/249389 to your computer and use it in GitHub Desktop.
size(320,240);
background(0);
for(int i=0;i<250;i=i+1){
int x = int(random(0,290));
int y=int(random(0,200));
int hw=int(random(10,40));
fill(int(random(0,255)));
stroke(255);rect(x,y,hw,hw);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment