Inspiration

The exit is right there. So why is everyone stuck? I built ExitGhost for event organizers who want to see where a venue layout might cause a queue before the doors open. For the Kiroween 2026 Costume Contest, I turned the crowd into ghosts. They glow amber as they bunch up, and a hatched vortex marks the worst congestion.

What it does

Pick the Masquerade Ballroom or the Haunted Maze, ring the bell, and watch the crowd find its way out. After the run, turn on Afterimage to see where the ghosts spent the most time. Then move a wall, place a gravestone, or change an exit width and rerun both layouts side by side with the same crowd and starting positions.

How I built it

ExitGhost runs in the browser with TypeScript and Canvas 2D. A seeded, fixed-step simulation drives the replays, and the Crystal Ball uses Web Workers to try layout changes in the background. I used Kiro IDE to write the comparison rules as a spec before building the replay. Keeping the crowd and starting positions fixed gave me a concrete rule to test. Kiro steering files captured the rules for reproducibility, and I used Vitest and fast-check to exercise the simulation across generated layouts. Kiro specs · Build log

Challenges I ran into

Ringing the bell halfway through an erase drag could leave a wall erased with no way to undo it. Kiro's custom test-writing agent found that sequence. I fixed it and kept a regression test for it. I also learned that changing the seed alone could move the results enough to make a tiny layout change look better. I measured that variation and used it to decide when the app should report “About the same.” The timings are useful for comparing layouts within the simulation. Real venues require professional egress assessment.

Accomplishments I'm proud of

In the 200-ghost ballroom demo, the revised layout cut simulated clear time from 85.3 seconds to 47.6 seconds, and time spent in severe congestion fell from 26.1 seconds to zero. A second layout tweak saved only half a second, and the app called it About the same. I wanted both results to be visible so people could see which changes were worth a closer look.

Built With

Share this project:

Updates

Submission history