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.5.tar.gz
(15.2 kB
view hashes)
Built Distribution
origametry-0.0.5-py3-none-any.whl
(15.9 kB
view hashes)
Close
Hashes for origametry-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4de2b75809ba2da63d96e918c1713d654031bc09fbee74eb67efecf7050c5651 |
|
MD5 | e4aeac44123f4b48f96b594e5b30abfd |
|
BLAKE2b-256 | 4365dea589cf042e4c2149e689dcde7fcf166a4d94abb6d123d5a15bdf0de3ae |