Created
November 4, 2018 04:14
-
-
Save hmharshit/c17bdd133ff4927a2c7c57380d544187 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
size(640, 360); | |
noStroke(); | |
noLoop(); // Run once and stop | |
} | |
void draw() { | |
background(100); | |
fill(31.875); // to fill color in 1st circle | |
arc(width/2, height/2, 150, 150, 0, 1.25664); // | |
fill(124.875); // to fill color in 2nd circle | |
arc(width/2, height/2, 150, 150, 1.25664, 3.14159); | |
fill(62.875); // to fill color in 3rd arc | |
arc(width/2, height/2, 150, 150,3.14159,6.28319); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment