Making a Mosaic
I made a cool program today. Not sure if it works exactly how it should. Still cool though. I started with some image I got from the Internet. It was some art work. My goal was to slice up the image into a grid. Then I would swap out each tile from that grid with another image that was closest in color to the original grid image.
The goal was that the resulting image would be made of a whole lot of smaller images. And at a distance, you could see the shape and outlines of the original images if you looked at the new mosaic of small images. Well my final resulting image does not look a lot like my original image at any distance. It was still a cool experiment.
My source of mini images to swap in was a directory full of around 50 celebrity images. Maybe if I had a lot more images, and they were not just pictures of celebrities, then my resulting mosaic could look a bit more like the original image. The funny part of this exercise was when there were bugs with my logic. Then my final image ended up being all copies of a single source tile.