Skip to content

Instantly share code, notes, and snippets.

@dimkir
Created October 18, 2013 09:34
Show Gist options
  • Save dimkir/7039057 to your computer and use it in GitHub Desktop.
Save dimkir/7039057 to your computer and use it in GitHub Desktop.
Created using Sketch2Tweet tool
int w=800;
float a, b=800, z=10, y=0;
void setup() {
size(w, w);
colorMode(HSB, 255);
}
void draw() {
a=a+5;
z=10*int(random(w/10));
stroke(randomColor());
line(a, b, mouseX, mouseY);
}
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