WOLFRAM|DEMONSTRATIONS PROJECT

Mosaic Effect for Photographic Images

​
image
resolution
40
50
60
70
80
distortion
0.05
0.1
0.2
0.4
0.8
mesh
none
thin
medium
thick
This Demonstration gives a mosaic effect a photographic image.
A rectangle the size of the image area is divided into a set of Voronoi polygons using a matrix of seed points. Slightly randomized variations of the coordinates of these points create a distortion effect. Subsequently, the polygons are colored using the pixel values of the image positions corresponding to the seed points.