Self-initiated project · Interactive web app · 2026
Turning a menu into a museum
A walkable coffee gallery where every drink hangs as a framed piece, with a test at the end
- Learning Design
- Gamification
- Interactive Web App
- Built with AI
TL;DR
Know Your Coffee turns a café menu into a gallery you walk through. Every drink hangs as a framed piece that shows what's in the cup, layer by layer, and a testing room at the end asks you to make the drinks yourself. Under the illustration, every interaction is built on a principle from learning science.
Why it works
- Place: rooms give the menu a shape you can remember, the same idea as a memory palace.
- Contrast: look-alike drinks are always shown side by side, so the difference is what you learn.
- Recall: a test that makes you build each drink from memory (retrieval practice) and brings back what you got wrong.
- My role
- Solo designer and builder
- Timeline
- Oct to Nov 2026, in two rounds
- Type
- Interactive web app
- Tools
- Figma: the character, frames and card art
- Claude: Claude Code, built stage by stage from my briefs
- React: the gallery and its screens
- TypeScript: the data model and the logic
- Vite: the dev server and the build
Problem
The names sound alike. The drinks almost are.
A café menu lists names, not recipes. Espresso, doppio, macchiato, cortado, flat white, latte, breve: nothing on the list says that most of them are the same few things in different amounts, and sometimes in a different order.
An americano is espresso topped with water. A long black pours the espresso over the water, so it keeps its crema. On a menu, they look like two unrelated drinks.
The menu problem
Two cups that look the same, with names that don't explain the difference.
Two visitors, two speeds
Two assumption-based personas, drawn from my own café visits and the people I go with.
Assumption-based personas
- The Wanderer Goal: understand the whole menu, at their own pace Frustration: menus explain nothing, and looking things up one by one is tiring Needs: a path to follow, a sense of progress, a way to check what stuck Gets: the walkable wings, the guided tour, the bag and the test
- The One-Drink Visitor Goal: know what one drink is, right now Frustration: having to scroll or browse to find a single answer Needs: a direct way in, in seconds Gets: search (with nicknames), the map and teleporting
Designing for both: walking is for learning; search and the map are for knowing. Neither visitor is forced into the other's path.
Iteration
Version one was a table. It was charming, not useful.
The first version was a single long table: cups in a row, grouped under tags, looping as you scrolled. Hovering a cup showed its layers, and the test lived in a pop-up.
It failed both visitors. The wanderer had no sense of where they were or what they'd already seen. The one-drink visitor had to scroll until they found it. Version two kept the drinks, the layer drawings and the quiz logic, and replaced the table with a place you move through.
Before and after
The idea
A gallery has rooms, and rooms make a menu easy to remember.
People remember places far better than lists, which is why the method of loci works. So the menu became a building. You tap a café door to enter, arrive in a lobby, walk through five wings and end in a testing room.
The gallery is 2.5D: a flat wall of frames, a floor you walk along, and a foreground that moves a little faster than the wall (parallax).
The wings are grouped by how the coffee is made, not by name. Shots come first because espresso is the base of almost everything, then espresso with water, with drip coffee, with milk, and finally the cold and sweet ones. Each wing builds on the one before (scaffolding): by the time you reach the milk wing, you already know what a shot is.
The route
- Lobby
- Shots
- With water
- With drip
- With milk
- Cold & sweet
- Testing room
The lobby
The lobby: a directory board, a tour sign and the way in.
Learning design
See it, collect it, then make it from memory.
Each stage of the visit uses a different learning principle, so the game parts aren't decoration; they do the teaching.
01 See: every drink is a card you can flip
The front shows the cup, drawn layer by layer, with its recipe line. The back lists the layers, any order note, and the drinks it's often confused with. Seeing the cup and reading the recipe together (dual coding) is easier to remember than either alone, and the back only appears when you ask for it (progressive disclosure).
Learning a drink next to its look-alike (contrast) is what makes the difference stick. Each pair is written once, so both cards always explain the same difference.
One drink, two sides
02 Collect: every card goes in your bag
All 18 slots are visible from the start: unseen ones as question marks, mastered ones stamped. Visible progress toward a finish line makes people keep going (goal-gradient effect), which is the core loop of the gamification.
The bag
Every card you look at lands here. The question marks are the ones still to find.
03 Recall: then you're the barista
In the testing room you get an order and the same shelf of twelve ingredients every time, grouped as coffee, water, dairy and sweet. You pour, serve and compare. Building a drink from memory (retrieval practice) teaches more than recognising it.
The testing room
- Exact parts: a latte is one espresso, three steamed milk and one foam. Two milk is wrong.
- Order matters for four drinks: americano, long black, latte macchiato and affogato are checked pour by pour.
- Hints that never give it away: first the kind of drink, then how many ingredients, never the ingredient itself. Keeping it slightly hard is what makes it stick (desirable difficulty).
- Feedback that explains: missing, too much, or right ingredients in the wrong order.
- Mistakes come back later: a missed drink returns three to five questions later, not straight away (spacing effect). You can also choose to be tested on everything, only what you've seen, or only what's still to learn.
Build
One record per drink, built in stages.
The data
Each of the 18 drinks is one record, and every feature reads from it.
One drink, and what each field powers
- layers: Bottom to top, with parts the cup drawing, the recipe line and the test answer
- orderMatters: True for four drinks the order check in the test
- aliases: Other names people search for search
- confusedWith: Up to three, each with the difference the chips on each card
- category: One of five the frame's wing and the test's first hint
- vessel: One of three cups the cup drawing
The character rig
I drew the character in Figma and exported her as one SVG; a script turns it into clean path data per part. In code she's thirteen named groups: legs pivot at the hip and shoes at the ankle, so a planted foot stays on the floor. Every outline has a path length of one, so the teleport (erased from the feet up, redrawn at the destination) is a single stroke-dashoffset per outline.
The rig
Thirteen named groups. Every pose is a set of angles for these parts.
The camera
A dead zone lets her move ten per cent of the screen before the camera follows, then it catches up smoothly. The foreground moves 1.25 times faster than the wall.
Building with AI
I designed the character, frames and cards in Figma, then built the app with Claude Code in numbered stages. Each stage had to pass a check before the next began: a pixel comparison against my references in round one, and a review page for the character in round two.
Round two
- Character review
- Walkable lobby
- All five wings
- Search and teleport
- Cards and the bag
- Testing room
- Phone and accessibility
Craft
Blue means information. Lilac means you.
The palette is small on purpose. Light blue marks information: drink tags, search, hints, the walkthrough. Lilac marks you: your focus ring, your dot on the map, your bag, your stamps. Everything sits on a warm beige with a near-black ink.
- Sketch lines: outlines wobble with seeded noise, so they look hand drawn but stay identical on every render.
- Sound: a soft tap on each footstep, paper taps on buttons and frames, a flick for cards, a rustle for the bag, a pour for each ingredient and a quiet music loop. The mute button is always on screen.
- Phones turn sideways: a gallery needs width, so an upright phone is asked to rotate. In landscape the controls sit outside the scaled drawing, in real screen pixels, with touch targets of 44 pixels and up.
Phone landscape
Controls at thumb height, outside the drawing, so they never scale down.
Access
- Keyboard: single keys open search, the map and the bag, and toggle sound.
- No walking required: the bag doubles as a list, so every card is reachable without moving.
- Labels: each frame names its drink, wing and recipe; dialogs trap and return focus.
- Reduced motion and Safari: the camera jumps, the teleport becomes a paper wipe and cards turn without flipping; touch guards and a frame-time clamp keep iPhone and Low Power Mode smooth.
Reflections
What it does, and where it stops.
Know Your Coffee teaches the shape of a menu: what's in each drink, and what separates the ones that sound alike. It doesn't teach taste.
- Typical, not universal proportions are typical café ratios, and real cafés vary. The guide says so in its help.
- Progress lives in one browser everything is saved locally, so it doesn't follow you to another device.
What I'd test first
Know Your Coffee hasn't been tested with real users or in a café yet. The principles behind it are well established, but whether they work in this gallery is still an open question, and these are the first things I'd check.
- Does it stick? Give people the test straight after a visit and again a week later, to see whether they remember the drinks rather than just recognise them.
- Does it help at the counter? Try it with people in a real café before they order, and see whether they order with more confidence.
- Are the two visitors real? Both personas are assumptions, so watch whether people actually split into wanderers and one-drink visitors, or use it some other way.
What I learned
- Drawing a character and making her move are two different problems. It was my first character, and the drawing was the easy part; making her walk believably meant thinking in joints, pivots and planted feet rather than shapes.
- Teaching is a different brief from informing. It was my first time designing with learning principles, and the lesson was that recall, contrast and spacing have to live in the interactions themselves, not in the copy around them.