PenroseGenerator
This script generates SVG files containing Kite and Dart Penrose Tilings.
https://en.wikipedia.org/wiki/Penrose_tiling
To run
python penrose.py [shape] [number generations] [file name]
This will generate Penrose tilings of type P2. They have two main initial shapes - star and sun.
The script will generate [number of generations]
files. Each will be a successive generation of the tiling.
Sun Configuration
Here are screenshots of the SVG files generated by: python penrose.py sun 6 sun_tiling.svg
Initial configuration:
Generation 1:
Generation 2:
Generation 3:
Generation 4:
Generation 5:
Star configuration
Here is a screenshot of the last SVG file generated by: python penrose.py star 6 star_tiling.svg