Sugarpixels

by Brian Hayes

Published 1 January 2012

QR code in red and blue pixels Yes, that’s one of those annoying QR codes that seem to be turning up all over the place lately. The jumble of red and blue pixels appears on the front of the holiday greeting cards that my wife Rosalind and I sent to a few friends and family-members last week. Since the card has an online component, I thought I might share it here with a wider circle of acquaintances. So let me take this opportunity to wish everyone a happy 2012—all 366 days of it.

If you have a QR reader on your cell phone, you should be able to scan the code directly from the screen. You’ll be taken to a web page where the same pattern appears, and tapping the red targets should eventually get you to a greeting-of-the-season. Unfortunately, the Javascript driving this transformation doesn’t seem to run very well on some phones. (I’ve tested it on iPhones, iPads and a Palm Pre, where it is balky but functional; I’ve had at a report that it fails entirely on at least one Android phone.) If anyone can offer hints or clues about what I might be doing wrong, I’ll be grateful.

In any case, the small-screen version of the program isn’t nearly as nice as the one for grown-up computers, which you can reach by clicking here or on the image above. And there’s more about my travails with cell-phone Javascript (and SVG) in the nerd notes.

Responses from readers:

  • A comment from Amass, 23 October 2012 at 2:49 am

    I used the Javascript on my Iphone and had no issues with it, but a friend of mine has Android on his Samsung and has some difficulties with it. He didn’t figure out what he’s doing wrong, and he’s pretty good at this stuff. Better than me, anyway. But good luck!

    Keep us tuned if you find a way to fix it, please?

Please note: The bit-player website is no longer equipped to accept and publish comments from readers, but the author is still eager to hear from you. Send comments, criticism, compliments, or corrections to brian@bit-player.org.

Tags for this article: off-topic.

Publication history

First publication: 1 January 2012

Converted to Eleventy framework: 22 April 2025

More to read...

The 39th Root of 92

Mathematics for electricians, piano tuners, and stargazers.

Counting Sums and Differences

On a research-level math problem that seems to involve nothing more exotic than counting, adding, and subtracting.

More Questions About Trees

Why are they so tall? Why are they no taller? Also, why are they trees (in the graph-theory sense)?

Words for the Wordle-Weary

Can a computer program beat your score at Wordle? I don’t know, but it can beat mine.