It's an old idea by now, can we recreate the Mona Lisa with fifty polygons by using random changes? The idea and original implementation by Roger Johansson can be found here.
So, how does it work? You start with an source image. Then you create an empty image. We keep on doing small changes to this image. In my case this is one of these changes:
After each action, we take a look and check if the newly changed image looks more like the original image by comparing each pixel. If it is, we continue using this one. If it's not, we discard the changes.
Looks like a fun project! So I built my own version from scratch eight years ago, reusing some of the same ideas. Here's my result using the Mona Lisa:
Mona Lisa with 50 polygons:
You can see that it's the Mona Lisa but the details around the eyes and mouth are really missing.
Mona Lisa with 200 polygons:
Ah, that looks a lot more like it!
And now I want to pick it up again and make some improvements! Let's see what we can do...
So, how does it work? You start with an source image. Then you create an empty image. We keep on doing small changes to this image. In my case this is one of these changes:
- Recolor our polygon
- Change the position of one of the polygon points
- Add or remove a new point to our polygon
- Add or remove a new polygon
- Switch two polygons
After each action, we take a look and check if the newly changed image looks more like the original image by comparing each pixel. If it is, we continue using this one. If it's not, we discard the changes.
Looks like a fun project! So I built my own version from scratch eight years ago, reusing some of the same ideas. Here's my result using the Mona Lisa:
Mona Lisa with 50 polygons:
You can see that it's the Mona Lisa but the details around the eyes and mouth are really missing.
Mona Lisa with 200 polygons:
Ah, that looks a lot more like it!
And now I want to pick it up again and make some improvements! Let's see what we can do...
haha great :)
ReplyDelete