Skip to content

Instantly share code, notes, and snippets.

@mrflip
Last active August 23, 2023 13:28
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mrflip/a973b1c60f4a38fc3277ddd57ce65b28 to your computer and use it in GitHub Desktop.
Ancient Greek Geometry walkthrough / answers / cheats

Solutions for Ancient Greek Geometry (https://sciencevsmagic.net/geo)

Most solutions taken from the about thread. See the comments below for more additions since my last check-in.

Polygons

Circle Packs

Circumscribed Polygons

Non-Constructible Figures

Abuse of floating-point math can make the widget approve non-constructible polygons (polygons with edge count 7, 9, 11, 13, 14, 18, 19, 21, 22, 23, 25, 26, 27, 28, 29, 31, 33, 35, ..., which cannot be precisely constructed using straightedge and compass):

@mrflip
Copy link
Author

mrflip commented May 10, 2020

Thanks Eddy! I'll batch these up at some point. I found a new (for me) trick when stellating a polygon to fill out the edges: a diameter of the circle goes through the points of the star, so if your construction can naturally have two diameters with enough of an angle spread you can avoid drawing a circle to reflect the vertices off. You can see that in the 20-gon solution I just put up, where it saves one move.

@Eddy119
Copy link

Eddy119 commented May 10, 2020

I'm not sure how floating point math works but I guess it results in some less approximate constructions being recognised and some more approximate constructions not being recognised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment