Skip to content

Instantly share code, notes, and snippets.

@dimkir
Created October 17, 2013 02:25
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/7018343 to your computer and use it in GitHub Desktop.
Save dimkir/7018343 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);
background(0);
}
void draw() {
if (h<s) {
translate(s/2+h, s/2+h);
rotate(h);
randomStroke();
line (0, -250, 0, 250);
h++;
}
else{
h = 0;
}
}
float td= 0.005;
float t = random(1000);
void randomStroke(){
//color k = color(int(random(255)), 255,255);
int val = (int) (noise(t) * 255); t += td;
color k = color(val, 255,255);
stroke(k);
}
@dimkir
Copy link
Author

dimkir commented Oct 17, 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