Renders a single sphere in Nil geometry using the position-dependent metric tensor of the Heisenberg group. Geodesics are computed using exact formulas with asymptotic expansions near the XY plane, and Newton’s method determines precise distances and tangent directions.
Controls: WASD to rotate, arrow keys to translate.