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 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:
- 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
hyperbolic-1.3.1-py3-none-any.whl
(32.3 kB
view hashes)
Close
Hashes for hyperbolic-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbfc22985cb2287257dd67374e7e0c489b8079ee944e12739a9fd1dbd55c9b5d |
|
MD5 | 7fb2dc04cfe4e3cfde6ebdb48835d6ff |
|
BLAKE2b-256 | 117df2661be5779a636aab83dde06ead2ad3da971b469d0e3eb4332c099354e6 |