Skip to content

Instantly share code, notes, and snippets.

Created November 21, 2008 16:26
Show Gist options
  • Save anonymous/27483 to your computer and use it in GitHub Desktop.
Save anonymous/27483 to your computer and use it in GitHub Desktop.
void setup(){
size(600,600);
background(255);
colorMode(RGB,255);
smooth();
noStroke();
frameRate(30);
}
void draw(){
color c = color(random(252,255),random(100,183),random(190,225));
fill(c);
float wh = random(2,12);
int x = random(0,width);
int y = random(0,height);
rect(x,y,wh,wh);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment