Friday, December 07, 2012

[tdqsfcoi] QR code poetry

Write poetry, encode it in QR code, and publicly display it.  Upon reading it with a barcode reader, the reader has instantly made copy that he or she can keep, which differs from all other presentations of art.

Of particular interest is poetry requiring only the 45-character "alphanumeric" character set for which QR is especially efficient.  All capital letters, no comma, apostrophe, question mark, or semicolon.  The available punctuation are eight characters $%*+-./:

Here is Shakespeare's Sonnet 18 in QR code, with liberal substitution of punctuation. Click to embiggen. 

sonnet 18 in QR

About 600 characters: SHALL I COMPARE THEE TO A SUMMER*S DAY % THOU ART MORE LOVELY AND MORE TEMPERATE :/ ROUGH WINDS DO SHAKE THE DARLING BUDS OF MAY / AND SUMMER*S LEASE HATH ALL TOO SHORT A DATE :/ SOMETIME TOO HOT THE EYE OF HEAVEN SHINES / AND OFTEN IS HIS GOLD COMPLEXION DIMM*D :/ AND EVERY FAIR FROM FAIR SOMETIME DECLINES / BY CHANCE OR NATURE*S CHANGING COURSE UNTRIMM*D :/ BUT THY ETERNAL SUMMER SHALL NOT FADE / NOR LOSE POSSESSION OF THAT FAIR THOU OW*ST :/ NOR SHALL DEATH BRAG THOU WANDER*ST IN HIS SHADE / WHEN IN ETERNAL LINES TO TIME THOU GROW*ST: SO LONG AS MEN CAN BREATHE OR EYES CAN SEE / SO LONG LIVES THIS / AND THIS GIVES LIFE TO THEE.

Gzip usually improves English text longer than about 110 characters.  Bzip2 and LZMA (xz) do worse for such short inputs.

MIDI music may also be possible.  Maybe vector graphics.

No comments :