AuraCanvas — Project Story
Inspiration
Whiteboards trap ideas in rectangles, and documents bury them in pages. The spark came from watching people plan out loud: they don't type, they gesture — grab one thought, hold it next to another, and a third idea appears. So we built the mind-map you can touch. Speak a goal and a constellation of idea orbs blooms at arm's reach. Smash two together and they fuse into an action plan. Poke one to break it into next steps, poke the core to interrogate your own blind spots, and walk out with a Markdown plan you can actually execute — all standing still, hands-first, in about five minutes.
How we built it
AuraCanvas is a Three.js WebXR app — no game engine. It opens in immersive-ar passthrough mixed reality with an immersive-vr studio fallback, plus a desktop 3D mode so every flow is testable without a headset. Everything is procedural: orbs, glass cards, the Aura core, particles — generated geometry, so the whole experience downloads in seconds.
Interaction is custom-built for hands: a hysteresis-banded pinch detector (grab below 28mm, release above 38mm) with smoothed velocity and inertial release glide, one-handed drag-into-stationary fusion, a forgiving poke layer with per-target cooldowns, and a floating in-headset QWERTY keyboard with hold-to-type as the guaranteed fallback whenever speech recognition is unavailable. A head-direction dwell pointer (explicitly not eye tracking) covers the no-hands case, and Touch controllers reuse the same poke path with haptic ticks.
The AI chain keeps keys server-side only: a server route tries Meta Muse, then Gemini, then OpenAI using the .env key, with a fully offline local engine as the final fallback. The HUD badge always names the model answering right now, in plain language. For Quest-class hardware we used image-based lighting with filmic tone mapping, one pooled particle system, and in-place buffer updates for every edge — no post-processing, no per-frame allocations.
Challenges we faced
- The key that wouldn't load. The dev server kept answering with the offline engine even though the key sat in .env. We traced it to Vite never injecting .env into server-side config code, and fixed it with an explicit, value-never-logged loader.
- Replies cut off mid-sentence. The reasoning model spent hundreds of tokens thinking and blew past our token cap, returning truncated JSON. Probing the raw API response proved the call itself was healthy — raising the cap fixed it everywhere.
- A keyboard that looked broken. Screenshots showed smeared, unreadable keys. We rebuilt them as true 3D capped keys with proportional text canvases, then verified the fix numerically instead of trusting pixels.
- Performance on a standalone headset. Every allocation in the frame loop showed up as jitter risk, so edges, tethers, and particles all write into preallocated buffers.
What we learned
Hands-first design is unforgiving in the best way: if any flow — typing, saving, deleting — needs a controller or a keyboard, the experience breaks. Dwell input needs a fire-latch so a held finger can't refire, pinch needs hysteresis so it can't flutter, and comfort is really input design: seated and standing reach profiles, recenter that moves the content anchor itself, captions on by default. Above all: an honest fallback chain beats a dead end. The app never fails visibly — worst case, the offline engine answers and says so.
What's next
Multi-user boards over WebRTC so teams can arrange orbs together, spatial anchors where the runtime supports them so a board can live on your real wall, richer critique with effort-versus-impact sorting in 3D, and one-click export to task tools beyond Markdown.
Built With
- html5
- metaai
- three.js
- typescript