Last active
May 6, 2020 20:05
-
-
Save georgesb/8d230cb760cf4056769db3ce36b9c6f2 to your computer and use it in GitHub Desktop.
Descartes' Theorem
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
<script src="https://cdn.jsdelivr.net/npm/p5@0.10.2/lib/p5.js"></script> | |
<script src="script.js"></script> |
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
function setup() { | |
createCanvas(310, 450); | |
background(0); | |
noStroke(); | |
fill('teal'); | |
arc(155,450,310,310,radians(180),radians(0)); | |
fill('#FF5733'); | |
arc(355,-20,710,710,radians(90),radians(270)); | |
fill('#FFC300'); | |
circle(57,263,112); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment