Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2017 07:10
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/8af4f03345c026103bd1bea7670d6fe9 to your computer and use it in GitHub Desktop.
Save anonymous/8af4f03345c026103bd1bea7670d6fe9 to your computer and use it in GitHub Desktop.
void setup() {
size(480, 480);
}
void draw() {
background(255);
fill(random(98),random(24),random(70));
rect(0,0,40,480);
ellipse(80,0,40,480);
rect(160,0,40,480);
ellipse(240,0,40,480);
rect(320,0,40,480);
ellipse(400,0,40,480);
fill(255); // white across
rect(0,0,480,40);
ellipse(0,80,480,40);
rect(0,160,480,40);
ellipse(0,240,480,40);
fill(30); // Black across
ellipse(0,40,480,40);
ellipse(0,120,480,40);
ellipse(0,200,480,40);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment