kasperpeulen / euclidthegame

A geometry game based on Euclid's Elements.
euclidthegame.org
MIT License
447 stars 74 forks source link

Level 13 #343

Open TimJSwan89 opened 8 years ago

TimJSwan89 commented 8 years ago

I solved level 13 using midpoints of secants and their perpendiculars. I added a couple circles just to show how obviously G is the center. It is not accepting it as the center. I am getting more curious about the source code now. Perhaps the code does not test for convergence but rather for specific constructions or for some accuracy (both of which should fail at some point) The way the code could (and probably should) work is to test a certain number of decimal places while assuming error of the functions is involved. So, rather than just assuming constant error, assume some unbounded error and keep increasing accuracy until the required number of decimal places no longer change. Then the comparison should produce an perfectly accurate result every time, it just technically has no computation limit time. That wouldn't really matter though, because someone would likely have to build an infinitely large construct before such an algorithm would be non-halting. https://gyazo.com/98dc71099d94f50d3fd4d1e559d6e6b5