I am bad at walking into a room and remembering who everyone is. I had a networking event coming up, a guest list, and one evening. The sensible move was to read the list twice and go to bed.
I built an app. Then I built a QR code that stands up in 3D, with my two cats sitting on it. This post is about what I made that night and the one part of it that nearly did not work.

Flashcards, basically
The app is a deck of cards, one per person. Each card has a name, what they do, one question worth asking, and a line about what we might have in common. I swipe through them like flashcards. On the night, there is a list I can search: type a name, tap, and read up for ten seconds before I say hello.
There is also a page about me. That one is for the other person. It has a short story about why I started MyPetVault, a few facts, and the QR code.

The label I took out
My first version sorted people into piles, and each pile had a label on screen. Then I pictured the moment I would actually use it: holding my phone, standing next to the person on the card. Nobody wants to glance over and see which pile they landed in.
So the labels came out. The only mark left is a small star, and the app never says what the star means. It is a tiny change, but it is the one I am happiest about. An app you use in front of people has to be okay for those people to see.
Real names stay home
My own deck has real people in it and notes I wrote for myself. That file stays on my laptop. It is not on this site, or anywhere else online.
The demo on this site ships with twelve people I made up instead. There is no login and no password. Whatever you change stays in your own browser, and nothing is sent anywhere.
A flat QR code felt like a missed chance
A QR code is the most useful thing on the page about me. Someone points a camera at it and has my LinkedIn without either of us spelling anything. It was also the most boring thing on the page. A black and white square.
I had seen a photo of a QR code planted out of real trees. From the ground it is a forest. From above, it scans. I wanted that feeling on a phone: an object you can turn around that also happens to be a working code.
So every dark square became a little block standing on a white plate. Behind the code there is a ledge, and my cats sit on it. Drag it sideways and the whole thing turns. Tap it and it lies down flat.
No 3D engine, just a stack of drawings
I did not want to load a whole 3D library for one QR code. The trick I used is old and simple. Draw the same flat shape many times, each copy a little higher than the last, and your eye reads it as a solid block. Game artists call it sprite stacking.
The cats work the same way. Each one is a handful of boxes: a body, a head, two ears, a tail. Rufus gets one extra box for his sweater.
// One cat, built from boxes. x runs left to right, y back to front, z up.
box(2, 6, 2, 6, 0, 4, fur); // body
box(1, 7, 2, 7, 6, 9, fur); // head
box(1, 2, 3, 4, 10, 10, fur); // one ear
box(2, 2, 7, 7, 7, 8, eye); // one eye
box(2, 6, 2, 6, 1, 4, sweater); // Rufus onlyThat is the whole model. The script for the entire app is about 50 kilobytes. The cats took the most tries. The first pair were too small and looked like blobs. Making them bigger and blockier is what made them read as cats.
The part that nearly did not work
A 3D QR code has one job that a normal one gets for free. It still has to scan.
My first blocks had gold sides, because gold is the MyPetVault color. They looked great. But a camera does not know which part is the top of a block and which part is the side. Tilt the code and those gold sides sit exactly where the white gaps should be, so the camera sees a smudged code.
The fix was to make the sides pale. To a camera, pale reads as white. The dark tops still line up as an ordinary QR code, just shifted a little, so it scans while it is standing up.

Then one of my two codes stopped scanning anyway. It took a while to see why. I was drawing the blocks in the wrong order, which left hair-thin pale lines across the dark corner squares that a camera uses to find a code. You could barely see them. The camera could. Drawing every side first and every top last fixed it.
I also tried putting my face in the middle of the code. It looked strange and it covered too much of the smaller code to scan. The cats got the job instead.
How I know it scans
I did not want to find out at the event. So the check is automatic: take a picture of the drawing, run that picture through a QR reader, and compare what comes back with the address it is supposed to hold. I ran it for both codes, standing and flat, in two different browsers and at the size of a small phone. That check is what caught the two problems above.
It is still worth pointing your own camera at it. That is the fun part.
Try it
The demo is the same app with made-up people in it. Swipe a few cards, look someone up, then open the Me tab and turn the code around. You do not need to download MyPetVault to play.
Why a pet app founder made this
Honestly, because the event was the next day and this is how I get ready for things. Some people iron a shirt. I open an editor.
It is also the same idea as the app I actually work on. MyPetVault exists because the information I needed about my cat was scattered and out of reach at the worst possible time. A room full of new people is a much smaller problem, but it has the same shape: get the right details in front of you at the moment you need them.
If you liked this, check out MyPetVault. It keeps your real pets’ health records (vet visits, vaccines, medications, and documents) organized in one place. Rufus approves. Mew is why it exists.