vbolshakov / penrose

Experiments with plane tilings, 3d solid geometry, Python and OpenSCAD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

Experiments with plane tilings, 3d solid geometry, Python and OpenSCAD


Languages

Language:OpenSCAD 98.6%Language:Python 1.4%