The code of Jamie can be found at: http://anonscm.debian.org/gitweb/?p=users/mehdi/jamie.git Jamie is the tool that generated those images. The git repository has an "examples" directory that might give an idea on how it works.