Campus Trace: visualizing mobility friction across 35,000 students

Solo Designer & Developer•VIT Vellore Pilot•MapLibre & Supabase
CampusTrace System Overview
Visit Live App
3 min read • 45 sec skim
01 / THE HOOK

When a broken streetlight or blocked pathway goes unreported, campus friction compounds daily.

Students complain locally, but campus administration lacks visibility into aggregate spatial patterns to resolve systemic infrastructural problems. CampusTrace was built to bridge this disconnect by enabling students to drop pinpoint issue markers instantly, while using Gemini AI to synthesize hundreds of disparate complaints into prioritized administrative hotspots.

02 / CONTEXT

A high-density collaborative map built for real-world university scale.

Engineered as a solo build, CampusTrace combined client-side spatial geometry with scalable serverless data persistence to deliver instant 60fps pan/zoom interaction across campus boundary maps.

RoleFull-Stack Developer & Designer
Timeline & ScopeSolo venture / VIT Vellore pilot
StackReact 18 · MapLibre · Supabase · Gemini
03 / THE REAL PROBLEM

Students didn't lack concern; traditional form-based reporting felt like shouting into a void.

To get students to engage actively, the reporting mechanism needed to be as effortless as dropping a pin on a spatial map.

For administration, the challenge was the inverse: sorting through hundreds of fragmented reports of "broken light" created decision paralysis. They needed an analytical layer capable of identifying systemic root failures rather than individual symptoms.

04 / KEY DECISIONS
DESIGN 1/3

Neo-Brutalist Visual Languageapproachable, high-contrast clarity for rapid student reporting

Chose a minimal, high-contrast visual style (thick borders, offset drop shadows, vibrant accents) over a sterile corporate dashboard.

Rationale & Trade-off

Rationale: Approachable aesthetics reduced psychological friction for students, drastically improving submission completion rates during rush hours.

Neo-Brutalist Visual Language
DESIGN 2/3

Client-Side Clustering with MapLibrezero server bottlenecks during high-concurrency peak hours

Handled geospatial rendering and spatial point clustering directly on the client thread using WebGL and MapLibre GL.

Rationale & Trade-off

Rationale: Provided a responsive, 60fps pan/zoom experience without burdening Supabase with thousands of spatial queries during campus rush hours.

Client-Side Clustering with MapLibre
DESIGN 3/3

LLM-Driven Semantic Synthesisgrouping issues by thematic friction rather than dumb radius proximity

Utilized Google Gemini Flash to evaluate report text semantics and synthesize them into cohesive operational hotspots.

Rationale & Trade-off

Rationale: Standard radius clustering fails to differentiate between an electrical hazard and pedestrian congestion in the same 50m zone. Semantic grouping extracted the actual structural cause.

LLM-Driven Semantic Synthesis
05 / WHAT DIDN'T WORK

Iterative engineering failures that reshaped the production pipeline.

Building a responsive real-time spatial app required overcoming significant browser memory bottlenecks, prompt scoping errors, and marketing misalignment.

01 // Tech-Heavy Landing Page

SaaS Marketing Tropes Failed

Early iterations used generic SaaS gradients that clashed with the tactile neo-brutalist web app. Scrapped the marketing boilerplate and aligned all views to the high-contrast physical design system.

02 // Narrow AI Scoping

Over-Constrained Prompting

Initially prompted the LLM strictly as a "Mobility Analyst," causing it to ignore critical infrastructural and safety hazards. Pivoted the system prompt to a comprehensive "Campus Problem Analyst."

03 // Bundle Chunk Limits

Vercel Deployment Thresholds

Heavy spatial libraries like MapLibre exceeded serverless chunk thresholds. Implemented route-level lazy loading with React Suspense and manual vendor chunking in Vite.

06 / OUTCOME & REFLECTIONS

During initial deployment, the platform captured 33 individual friction reports across campus. The AI engine synthesized these into 25 prioritized administrative hotspots.

01. High-Density Mobile Overlays (Design)

Layering telemetry, heatmaps, and route cards crowded smaller mobile viewports. I would introduce collapsible bottom-sheet drawers and context-aware legend filters to preserve spatial legibility.

02. Real-Time Telemetry Throttling (Technical)

Continuous WebSocket streams caused unnecessary UI re-renders during high-traffic surges. Implementing client-side spatial indexing and requestAnimationFrame throttling would optimize mobile frame rates.