Live data from Hacker News

Genetic algorithms, Mona Lisa and JavaScript + Canvas

blog.nihilogic.dk

21–22 of 22 posts

Re: Genetic algorithms, Mona Lisa and JavaScript + Canvas

#21
post #17

I'm not trolling, but this appears to work pretty poorly. Does anyone know any better approaches to approximating images like this?

Poorly compared to what?

Sorry for not being clear, in a more "objective" sense of reproducing the original image as a stacked series of polygons in this case.

I realize that that is only sort of the point (there's a lot of "cool technique demo" here).

Re: Genetic algorithms, Mona Lisa and JavaScript + Canvas

#22

Wow - 2009. Excellent post. I recently entered a competition (February 2013) and used this technique without having seen this blog. I also used webworkers and SVG. Source: https://github.com/binarymax/randriaan Demo: http://binarymax.com/randriaan.html Sorry, FF or Chrome only (because of how I load the webworkers from the same page) @tlarkworthy - I had a version that did 12 images for each generation and chose the…

btw, the original article about using Genetic Algorithms to derive Mona Lisa's image also generated quite a bit of interesting discussions here, 4 years ago:

https://news.ycombinator.com/item?id=389727

Post reply on HN