Package to perform calculations using the Huzita-Justin axioms for 2-dimensional origami
Project description
Origametry
Python package to perform calculations using the Huzita-Justin axioms for 2-dimensional origami
- Documentation: https://origametry.readthedocs.io
Installation
pip install origametry
Getting Started
From only a few starting points, you can generate complex sequences of folds
from origametry import Point, fold, show
point_1 = Point(0, 0)
point_2 = Point(2, 1)
# axiom 2: point onto point
line = fold(point_1, point_2)
# axiom 5: point onto line through another point (2 solutions)
creases = fold(point_1, line, point_2, point_2)
And view your resulting crease pattern
show(point_1, point_2, line, creases=creases)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
origametry-0.0.6.tar.gz
(15.2 kB
view details)
Built Distribution
File details
Details for the file origametry-0.0.6.tar.gz
.
File metadata
- Download URL: origametry-0.0.6.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1973891a12f69d106b3cff144632a16d5648ff8f47aa60549db0b1897a7c49 |
|
MD5 | d2093e801ed255d428f7fe78af97f184 |
|
BLAKE2b-256 | a596cfd150398a402831def032b7da019f8fc88f5fec99634ef24729a1c124b6 |
File details
Details for the file origametry-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: origametry-0.0.6-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b219ceb4567b8962c6aa72267efef48e5894ae4ea38b3010d0c4c10418682c82 |
|
MD5 | e41b4194977d67e755e0351efd5696de |
|
BLAKE2b-256 | 18fe6c6e4eb32925a91dc1c3d028d7ff0ed27a4775772fa5ca7d222ab2cf842e |