Hyperbolic disk embedding via gradient descent with switchable optimization methods
An alternative approach to embedding a region of the hyperbolic plane in R3, this program minimizes the elastic energy of a mesh whose target edge lengths are given by the hyperbolic metric ds2=dr2+sinh2(r)dθ2. Instead of the physics-based spring-and-charge simulation, it uses direct gradient descent on the sum of squared differences between actual and target edge lengths.
The result is a saddle-shaped surface approximating a patch of the hyperbolic plane. The GUI allows switching between optimization methods including stochastic gradient descent, momentum, and simulated annealing.
Controls: Click and drag to orbit, scroll to zoom.