I need to draw many geodesics on a sphere. Is it better to follow @jose in his instructive response to the post, Plot a partition of the sphere given vertices of polygons, using GeoPath & GeoGraphics?


Or just compute points along the geodesic and use Line in Graphics3D? I know how to do the latter:

          Image from a MathOverflow question.
I would like the ability to rotate the 3D object with the mouse, which seems not possible with GeoGraphics? But it seems so inefficient to represent geodesics by lists of 3D points when there is a GeoPath primitive.

Answered by J.M.'s link to his BSplineCurve arcs code:


  • 1
    $\begingroup$ I gave a routine to draw (acute or obtuse) great circle arcs here. If you expect to be drawing reflex arcs and entire great circles as well, the routine there will need to be modified. $\endgroup$ – J. M.'s discontentment Aug 19 '17 at 11:54
  • $\begingroup$ @J.M.: Thanks! That might be the solution I'm seeking. Very concise code, exactly what I need. $\endgroup$ – Joseph O'Rourke Aug 19 '17 at 12:52
  • 1
    $\begingroup$ That's a snazzy-looking sphere partition you have there! :) $\endgroup$ – J. M.'s discontentment Aug 19 '17 at 15:06

Browse other questions tagged or ask your own question.