luahyperbolic – Hyperbolic geometry in the Poincaré disk model
This package allows to draw pictures and do computations in plane hyperbolic geometry, in the Poincaré disk model. Computations are done with Lua, and graphics are generated with TikZ. The package is written in Lua and requires LuaLaTeX.
Features:
- Draw geodesic lines, segments, polygons, rays, circles, horocycles, hypercycles.
- Label and mark segments, angles
- Compute intersections of geodesics, circles, symmetries, reflections, exponential maps, automorphisms
- Draw hyperbolic triangle tilings with a simple LaTeX macro
Example tiling : https://raw.githubusercontent.com/dmegy/luahyperbolic/refs/heads/main/triangle-tiling-2-4-5.png
| Sources | /macros/luatex/latex/luahyperbolic |
| Documentation | |
| Repository | https://github.com/dmegy/luahyperbolic |
| Version | 2026-03-16 |
| Licenses | CC0 1.0 |
| Maintainer | Damien Mégy |
| Contained in | TeX Live as luahyperbolic |
| Topics | Maths LuaTeX |
Download the contents of this package in one zip archive (3.4M).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments