Check out my
new game!

jlongster

Genetic Canvas

Download

You can download this from the github project.

Description

I wanted to to re-implement this mona lisa expirement in Scheme, so I started this project. It was purely research into genetic algorithms and getting them to solve interesting problems.

The end result is a crude solver which takes an image and redraws it with polygons. I played around with kernels, convolution, edge detection, and other techniques for pre-analyzing the image, but it didn't help very much. I ended up tweaking the many settings involved until a decent solution emerged, and these settings could surely be tweaked further for better solutions.

I used FreeImage to work with images, and OpenGL to run the tests. If you have to do anything related to this kind of stuff, you might find some part of my code interesting, which would make me happy.

It runs decently fast, but I don't think there is much to compare it to. The above image was generated in about 15 minutes.