So recently, I came across another interesting puzzle on Twitter:

And of course it would be possible to throw a bunch of sine and cosine functions at this problem to solve it, but whenever possible, I try to avoid trig functions, as they tend to be a lot slower…

Pascal Sommer

Photographer, programmer, musician. http://pascalsommer.ch

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store