A Python 3 library for constructing and drawing hyperbolic geometry
Project description
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:
- 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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file hyperbolic-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: hyperbolic-2.0.0-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df48b5ac6edb19090f3bd582d5c44af783f39f0d1287f8e57570418bdd45721 |
|
MD5 | 0a82217ece816c3247c97208f8ec6b4e |
|
BLAKE2b-256 | b3000edc555fba6c77f70f5ffbdaada170db46d80aa8402ca4410a927c32faaf |