unintelligible / montecarlomonalisa

Generate approximate vectorized copies of source bitmap images using Monte Carlo methods

This URL has Read+Write access

name age message
file .gitignore Mon Feb 02 11:34:42 -0800 2009 initial commit [Nick Curry]
file README.textile Mon Feb 02 11:49:56 -0800 2009 fix titles in readme [Nick Curry]
file main.rb Mon Feb 02 11:34:42 -0800 2009 initial commit [Nick Curry]
file ml.jpg Mon Feb 02 11:34:42 -0800 2009 initial commit [Nick Curry]
README.textile

A ruby implementation of Roger Alsing’s Mona Lisa evolution program, using JRuby. At this stage, this is pretty much a line-by-line copy of Roger Alsing’s original implementation (aside from a few Java-isms for displaying the output), minus the user-friendly interface; I mainly used the conversion to understand how the original works, but unfortunately I didn’t really add that much new in the process.

The script accepts up to two arguments: a path to a source image (the default Mona Lisa image is used if none is provided), and whether or not to save the output in the “dumps” folder (yes if the second argument is “savedumps”, otherwise no).

Reference implementation:

http://code.google.com/p/alsing/downloads/list

Other implementations:

Javascript:

http://alteredqualia.com/visualization/evolve/

Java:

http://github.com/ynd/genetic-drawing/tree/master

Clojure:

http://github.com/ynd/mona-clojure/tree/master

C:

http://github.com/mackstann/mona/tree/master