Skip to main content

Conformal mappings and hyperbolic tessalations with Python

ConfMap page on the Python Package Index

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 :

[tessalation]

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

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)

Source distribution for confmap 1.0.9
File Size Uploaded
confmap-1.0.9.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for confmap 1.0.9
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page