Skip to content

Instantly share code, notes, and snippets.

@dimkir
Created October 18, 2013 09:26
Show Gist options
  • Save dimkir/7038964 to your computer and use it in GitHub Desktop.
Save dimkir/7038964 to your computer and use it in GitHub Desktop.
Created using Sketch2Tweet tool
int s=600;
int h=1;
void setup() {
size(s, s);
stroke(0);
colorMode(HSB, 255);
}
void draw() {
if (h<s) {
translate(random(s), random(s));
rotate(h);
strokeWeight(random(1,10));
stroke(randomColor());
line(0, -250, 0, 250);
h++;
}
}
color randomColor(){
return color((int)random(255), 255,255, 110);
}
@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