Suppose you want to fly from Honolulu to JFK. What path should you take?
Navigators use something called a Great Circle, which is defined as the shortest path connecting two points on the surface of the Earth. The Great Circle connecting Honolulu and JFK is shown in blue above.
There is another path you can take called a loxodrome (or rhumb line). This is a path that crosses all meridians (lines of longitude) at a constant angle. The loxodrome connecting Honolulu and JFK is shown in red above.
Try moving the globe above with your mouse to get a better view of the loxodrome.
Loxodromes are best illustrated using the Mercator projection. This is because the Mercator projection was designed for marine navigation and so courses of constant compass bearing (loxodromes) appear as straight lines.
When flying a great circle route the direction of your plane never changes. That is you would hold the steering wheel (flight controls) fixed. However, on a great circle route your compass direction does change.
When flying a loxodrome your compass heading (the direction the needle points) is fixed. But to follow a loxodrome you would have to to turn the wheel (flight controls) more sharply as you approach the poles.
In fact as loxodromes approach the poles they spiral inward, circling a pole infinitely many times.
This page is based on Jason Davies loxodrome code.