Inspiration

The Moon doesn’t give you a live feed. In our demo, a command takes 1.3 seconds to reach it, and a camera image takes another 1.3 seconds to return. By the time you see a turn, you may already have sent the next command. We wanted to make that problem something you could feel, not just read about.

What it does

Ahead of Light is one expedition in two acts.

In Kestrel Recall, you explore a damaged space station and coordinate a rescue. Five crew members must make it home. You restore power, carry oxygen, make difficult decisions, and talk to ECHO and the crew. When configured, Gemini provides guidance grounded in the mission’s current state; it can propose limited actions, but the game checks every proposal against its rules before anything changes.

Once the crew is safe, the story moves to Light Delay. You aim a Moon camera while commands and video travel through separate, simulated 1.3-second delays. First you experience the late video. Then a predictive view estimates where the camera is pointing now. When the real frame finally arrives, the app compares its measured direction with the earlier prediction.

The online version includes a playable camera simulation. Our hardware-assisted demonstration also uses a webcam, visual markers, and an Arduino Metro. A teammate turns the camera in response to the Arduino display; we do not claim the motor turns the camera automatically.

How we built it

We built the rescue game with React and TypeScript, backed by Python, FastAPI, and SQLite. Gemini runs server-side so its key stays out of the browser. Mission actions pass through a deterministic game engine, including AI-proposed actions and commands that arrive after a reset.

Light Delay handles input, command and video queues, rendering, and prediction in the browser. Its simulation lets players compare delayed-only and predictive views under controlled conditions. The real-camera path uses webcam frames and marker-based direction measurements, while Web Serial connects the browser to the Arduino. We deployed the browser game and simulation to Vultr for an accessible preview.

Challenges and what we learned

The central challenge was honesty about time. A prediction is only meaningful if it cannot secretly read the simulation’s present state. We kept the true state separate from what the player and model are allowed to know, then saved predictions so later observations could check them.

We also learned how easily an impressive demo can overstate its results. Our simulation shows promising prediction-error improvements, but a small pilot does not prove that people aim faster with prediction. The real-camera setup still needs careful calibration and broader testing. Keeping those limits visible became part of the design.

What’s next

We want to move the cloud demo to HTTPS, refine the physical camera rig, measure real capture latency, and run more controlled human trials. Our goal is a remote-control interface that makes delayed information understandable—and makes every prediction accountable to what the camera eventually sees.

Built With

Share this project:

Updates

Submission history