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.
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).