Another Evolutionary Painting

Blog posts are like buses…when they come they come in clusters of the same kind or number.

Hot on the heels of computer-generated algorithm to design – here’s yet another manifestation – this time the challenge was to paint as close to Mona Lisa (or for that matter, any other image) as possible simply by using no more than 50 semi-transparent polygons.

monalisa-evolution

As described:

We start from random 50 polygons that are invisible. In each optimization step we randomly modify one parameter (like color components or polygon vertices) and check whether such new variant looks more like the original image. If it is, we keep it, and continue to mutate this one instead.

You can see that by iteration 904314, it’s very close to the original (or probably about as close as it can get for just 50 overlapping polygons).

Go on, play with it yourself here and see how it is done (you can use your own pictures too!), and the explanation (source code coming soon too) is here.

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *