# clear-the-dark
An interactive donation story for Intercultural Roots for Public Health, a charity that uses creativity to tackle loneliness and disconnection. Built in 3–4 hours by me and ZJ, another second-year engineer, at the CapCut × EAST2046 hackathon run by the University of Cambridge Film and Interactive Web Lab. It won Track 2, Interactive Web Page.
- result
- Track 2 winner
- time
- 3–4 hours
- team
- Me + ZJ
- output
- One self-contained HTML file
- stack
- HTML · CSS · JS · MANI Engine
## the brief
Make a single-file web page with at least two kinds of interaction for people discovering the charity for the first time, especially potential donors. The tone had to be human, hopeful and bold, keep participants' dignity at the centre, and work with or without sound. Every claim had to be checkable against the charity's impact report, and the page had to end with a donation ask. Judges scored the page and a reusable workflow document equally.
## what we built
- Clear the dark: one participant said the programme got them "out of a dark spot". The page opens on that dark spot, and the visitor clears it themselves by moving the cursor.
- A walk out of the dark: an optional 3D world, generated with MANI Engine from a prompt we wrote, that goes from a grey, empty street to a community garden at golden hour. It has skip and "walk for me" buttons, and the page never depends on it.
- The story: the charity's Listen → Create together → Connect model, then its real impact numbers. "50+ countries" becomes a cluster of spheres you can grab and throw, which drift back together.
- The ask: a closing "What would you help grow?" with the charity's four programmes and a link to its donation page.



## the hand-off into 3D
The part I'm proudest of. The 3D walk is a separate MANI Engine world, but stepping into it and back out feels like one continuous page:
fog opening ──enter──▶ 3D walk ──portal──▶ real people │ ▲ └─────────── skip the walk ───────────────┘
- Preloaded. The world is on the page from the start and loads while you clear the fog. It stays hidden until it has loaded, so nobody sees a blank frame.
- One continuous shot. The image under the fog is a screenshot of the world's first frame. On entry, a full-screen copy of it covers the page, the page jumps to the world behind it, and it fades to reveal the live 3D. If the world is still loading, the cover waits up to 10 seconds.
- Scroll to keep going. You can enter three ways: automatically after the fog, an "Enter now" button, or just scrolling. As you scroll, the framed window grows to fill the screen.
- Scrolling vs walking. Only once the world fills the screen does it take the mouse and keyboard, so WASD walks instead of scrolling. Scroll away and the page takes control back.
- A way back out. Reaching the portal sends a message to our page, which carries you on to the next section. If you've already scrolled on, the page never pulls you back.
## how we worked
- One role each. ZJ built the fog opening and the story sections. I planned the page, built the 3D walk and the sphere cluster, and put the final file together.
- Two plans, then one. We drafted a plan built around a single signature interaction and a plan built as a scroll story, then merged them, keeping the stronger part of each.
- Content in one place. Every word, quote, number and photo credit lives in one config object at the top of the file, so the charity can update the page without touching the code.
- Every claim fact-checked. Each number and quote is listed in a table with its source and page. No generated people, photos, quotes or statistics.
- Tested beyond the happy path: on a phone, keyboard only, with reduced motion, and with the 3D world skipped.
## what I learned
- Shipping under pressure. We had 3–4 hours, so we cut scope early and kept every extra optional.
- A new tool on the day. I learned MANI Engine during the hackathon and wrote the prompt that generated the 3D walk.
- Splitting the work. Giving each person a clear role let us build in parallel. The cost: the two halves ended up with slightly different looks. Next time we'd agree on fonts and colours before splitting up.