Code used to generate colorful images, as described at http://heynicedomain.com/?p=325