Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2017 01:39
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 anonymous/e52da665057de5cea7e7c0f842dbae0c to your computer and use it in GitHub Desktop.
Save anonymous/e52da665057de5cea7e7c0f842dbae0c to your computer and use it in GitHub Desktop.
/* this function draw many circle
* the circles are inside each others
*
*
*/
void drawSquares(float x, float y ) {
noStroke();
for (int i = 0; i < 150; i = i + 2) {
fill(random(255));
ellipse(x, y, i+50, 50 - i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment