Evolution of Mona Lisa Via Genetic Programming
mhelander writes "In his weblog Roger Alsing describes how he used genetic programming to arrive at a remarkably good approximation of Mona Lisa using only 50 semi-transparent polygons. His blog entry includes a set of pictures that let you see how 'Poly Lisa' evolved over roughly a million generations. Both beautiful to look at and a striking way to get a feel for the power of evolutionary algorithms."
Genetic Algorithms are like the AI equivalent of text editors... everybody has spent a weekend writing one at some point.
How we know is more important than what we know.
Evolution with a comparison function is called intelligent design. Here for example is the code snipped that created man (from the good book):
... ...
while(strcmp(image(man),image(god)))
{
free(man);
man=(man_t*)malloc(sizeof(man_t));
}
bless(man);
I would've liked to see it done with triangles... complex polygons just feels a bit like cheating. Not that it isn't super cool
Here it is done with 914400 tiny coloured pixe^H^H^H^Hrectangles:
http://avline.abacusline.co.uk/pictures/jpeg/pics/mona.jpg
These posts express my own personal views, not those of my employer
Finally we have definitive proof that the Mona Lisa evolved from simple polygons instead of being "intelligently designed" by that fictional Leonardo guy.
Support Right To Repair Legislation.
And it gives a great alternative to Java.
I have a great alternative to being burned alive. It's being beaten to death with a baseball bat.
There's no place like
Yes, the whole thing would have been FAR more accessible as a 40000 character perl regex.
Dumbass, go troll your anti-ms propaganda elsewhere :-(
Yeah, but it'd be like 5 lines in Python... ;)
There's no place like