Skip to content

Brian-Yee/whirl-tesselations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convex Polygon Whirl Tessellations

A program to generate whirl patterns of convex polygons while tesselating the plane. Sample images generated include the following.

Square

Square whirl tiling of plane

Hexagon (with Holes!)

Hexagon partial whirl tiling of plane

Triangle

Triangle whirl tiling of plane

Pentagon Type 14

Type-14 whirl tiling of plane

Pentagon Type 15

Type-15 whirl tiling of plane

Usage

Try out some preconfigured examples in the Makefile

> make help
help        Display this message.
tile-15     Create a pentagonal-15 tiling of the plane.
tile-14     Create a pentagonal-14 tiling of the plane.
square      Create a square tiling of the plane.
triangle    Create a triangular tiling of the plane.
hexagon     Create a hexagonal tiling of the plane.

or use the program directly via command line.

python main.py -h
usage: main.py [-h] W H polygon fpath whirl_iterations whirl_step

Create tesslations of pentagonal whirls.

positional arguments:
  W                 Width of tesselations in tiles.
  H                 Height of tesselations in tiles.
  polygon           Type of pentagon
  fpath             Type of pentagon
  whirl_iterations  Number of iterations to whirl a polygon inwards.
  whirl_step        Step size for each whirl.

optional arguments:
  -h, --help        show this help message and exit

About

Tessealting convex polygon whirl patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published