Metadata-Version: 2.1
Name: hyperbolic
Version: 1.2.0
Summary: A Python 3 library for constructing and drawing hyperbolic geometry
Home-page: https://github.com/cduck/hyperbolic
Author: Casey Duckering
License: UNKNOWN
Download-URL: https://github.com/cduck/hyperbolic/archive/1.2.0.tar.gz
Keywords: hyperbolic,geometry,draw,SVG
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: numpy

# hyperbolic

This is a Python 3 library for generating hyperbolic geometry and drawing it with the [drawSvg](https://github.com/cduck/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](https://github.com/cduck/hyperbolic/tree/master/examples):

- [Euclidean geometry](https://github.com/cduck/hyperbolic/blob/master/examples/euclid.ipynb)
- [Poincaré disk and plane](https://github.com/cduck/hyperbolic/blob/master/examples/poincare.ipynb)
- [Tiling the Poincaré disk and plane](https://github.com/cduck/hyperbolic/blob/master/examples/tiles.ipynb)

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

![Hyperbolic weave](https://github.com/cduck/hyperbolic/raw/master/examples/images/weave.png)

This weave is built from a tiling of isosceles triangles:

![Hyperbolic weave structure](https://github.com/cduck/hyperbolic/raw/master/examples/images/weaveStructure.png)



