WOLFRAM|DEMONSTRATIONS PROJECT

Stained Glass Window Generator

​
window shape
square
pentagon
hexagon
ocatagon
circle
number of primary polygons
3
number of secondary polygons
3
color scheme
BrightBands
This Demonstration uses a Voronoi mesh to create the polygonal tiles of a stained glass window. Two kinds of Voronoi polygon sets are generated: a primary set inside the window frame and a series of secondary sets inside the primary polygons. Overlapping between primary and secondary polygons is avoided using the geometric function RegionIntersection.