Committing the C++ code for Tom as well as a Processing sketch that shows its output based on an enormous image I used in Illustrator.