Loading…

Differential Geometry Preview [geodesics on Surfaces]

Math Geometry • Analytical and Advanced Geometry (capstone)

View all topics

Geodesics Calculator – Shortest Path on Surfaces (3D Preview)

Pick a surface (sphere or torus), enter two points, and preview an approximate geodesic (shortest surface path). On a sphere, geodesics are great-circle arcs; on a torus, the tool computes a numerical approximation.

Drag to rotate the 3D view • wheel/trackpad to zoom • “Reset view” recenters. Inputs accept pi, sqrt(2), sin(), cos(), tan().

Surface & points
Sphere inputs
Example: Earth mean radius \(r\approx 6371\) km.

Latitudes are typically \([-90^\circ,90^\circ]\). Longitudes wrap (e.g., \(190^\circ\equiv -170^\circ\)).
View & output options

The surface stays centered while you rotate (no drifting out of frame). Use Play to animate the path reveal.

Ready
3D preview (rotate/zoom)

On a sphere, the path is the great-circle arc. On a torus, the path is a numerical approximation to reduce surface length.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a geodesic?

A geodesic is a locally length-minimizing curve constrained to a surface—an analogue of a straight line in the plane.

Why are sphere geodesics great circles?

The shortest surface paths on a sphere lie on planes through the sphere’s center; those intersections are great circles.

Is the torus result exact?

No. The torus path is a numerical preview that reduces polyline length; it may find a good local minimum but not always the global shortest path.

Why can torus geodesics wrap around?

Because the torus has periodic directions, different homotopy classes (wrap patterns) can yield different candidate shortest paths.