Skip to content

Instantly share code, notes, and snippets.

@dimkir
Created October 18, 2013 10:26
Show Gist options
  • Save dimkir/7039580 to your computer and use it in GitHub Desktop.
Save dimkir/7039580 to your computer and use it in GitHub Desktop.
Created using Sketch2Tweet tool
float x=-90, a, b, y;
int w=2060;
void setup() {
size(w/3, w/3);
background(255);
colorMode(HSB,255);
}
void draw() {
a=b;
b=90*int(random(w/90));
fill(randomColor());
rect(a, b, x, y);
y=b;
}
color randomColor(){
return color((int)random(255),255,255);
}
@dimkir
Copy link
Author

dimkir commented Oct 18, 2013

This is comment with sketch screenshot url: imge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment