Take semi-transparent polygons of this sort…
…and write an algorithm to arrange them so that they build up an imitation of another picture. If you could only use 50 polygons, how close could you get to Mona Lisa? Here’s how Roger Alsing approached the probelm with “genetic programming”:
I created a small program that keeps a string of DNA for polygon rendering.
The procedure of the program is quite simple:
Setup a random DNA string (application start)
Copy the current DNA sequence and mutate it slightly
Use the new DNA to render polygons onto a canvas
Compare the canvas to the source image
If the new painting looks more like the source image than the previous painting did, then overwrite the current DNA with the new DNA
repeat from 1
Take a look at his result, 904,314 generations later. More at Slashdot.