Conformal mappings and hyperbolic tessalations with Python
Python classes for transformations of pictures and videos (with moviepy) using conformal mappings of the complex plane and hyperbolic tessalations of Poincaré’s disk.
Author : François Coulombeau
Example
In this example, we open an image and build a (∞;6;4;6) hyperbolic tessalation :
import confmap as cm
import numpy as np
im = cm.HyperbolicTiling('./Sources/Reflets.jpg',0,'./Exports/',600,600)
im.transform(sommets=(np.inf,6,4,6),nbit=20,backcolor=[255,255,255])
which leeds to this image :
Installation
ConfMap depends on the Python modules Numpy, Matplotlib and moviepy which will be automatically installed during ConfMap’s installation. The software FFMPEG should be automatically downloaded/installed (by imageio) during your first use of MoviePy (installation will take a few seconds). If you want to use a specific version of FFMPEG, see Moviepy’s documentation.
Installation by hand: download the sources, either from PyPI or, if you want the development version, from GitHub, unzip everything into one folder, open a terminal and type:
$ (sudo) python setup.py install
Installation with pip: if you have pip installed, just type this in a terminal:
$ (sudo) pip install moviepy
Maintainers
Oioi (owner)
Metadata
Release files for confmap 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| confmap-1.0.9.tar.gz | 15.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| confmap-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / confmap-1.0.9.tar.gz
| Download URL | confmap-1.0.9.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dde5b4a7bfe93bb113e5833cebfe58d403b5e0e9611c949956c4c0c8df1d77e
|
|
BLAKE2b-256 checksum How to use checksums |
d268480ae90e62dce323179e165c98ae85144d89c52fed10f27b8e3348b42484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Release files / confmap-1.0.9-py3-none-any.whl
| Download URL | confmap-1.0.9-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6bd26db92095eca180eaec9577f00632bead0a9238d3a375288a4a0e5b67f55
|
|
BLAKE2b-256 checksum How to use checksums |
2a248dc4e4775782fcc59a816fc06cc03754f41210921ec10fdb330b9a86b97b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|