This tool transforms your images into geometric mosaics by calculating a mathematical Voronoi diagram across the pixels. It creates the iconic look of a shattered mirror or a classical leaded stained-glass window.
Shattering the image
The algorithm works by placing “seeds” across your image. Every single pixel in the photo calculates which seed it is closest to and snaps to that seed’s color. Where two regions meet, they form a perfectly straight edge.
You can control the size of these glass pieces using the Glass Scale slider. Smaller scales will create thousands of tiny shards that preserve the detail of the original photo, while larger scales will abstract the image into massive chunks of color.
Controlling the mosaic
If you want a highly chaotic, shattered look, increase the Shatter Variance. This scatters the seeds randomly. If you prefer a more organized, tile-like mosaic, turn the variance down so the seeds arrange themselves into a uniform grid.
You can also adjust the Grout Thickness to draw lines between the shards. For a traditional gothic church window, use a thick black grout. For a modern, digital art style, try a thin white or neon border.