Has someone made a QR code that is a random dot stereogram and which encodes something useful? Like the source code of the program which generates it or something. :)
checky argent and sable
5 square voided in saltire palewise argent
12 square inverted sable in dexter chief a square voided fesswise argent
on a plain cross escartelly checky sable and argent 3 square voided fesswise inverted argent
in third quarter 3 square voided in bend sinister argent
in first quarter 3 square voided in bend argent
I used the interpreter at drawshield.net. import qrcode
with open(__file__) as f:
img = qrcode.make(f.read())
img.show()
Could be improved upon, but works as an example :)Other requirements, like that it decodes to something that is meaningful, are secondary.
Alok's quine work is interesting. The actual quining is trivial because the program pulls out its own image using Location.href. (The trick seems to be that when JS code is embedded in a literal "data:" URL, then the Location.href can pull out that URL itself. I'm not a JS person, though.) It looks like the hard work in this project was developing the QR code encoder using a verbose OOP approach, and then code golfing it through 25 steps to make it small.