Inspiration
Over 69 million adults experience vestibular dizziness, vertigo, or post-concussion gaze instability. Standard neuro-PT home therapy tells patients to tape a paper business card to a living-room wall, stare at one letter, and turn their head side to side for 10 minutes a day—completely blind. Turn too slowly, and your brain never adapts its vestibulo-ocular reflex (VOR). Turn too fast, and acute nausea shuts the session down—causing patients to quit rehab.
Why Snap SPECS
- Hands free, eyes up on your real room: Vertigo patients need their hands free for balance support and must keep their real sunlit room visible to stay grounded (dark, opaque VR headsets worsen cybersickness).
- Real 6-DoF head tracking is the clinical instrument: A handheld phone cannot measure live 3D head angular velocity (
°/s) across the room or drive a counter-phase optical target. - Built for real SPECS battery sessions: Prescribed vestibular rehab is a deliberate 10-minute daily session—one charge covers 3–4 days of home therapy.
What it does
- Sculpted 3D Multi-Gimbal Gyroscope & Direct Spatial Pinch: Floats 1.4 m ahead in your real room (
Sunlit Room); look anywhere and directly pinch the 3D gyroscope in space to re-anchor it straight to your gaze. - Live Open-Meteo Barometric Trigger Alerts (
InternetModule): Fetches live 6-hour atmospheric pressure trends (hPa,Δ/6h) with zero API keys across selectable clinic regions (SF · LDN · DEL), flagging pressure drops (Δ <= -2.5 hPa, a major vestibular migraine / Meniere's trigger) before symptoms spike. - VOR x1 Emerald Biofeedback & Velocity-Gated Tumbling "E" (DVA): Bilateral 3D spatial audio ticks (
-30°L /+30°R) pace head turns while real 6-DoF angular velocity illuminates the curved horizon arc emerald only inside the therapeutic band, flashing a sharp Snellen tumbling"E"to score Dynamic Visual Acuity. - Nausea Guard & Symptom-Adaptive Comfort Scale (
VAS 0–10): Overspeed triggers a soft amberSLOW DOWN · NAUSEA GUARDcue + descending tone; tappingVAS 0–10dynamically scales the safe speed band betweenCalm Reset (20–55 °/s),Gentle (40–95 °/s), andClinical (85–155 °/s). - AR-Only Counter-Phase
VOR x2(2.0x Gain): Glides the world-anchored 3D gyroscope smoothly in exact opposite phase to head yaw (targetYaw = -headYaw), doubling balance-reflex gain in a way no paper card could ever do. - Gravity-Locked
GaitHorizon & PT/ENT Clinician Summary: Pitch/roll-locked walking horizon with 3D depth corridor gates for hands-free walking, plus a clean 5-line Summary Card (Peak Safe Velocity,Time in Zone %,L/R Symmetry %,DVA Acuity,Symptom VAS, and live Open-Meteo barometric context).
How we built it
Planned through the Devpost Learn plan-lens skill pack (devpost/design-brief.md committed at repo root) and built through CLAD + Lens Studio 5.25 MCP across 6 modular TypeScript files (StillPointTypes.ts, StillPointBaroApi.ts, StillPointOptics.ts, StillPointAudio.ts, StillPointUI.ts, StillPointMain.ts) using procedural additive MeshBuilder optics, Snap OS 3.0 UIKit 4.0, Snap InternetModule, and 5 automated LEAF 4.0 scenarios.
Challenges & What we learned
- Translucent additive optics look crispest in a bright room without opaque boxes; keeping UI panels razor-thin and inside SPECS' 32° FOV required iterative Preview framing tests.
- Dirty-checking procedural vertex color/arc buffer uploads in
StillPointOptics.tsandUIKitlayout updates inStillPointUI.tseliminated per-frame GPU/CPU churn and noticeably improved Preview framerate.
Verification & Honest Scope
- Logic Proven: 6 modular scripts with 0 errors, live Open-Meteo HTTP GET, direct 3D pinch, 6-DoF speed math, counter-phase
VOR x2, and 5/5 passing automated LEAF scenarios (stillpoint-1-launch-baselinethroughstillpoint-5-summary-reset). - Feel Unproven: Long-session optical comfort and acute vertigo tolerance await validation on physical Snap SPECS hardware.
Built With
- clad
- leaf
- lens-studio
- mcp
- open-meteo
- snap-specs
- typescript
- uikit