Inspiration
Everyone has lost their friends at a gig, a festival or a packed club. Your phone says they're "nearby", the music is too loud for a call, and a text like "by the bar" doesn't help when there are three bars on two floors. I wanted an app that answers one question fast: where are they, and how do I get there?
## What it does
Party, Find Me puts your group on one screen. One person starts a group and shares a six-character code. Everyone who joins can see each other at the venue. There are three ways to find someone:
- Radar: everyone around you at once, rotated so the top is the way you're facing.
- Map: an OpenStreetMap view with the venue's floor plan on top. Routes follow the venue's walkways instead of cutting through walls, with distance, time and turn-by-turn directions across floors.
- Find: for the last few metres. An arrow points to your target, rings fill in as you get closer, and it tells you whether you're getting warmer or colder.
There's also a shared meeting point you can drop on the map, one-tap quick messages ("On my way", "Meet at the meeting point"), nearby alerts, and pause sharing for 15 minutes, an hour, or until you turn it back on.
## How I built it
- Flutter, so one codebase runs as an Android app and in the browser.
- flutter_map with OpenStreetMap tiles, plus a custom floor-plan layer for the venue (Ground and Mezzanine).
- A walkway graph for routing. The venue's corridors, doors and stairs are nodes and edges, and routes come from Dijkstra's shortest-path algorithm:
$$ d(v) = \min_{u \,\in\, \text{neighbours}(v)} \big( d(u) + w(u, v) \big) $$
where $w(u,v)$ is the walking length of a corridor segment. Stairs are edges between floors, so a route to someone upstairs heads for the stairs first. Consecutive segments are then merged into instructions such as "Turn right at Foyer" and "Take the stairs up to Mezzanine".
- Radar maths. For a friend at distance $d$ and compass bearing $\beta$, with my heading $\theta$, the dot is drawn at angle $\beta - \theta$ from the top of the radar and at radius
$$ r = \frac{d}{R} \, r_{\max} $$
where $R$ is the radar's current range (for example 125 m). The dots turn as you turn.
- A simulated data layer. Friends, GPS and compass come from a simulated repository behind the same interface a real backend would use. A fixed seed makes demos repeatable.
- Testing on real screen sizes. I ran the app on Pixel 7 and Pixel 2 emulators. A widget-test suite (108 tests) covers the main flows and short-screen layouts.
- The demo video was recorded on the emulator with scripted
adbtaps timed to the narration, then put together withffmpeg.
## Challenges
- GPS doesn't work well indoors. That's why the app pairs the map with a radar and a hot-cold Find mode instead of relying on one blue dot, and why the current build simulates location until real positioning is in.
- Straight lines go through walls. My first "route" was a straight arrow. Building a walkway graph and turning the shortest path into readable directions took the most iteration.
- More than one floor. Routes have to change floors in the right place, the map has to show the part of the route on the floor you're looking at, and the wording has to be clear ("Sam is on Mezzanine. Your route continues on Mezzanine.").
- Short phones. On a Pixel 2, panels overflowed and hints covered the map. I reworked the layouts and locked the app to portrait.
- Platform differences. Invite links worked on the web but became
file://addresses on Android, so the Android app now shares the code instead.
## What I learned
- Indoor navigation is mostly a data problem. A good walkway graph matters more than clever maths.
- Designing for the worst case (a small screen, a loud room, a weak signal) makes the app better for everyone.
- Separating the UI from the data source let me build and test every screen before a backend existed.
## What's next
Real GPS and indoor positioning, the phone's compass, live syncing between friends' phones, and invite links that open the app directly.
The current build uses simulated friends, location and compass, and the story says so under "How I built it" and "Challenges". Judges usually respond better to that than to finding out from the demo.
The draft uses $$ … $$ blocks for the two formulas. If the preview shows them as raw text, try single $ signs or remove the formulas.