Computer-Aided Lego Art Project
rsk writes "Justin Voskuhl, a Google engineer, in a 2-fold bid to fight boredom and figure out something to cover a large barren wall in his living room, one weekend developed a Java program using an annealing algorithm to figure out the best layout and colors of Lego blocks to reproduce a source image exclusively in Lego blocks inside a frame. He plans to release the source code soon. I probably would have just painted the wall ..."
Nyud.net mirror. Slow, but works.
This guy has been doing LEGO mosaics for years, and if you google a bit you'll find others and the code for creating them.
Working on getting this horse running again. Sorry for that guys.