Skip to content

Instantly share code, notes, and snippets.

@marchdown
Created March 16, 2016 11:54
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 marchdown/2e96360f1fc1a1447cfc to your computer and use it in GitHub Desktop.
Save marchdown/2e96360f1fc1a1447cfc to your computer and use it in GitHub Desktop.
void draw () {
ellipse(37,39,41,43);
}
void feuer (int n) {
assert(n>=0);
for (int i=0; i < n; i++){
float xd = random(1);
float yd = random(1);
ellipse(i+xd*40, i+yd*47, i*11, i*7);
}
}
void setup () {
feuer(13);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment