Skip to content

Instantly share code, notes, and snippets.

@dimkir
Created October 15, 2013 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimkir/6999375 to your computer and use it in GitHub Desktop.
Save dimkir/6999375 to your computer and use it in GitHub Desktop.
Created using Sketch2Tweet tool
void setup() {
size(800, 600);
fill(255, 9);
colorMode(HSB, 255);
}
void draw() {
fill(255,3);
rect(0, 0, 800, 600);
fill(randomColor());
float r=random(-50, 50);
rect(mouseX+r, mouseY+(sin(r)*50), r, r);
}
color randomColor(){
return color(random(255), 255,255, 20);
}
@dimkir
Copy link
Author

dimkir commented Oct 15, 2013

This is comment which can show image of the sketch imge

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