Inspiration
Inspiration and problem
Driving to campus on a Saturday morning, only to find an entrance blocked with no warning on Google Maps. Student organizations posting countless “Follow Me” videos on Instagram just to help attendees find the right room.
An event link tells Trojans what’s happening. An address and room number tells you the location. But who gives you accurate directions on-campus, and inside a building?
At USC, reaching an event involves finding an open car entrance, finding the correct building, and then finding the room. Closures frequently complicate the journey.
With Doorstep, we end the frustration of “how do we get there?”
Our solution
Doorstep incorporates accurate real-time information to navigate the right entrance. Then, it guides you where to walk — including inside the building.
An organizer shares an event link carrying the destination. The visitor gets walking directions from the moment they park. The attendees also get indoor directions when they enter the building, until they reach the event proper.
Outdoors: people report blockages, and the staff review reports. This allows accuracy in our process.
Indoors: an accurate 3D model gives an immersive walkthrough to the event. Choose either an overview, or a first-person walkthrough to get to where you need.
Ask Doorstep, our core AI feature, uses published and updated campus information pulled right from USC Transportation’s most recent updates to answer questions with source references. If the AI doesn’t have a trusted answer to that question, it is passed on to the organizer, and the AI uses that in the future.
Tech stack
Doorstep uses an HTML, CSS, and JavaScript web interface with Leaflet for mapping. Cloudflare Workers serves the application and API, while Cloudflare D1 stores reports, restrictions, and organizer answers.
We built a custom walking router over an OpenStreetMap campus graph, supplemented by surveyed parking exits, gates, and building entrances. For driving, we integrated openrouteservice with checks for gate schedules, access credentials, and game-day precautions.
Once users confirm they have parked, the app switches to walking guidance. We also ported the walking path generator from Python to JavaScript for Cloudflare Workers. To check consistency, we built automated tests that give both versions the same situations, and ensured their complete responses matched. This helps catch subtle differences that could otherwise send users along different paths after deployment.
Cloudflare Workers connects to our AI backend on Replit to answer campus questions with source citations and analyze photos of reported blockages. The Worker validates AI outputs, and staff approval is required before any suggested closure can affect routing.
To create the Indoor 3D scene, we scanned an entire building using the scaniverse app, and reconstructed the meshes in 3D blender using Claude’s advancement in spatial reasoning. Then, it is converted to web-optimized GLB (binary glTF) files to visually render naturally on the web. We compute the fastest route with Dijkstra’s algorithm over a hand-built graph of the hallways and stairs, and draw it as an animated ribbon of arrows along the floor of the 3D scene.
Challenges we faced
Finding the shortest path. Stairs add not just elevation changes, but additional time compared to walking the same distance, and invite accessibility considerations. We use Dijkstra’s algorithm over weighted navigation graphs to find the fastest permitted walking route.
Separating vehicle access from pedestrian access. A gate closed to cars often still allows people through on foot. We kept vehicle schedules separate from walking restrictions.
Using AI without trusting it alone. We added citations and an organizer fallback for questions, while keeping final decisions with staff.
Reconstructing indoor space. Separate scans needed alignment, drift correction, and cleanup in 3D. Instead of taking one full scan of the building at once, we assembled eleven scans across two floors into a connected prototype.
Future Steps
Our next goal is a complete, field-tested experience for one event at one verified venue.
We will connect the indoor viewer to the outdoor arrival flow. We will also validate accessible routes and check the routing provider and AI service in deployment.
With a student organization and venue staff, we will gather user feedback on their experience using Doorstep. Those results will guide expansion to additional venues, with the long-term goal of covering the entire USC campus and supporting other university campuses.
We will make attending an unfamiliar USC event easier, while giving organizers a manageable way to keep directions accurate.
Built With
- 3d
- ai
- html
- javascript
- python
- replit