Skip to main content

Module tiling

Module tiling 

Source

Structs§

FundamentalDomain
A fundamental domain defined by its vertices.
PenroseTile
A single Penrose tile.
TileInstance
A tile instance placed in the plane.

Enums§

PenroseType
Penrose tile types: the two rhombus shapes in P3 Penrose tiling.
WallpaperGroup
All 17 wallpaper groups (2D crystallographic groups).

Functions§

generate_penrose
Generate a Penrose tiling using the Robinson triangle decomposition. depth controls the number of subdivision iterations.
generate_tiling
Generate a tiling by applying the symmetries of the given wallpaper group to the fundamental domain, filling the area [-extent, extent] x [-extent, extent].