Today Simon tried the Spherical Geometry coding challenge from Daniel Shiffman’s awesome channel. It involved programming a globe in Processing (using Java), using trigonometrical equations with longitudes and latitudes.
Here Simon explains the equations:
And shows them inside the code:
And here’s how the challenge went on further:
This is the way the globe looked at the beginning:
Daniel Shiffman explaining the trigonometry behind the longitudes and the latitudes:
Simon got stuck in the middle of the challenge, but made it quite far.