/hyperbolic

A Python 3 library for constructing and drawing hyperbolic geometry

Primary LanguagePythonMIT LicenseMIT

DOI

hyperbolic

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.

Install

hyperbolic is available on PyPI:

$ python3 -m pip install hyperbolic

Examples

See the Jupyter notebooks in examples:

Using this library, along with the drawsvg library, you can create art like this hyperbolic weave:

Hyperbolic weave

This weave is built from a tiling of isosceles triangles:

Hyperbolic weave structure