Skip to content

Instantly share code, notes, and snippets.

@Ludonaut
Last active August 29, 2015 13:59
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 Ludonaut/10582433 to your computer and use it in GitHub Desktop.
Save Ludonaut/10582433 to your computer and use it in GitHub Desktop.
float f;
void setup() {
size(500, 500);
}
void draw() {
smooth(8);
translate(width/2, height/2);
strokeWeight(10);
for (int i = 30; i > 0; i--) {
ellipse(0, 0, i * 30 + 25 * sin(i+f), i * 30 + 25 * sin(i+f) );
}
f+=0.0523;
}
@Ludonaut
Copy link
Author

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