Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pięciokątnia (pol.)

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.

User manual

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.

About

A simple tool for arranging pentagons

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages