n.b. this is a recreation of another composition as the original (http://dasaq.wordpress.com/2009/07/01/qrcode-gen/) is no longer online. I originally wanted to recreate it as a CoreImage filter, but gave up as I couldn't find out how to treat a structure as an image for the sampler.