Why we built Cái Gương: look into the mirror for a prophecy
The story behind Cái Gương: a bronze-mirror ritual on your phone. Breathe, wipe the mist, read the prophecy; the mirror never lies twice, full moons bring rare lines, and the camera never leaves your device.
Anyone who grew up in Vietnam has heard some version of it: an old bronze mirror hangs in the family shrine, and on a full-moon night it shows what has not happened yet. We built Cái Gương (“The Mirror”) to bring that feeling to your phone as a small daily game: look into the mirror, breathe, wipe away the mist and read what it tells you.
Open Cái Gương · Source on GitHub
Why a mirror?
Fortune apps usually give you a “Reveal” button and a paragraph. The answer comes too easily, so it is forgotten as soon as it is read. We wanted a ritual first, even a few seconds long: look straight in so the mirror “sees” you, breathe on the glass, then wipe the mist yourself. The words appear exactly where your finger passed, so the prophecy feels like yours.
The mirror must see you first
When you choose to gaze in, the front camera appears inside the bronze frame, desaturated and rippling like water, with a blood-red ghost lagging a beat behind you. You can only breathe once the mirror sees someone in front of it. It uses the browser’s face detection where available and an on-device skin-tone check otherwise. Everything runs on your phone, and no image is ever sent anywhere. If you would rather not use the camera, the obsidian mirror gives you the full experience.
Breathe, wipe, read
Pick one of five realms (Today, Love, Career, Fortune, Wellbeing), ask silently or type a question, then hold the breathe button. If you like, tap 🌬 and actually blow into the mic. Mist covers the glass. Wipe it with your finger: it clears along your stroke, the words appear mirrored, flip around to be readable, and each letter drifts up out of the smoke.
The mirror does not lie twice
Each prophecy is assembled from a hand-written corpus: an invocation, an omen, a realm message, advice and four lucky signs (colour, number, one of the 12 traditional hours, direction). The combination depends on the date, the realm and your question. Ask the same thing on the same day and the mirror says “The mirror does not lie twice” and gives back the same words. It also avoids repeating lines you have received recently. The moon phase is computed from the date, so full-moon nights are a spirit hour with rare prophecies about the Moon Lady and Cuội, marked ✦.
Write it down, then see if it came true
Every prophecy goes into the Book of Prophecies. A few days later you open it and mark “Came true? Yes / Not yet”. The book counts how many came true and your daily streak. Data stays in your browser; to change devices, export a JSON backup and import it. To show off, Create share card gives you a PNG of the mirror exactly as it looks.
Making it haunting
The first version looked cheap, so we rebuilt all the visuals in WebGL. The background is a near-black void with blood-red and jade smoke drifting slowly. The breath fog is its own layer that your finger can wipe away. A ring of Hán-Nôm glyphs (鏡, 靈, 魂, 夢, 月…) orbits the mirror and glows when it sees you. Candle embers and spirit wisps rise, and a thin layer of smoke drifts in front of everything. Four candles light one by one during the intro. Sound is synthesized on the device too: a low drone, wind, ringing chimes and distant whispers. On slower phones the app turns effects down on its own to stay smooth.
Try it
- Open the app on a phone or computer. Use “Add to Home screen” to install it like an app.
- Watch the intro or tap to skip.
- Tap Gaze into the mirror and allow the camera, or choose Obsidian mirror to play without it.
- Look straight into the glass. When the mirror sees you, its rim lights up. After about 8 seconds it carries on even if it cannot see your face clearly.
- Pick a realm: Today, Love, Career, Fortune or Wellbeing.
- Ask silently, or type your question (optional).
- Hold Hold to breathe on the glass until the bar fills, or tap 🌬 and blow gently into the mic.
- Wipe the mist with your finger (or mouse). The more you wipe, the more words appear.
- Read the prophecy and the four lucky signs. It is saved to your journal automatically.
- Tap Create share card for a PNG, or Ask again for another question.
- A few days later, open the 📜 journal and mark Came true?.
Privacy: camera frames are processed only on your device, to draw the reflection and check that someone is in front of the mirror. No photo or video is ever uploaded. No accounts, no cloud, no tracking ads. Your journal lives in your browser; to move devices, use Export backup to a JSON file and Import backup on the new one.
For entertainment only: the prophecies are hand-written lines combined by date and question. They are not medical, financial or legal advice. Health and money lines are deliberately gentle and make no claims; one even says “ask a physician, not a mirror”.
Open Cái Gương; it is free with no sign-up. Source at github.com/gooduselabs/cai-guong. The full feature list is on the Cái Gương product page.