DEV Community

Pranjal Sailwal
Pranjal Sailwal

Posted on

Tracing geodesics on curved surfaces

I built Geodesic Flow Visualizer to make differential geometry feel a little less abstract. It computes geodesic paths on parametric surfaces, shows Gaussian and mean curvature, and keeps the whole flow interactive in the browser through WebAssembly. The browser layer gets mesh data, curvature values, and surface bounds straight from the C++ core, so the math stays close to the visualization.

The part I enjoyed most was the balance between geometry and interaction: trace a path, inspect curvature, and see how the surface changes the motion. The picking logic is practical too, starting with a coarse search and then refining the point numerically.

Repo: geodesic-flow-visualizer.

Related paper: Geodesic Flow Computation on Parametric Surfaces via WebAssembly.

Open to remote tech consulting, SDE, and Senior Developer roles.

Top comments (0)