SkillAgentSearch skills...

PseudosphereGeodesics

Visualising straight lines (geodesics) on the pseudosphere and related geometries.

Install / Use

/learn @timhutton/PseudosphereGeodesics
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Live demo: <a href="https://timhutton.github.io/PseudosphereGeodesics/">click here</a>

<a href="https://timhutton.github.io/PseudosphereGeodesics/">image</a>

Description:

The <a href="https://en.wikipedia.org/wiki/Pseudosphere">pseudosphere</a> is a surface of constant negative curvature. Also shown are three other representations of hyperbolic geometry: the <a href="https://en.wikipedia.org/wiki/Poincar%C3%A9_half-plane_model">upper half-plane model</a>, the <a href="https://en.wikipedia.org/wiki/Poincar%C3%A9_disk_model">Poincaré disk model</a> and the <a href="https://en.wikipedia.org/wiki/Beltrami%E2%80%93Klein_model">Klein disk model</a>.

The blue and green lines are geodesics ("straight lines") in the four models. You can drag their end points to move them around (except on the 3D view).

To map the upper half-plane onto the pseudosphere, everything above the red line (y=1) is wrapped around the funnel, like a rolled-up sheet of paper. The orange lines in each view map onto the single orange line on the pseudosphere. A geodesic that crosses multiple orange lines will therefore wind itself more than once around the pseudosphere.

A geodesic on the pseudosphere is the path an ant would take if it were to walk straight forwards. Remarkably, the complicated paths created always unwrap to form straight lines in the Klein disk model. There's a deep connection here with <a href="https://en.wikipedia.org/wiki/General_relativity">general relativity</a>, where inertial objects may take complicated paths in space but are actually moving along straight lines in spacetime. See <a href="https://timhutton.github.io/GravityIsNotAForce/variable_gravity.html">here</a> for a similar web app that visualises how this works.


Thanks to Rickard Jonsson for helping me understand how geodesics work. Thanks also to Tadao Ito for making these amazing pages explaining how the pseudosphere maps onto horocycles in the Poincaré disk model: [1] [2]

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1y ago
Forks4

Languages

JavaScript

Security Score

75/100

Audited on Mar 10, 2025

No findings