Stained-Glass Filter from a Voronoi Mesh

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration creates a stained glass filter for photographic images. The filter is based on the polygons of a Voronoi mesh started from seeds that are points along the lines of equal density in the image.


The polygons can be further "refined" by repeatedly creating a new Voronoi mesh from the center of the polygons generated previously.

You can color the polygons either with the color of the image at the center of each polygon or with the nearest color in a selected color palette.


Contributed by: Erik Mahieu (June 2016)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.