Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Created January 24, 2015 20:20
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 zeroeth/2a913a7d01fbc4738870 to your computer and use it in GitHub Desktop.
Save zeroeth/2a913a7d01fbc4738870 to your computer and use it in GitHub Desktop.
processing loop
float circle_size = 50;
void setup()
{
size(600, 600);
}
void draw()
{
background(0);
for (int position = 0; position < 400; position = position+10)
{
circle_size = position;
ellipse(position, 300, circle_size, circle_size);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment