Pi Day Challenge
The formula for the perimeter of a circle is P = 2 π r. The formula for the area of a circle is A = π r². Therefore, P² / A equals 4 π, and a quarter of that equals π. According to the isoperimetric inequality, among all closed curves in the plane of fixed perimeter, a circle maximizes the area of its enclosed region. Therefore, the closer a shape is to a circle, the closer its (1/4) P² / A value is to π. This method is used to measure the roundness of the shape you've drawn.
Status | Released |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (5 total ratings) |
Author | matrix67 |
Genre | Educational |
Tags | Drawing |
Average session | A few seconds |
Languages | English |
Inputs | Mouse, Touchscreen |
Comments
Log in with itch.io to leave a comment.
My Best:3.169583-A+
PI<3.15-S+ <3.16-S <3.17-A+ <3.18-A <3.2-B+ <3.3-B <3.4-C <4-D >4-D-
123
3.20
with samsung tablet and spen :3
GPT is really changing everything... While others already posted a perfect score using a program, I also used GPT-4 to achieve that in one shot. Just copy paste the code and it just works. What's really impressive is, I also cloned this game in 3 minutes with GPT's help. The cloned page is here: https://yage.ai/circle.html . And the specific prompt I used can be found in this link: https://chat.openai.com/share/96575893-4961-4f1b-8bdd-5c8715ae768e
This was the best I could do free-hand with a regular ol' wired PC mouse. I'm satisfied:
3.196583
Cheat, but still by hand
cheat
wow!how?
so amazing
Wow That's wild, game destroyed
I wish I was a circle.
Managed to snag an S+ score, but let’s be real, it was all thanks to some sneaky pyautogui wizardry. I’m basically the cheater’s champion of the pi-day-challenge!
Fun, needs better resolution to go for high scores.
with apple pen
With mouse
draw with ahk