mozaik
Automatic reproduction of images with simple primitives
Usage
mozaik.py -i <inputfile> [-o <outputfile> -c <shapeCounts> -p <primitive> -m <method> -s <seed>]
A few examples
mozaik.py -i examples/pearl.jpg -c 500 -p triangle
![]() |
![]() |
mozaik.py -i examples/resistance.jpg -c 100 -p circle
![]() |
![]() |
mozaik.py -i examples/nighthawks.png -c 500 -p rectangle
![]() |
![]() |
mozaik.py -i examples/pika.jpg -c 200 -p triangle
![]() |
![]() |
mozaik.py -i examples/sharbat.jpg -c 200 -p ellipse
![]() |
![]() |
Credits
This project is more than largely inspired by Michael Fogleman's excellent primitive.