An amateur’s outlook on computation and mathematics

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...

Approximately Yours

However foolish, I recall it fondly: My first dabbling adventure in computational number theory.

(McCarthyism)

On the death of John McCarthy, the mind behind the Lisp programming language.

Another Technological Tragedy

The cause of the accident was not a leak or an equipment failure or a design flaw. The pressure didn’t just creep up beyond safe limits while no one was paying attention; the pressure was driven up by the automatic control system meant to keep it in bounds.

The Writing on the Wall

Haunted graffiti: Reminders of lives lived and lost long ago.