moyamo / polygon2square

Turn an arbitary polygon into a square of equal size using only cuts, translations and rotations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polygon2square
==============

Turn your polygons into squares!

Usage
-----

Running the polygon2square.py will open the polygon2square window.

Place the vertices of the polygon by clicking on the canvas (The canvas is to the
left of the buttons).

Click the Squarify button to start squarifying the polygon.

You can use the arrow keys or the buttons to step through turning the polygon
into a square.

Use the clear button to clear the canvas to draw another polygon.

About

Turn an arbitary polygon into a square of equal size using only cuts, translations and rotations.

License:MIT License


Languages

Language:Python 100.0%