During the last summer I extended Jack Whitsitt's Tamogen and integrated it into Phatch. Basically it allows you to generate mosaic image (n*m tiles) using the image itself or a given set of images.
Today I happened to look into other kind of algorithms that might be fun to implement at some point. I found following links particularly interesting: