
I built a 3D course on how UPI moves ₹100 in two seconds
In short: A free English and Hindi 3D primer that follows one ₹100 chai payment through NPCI and both banks, and lets you break a bank to watch the reversal.
You scan Raju's QR at the chai stall, type your PIN, and two seconds later his soundbox says "₹100 received". Most of us do this ten times a day, and my claim is that most people get the central point wrong. Your ₹100 never actually flies from one bank to the other.
On 27 November 2026 I shipped How UPI Moves Your Money, a free interactive 3D primer in English and Hindi. It follows that one chai payment through every computer UPI touches, and lets you break the system to see what happens.
The same walkthrough is on YouTube.
What happens in those two seconds
Riya's UPI app sends a request to its partner bank, which passes it to NPCI's UPI switch. NPCI asks Raju's side to resolve raju@okbank into a real account, asks Riya's bank to debit ₹100 and Raju's bank to credit it, and confirmations flow back to both phones. That is at least five organisations, and twelve message hops in the course's simplified model.
The real flow carries extra acknowledgement messages, which the course leaves out on purpose so a first-time learner can follow it.
Money doesn't fly, messages do
During those two seconds UPI moves instructions. Riya's bank reduces a number in its books and Raju's bank increases one in its own. The interbank money moves later, in bulk, through deferred net settlement on the banks' RBI accounts. Netting millions of payments into one figure per cycle is why the payment can feel instant.
Break it, and the debit comes back
In the sandbox you pick an amount, toggle whether the PIN is right, and take any server down. Take Raju's bank down and press Pay, and you get the scenario that scares everyone: money has left Riya's account and Raju has nothing. The animation shows the debit succeed, the credit stick and NPCI send a reversal. Under RBI's 2019 turnaround-time circular, a failed UPI debit must be auto-reversed by T+1. You never need to pay anyone, or call a "refund helpline", to get it back.
What is in the course
| Module | Lessons | The myth it busts |
|---|---|---|
| The 2-second journey | Scan and pay; your UPI ID is just an address | "The QR holds something secret" |
| Money doesn't fly | Messages vs settlement; pending and reversals | "Call this number to get your refund" |
| Safe and huge | Your PIN only your bank can read; UPI at national scale | "The app knows your PIN" |
Every lesson opens with a hook question and has a guess-first step: the scene freezes and only plays after you commit to an answer. One tap switches the whole course to Hindi. A presenter mode turns any lesson into a 9:16 reel with dual captions.
How I built it, and what broke
I built it in one Claude Code session with Wonder Builder, a skill of mine that turns a topic into a multi-page interactive course: Next.js, React Three Fiber, no backend. All six lessons live in one course.json with {en, hi} on every string, and a test fails the build if any Hindi string is missing. Motion is computed, not keyframed: a packet's travel time is path length divided by speed, so the timeline is unit-tested like any other code.
The scars were real. Drei's Html labels crashed with a removeChild error whenever a lesson unmounted, so I replaced them with a DOM overlay that projects 3D anchors to screen pixels. That projector then blanked the canvas, because giving a useFrame callback a priority switches off React Three Fiber's automatic render. Payments numbers also drift, so the repo ships a facts.md listing every figure with its source and flagging the shaky ones for review. Steal that habit for any explainer.
UPI moves messages in two seconds and money later, and once you see the relay you stop being scared of a pending payment.


