This is a Python 3 library for generating hyperbolic geometry and drawing it with drawsvg. Currently the Poincaré disk and half-plane models are supported.
hyperbolic is available on PyPI:
$ python3 -m pip install hyperbolic
See the Jupyter notebooks in examples:
- Euclidean geometry
- Poincaré disk and plane
- Tiling the Poincaré disk and plane
- Tiling of isosceles triangles
Using this library, along with the drawsvg library, you can create art like this hyperbolic weave:
This weave is built from a tiling of isosceles triangles: