Skip to main content

A Python 3 library for constructing and drawing hyperbolic geometry

Project description

DOI

hyperbolic

This is a Python 3 library for generating hyperbolic geometry and drawing it with the drawSvg library. Currently the Poincaré disk and half-plane models are supported.

Install

hyperbolic is available on PyPI:

$ pip3 install hyperbolic

Install drawSvg also to display the hyperbolic geometry:

$ pip3 install drawSvg

Examples

See the iPython 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hyperbolic, version 1.3.2
Filename, size File type Python version Upload date Hashes
Filename, size hyperbolic-1.3.2-py3-none-any.whl (32.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page