The app for arranging regular pentagons. It uses devoted exact arithmetics to never* encounter rounding errors while dealing with irrational coordinates. Allows to save graphic files (PNG) or save the exact patterns using simple CSV-like format. Built using the pygame™ library.
*The program's use is of course limited by the size of integer type etc. It should be difficult to encounter an overflow during the common use.
Running: python main.py
Left mouse button allows to add a full cell (make an empty cell full). Removing cells is available by clicking the right button. Free cells are added and removed automaticaly as neighbours of the full cells.
Dragging allows moving the picture. Mouse wheel changes the scale (zoom). Scale of the display does not affect the scale of graphic files.
Ctrl+Del - clear the picture.
Space - switch on-off the display of free cells (applies also to the PNG output files).
K - change background colour (from a very limited palette). Transparent background available.
Ctrl+S - save the current pattern. PNG and CSV formats available.
Ctrl+O - reload pattern from a CSV file.
F5 - crop the image.