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 hashes)
Built Distribution
origametry-0.0.6-py3-none-any.whl
(15.9 kB
view hashes)
Close
Hashes for origametry-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b219ceb4567b8962c6aa72267efef48e5894ae4ea38b3010d0c4c10418682c82 |
|
MD5 | e41b4194977d67e755e0351efd5696de |
|
BLAKE2b-256 | 18fe6c6e4eb32925a91dc1c3d028d7ff0ed27a4775772fa5ca7d222ab2cf842e |