cduck / hyperbolic

A Python 3 library for constructing and drawing hyperbolic geometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Python 3 library for constructing and drawing hyperbolic geometry

License:MIT License


Languages

Language:Python 100.0%