This is a mirror of a github project page. The actual project, complete with clone URLs, issue tracking, etc, is hosted here
Penrose Screenshots | Features | Resources | Running the Code | |
![]() |
Experiments and demonstrations involving plane tilings, 3d solid geometry, Python and OpenSCAD |
Screenshots
3D tiling:
3D top view detail:
2D control
Features
- Code generation of 3D scad instructions (via solid backend)
- Generation of triangle vertices corresponding to penrose tilings (in python)
- 2D rendering with cairo backend
Resources
- Installing Python
- Installing OpenSCAD
- Penrose tiling algorithm explanation
- OpenSCAD cheatsheet
- Solid docs
Running the Code
Running the penrose.py
script refreshes penrose.scad
(3d backend) and penrose.png
(2d backend). More specifically:
alias openscad="/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD" # for osx
python penrose.py
openscad penrose.scad