https://github.com/travisgk/maxpolygon
This Python script generates a diagram of the largest possible regular polygon that can fit inside a square sheet of paper.
https://github.com/travisgk/maxpolygon
artsy geometry measurements origami paper polygon python
Last synced: about 1 month ago
JSON representation
This Python script generates a diagram of the largest possible regular polygon that can fit inside a square sheet of paper.
- Host: GitHub
- URL: https://github.com/travisgk/maxpolygon
- Owner: travisgk
- License: mit
- Created: 2025-06-30T22:11:37.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T23:58:34.000Z (2 months ago)
- Last Synced: 2025-07-25T05:26:40.723Z (2 months ago)
- Topics: artsy, geometry, measurements, origami, paper, polygon, python
- Language: Python
- Homepage:
- Size: 11.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MaxPolygon
This script generates a diagram of the largest possible regular polygon that can fit inside a square sheet of paper.

The diagram has side measurements that help you cut out a perfect, symmetrical shape that maximizes the use of the available surface area.

You can also tell the script to render a PDF that can be printed out and directly cut out.
a stands for anticlockwise and c stands for clockwise.
## Dependencies
You will need PIL, numpy and reportlab to run this script.
```pip install pillow numpy reportlab```
### Configuration
You can change constants under maxpolygon._config.py in order to modify the appearance.