Built to order

AR-Based Interactive Campus Tour using WebXR and ARCore

This project builds an AR-based interactive campus tour web app that guides students around a college campus using WebXR and ARCore, overlaying directions and place information on the camera view. It combines a GPS-anchored campus map with 6 points of interest, route guidance, and an AR mode that places floating labels on real buildings through an immersive-ar WebXR session. The app runs in Chrome on ARCore-supported Android devices and includes a simulated AR preview for desktops. Suitable for B.E./B.Tech final-year projects in Computer Science, IT and Web Development.

Chat on WhatsApp — get a quotation

Web Development GitHTML5 · CSS3 · JavaScriptGeolocation APIWebXR Device APISVG campus mapJSON POI dataChrome for AndroidSoftware
AR-Based Interactive Campus Tour using WebXR and ARCore — project thumbnail preview
More project photos (2)

The problem

New students and campus visitors often struggle to find their way around a large college campus on their first visits. Printed maps go out of date, signboards are easy to miss, and asking strangers for directions interrupts both parties. The AR-Based Interactive Campus Tour using WebXR and ARCore addresses this by turning an ordinary Android phone into a campus guide: the web app shows a GPS-anchored map of the campus, and in AR mode it overlays floating labels on real buildings through the phone camera, so a visitor simply points the phone and sees where the library, laboratories, auditorium, canteen and sports ground are and how far away each one is. A guided walking route connects all 6 places in one tour. Because the tour runs as a web app instead of a native install, a college can share it with a link or QR code and update place information without republishing an app.

SYSTEM FLOW

5 components 4 connections

Live flow
Drag to explore
100%
userVisitor

Opens the tour link in Chrome on an ARCore-supported Android phone.

Follow the working sequence

How it works

A visitor opens the tour link in Chrome on an ARCore-supported Android phone, and the app first asks for the device location through the Geolocation API, then renders the SVG campus map with all 6 points of interest placed from their stored latitude and longitude values. Tapping a place opens its detail card with hours, capacity and walking time, and choosing the tour route draws the guided path from the Main Gate through every stop, with the total distance computed live by the haversine formula over the stored coordinates. Tapping the AR view requests a WebXR immersive-ar session with a local reference space; ARCore tracks the phone motion, hit-testing anchors each label to a real surface, and the labels update their distance readouts as the visitor walks. On a desktop browser without WebXR, the same tour runs with a simulated AR preview instead.

  1. The visitor opens the tour link in Chrome; the app checks navigator.xr for immersive-ar support and shows whether live AR or the simulated preview will run.
  2. The Geolocation API provides the visitor's current latitude and longitude, which the app uses to position the visitor marker and sort places by distance.
  3. The SVG campus map renders all 6 points of interest from a JSON data file holding each place's coordinates, category, hours and capacity.
  4. Tapping a place opens its detail card, and choosing the tour route draws the dashed path from the Main Gate through all 6 stops in order.
  5. The route engine computes every leg with the haversine formula over the stored coordinates and totals the route — 1,260 m for the demo campus.
  6. In AR mode, the app requests an immersive-ar WebXR session with a local reference space; ARCore motion tracking and hit-testing anchor each floating label to its building, and distance readouts update as the visitor walks.

Tech stack:

  • HTML5 · CSS3 · JavaScript (ES6)
  • WebXR Device API (immersive-ar sessions)
  • ARCore · Google Play Services for AR
  • Geolocation API (GPS positioning)
  • SVG campus map · JSON POI data
  • Chrome for Android (AR runtime)
Parameter Value
Platform Web app · Chrome on ARCore-supported Android devices
AR session WebXR immersive-ar session (design target)
AR tracking ARCore motion tracking + hit-test anchoring (design target)
Positioning GPS via Geolocation API · POI coordinates stored as latitude/longitude
Points of interest 6 places (demo campus data)
Guided route length 1,260 m (computed in the demo build from stored coordinates using the haversine formula)
Guided route walking time About 16 min (expected, at 80 m/min walking pace)
Map rendering Inline SVG · 900 × 836 px canvas (demo build)
Demo file Single HTML file · approximately 19 KB (measured in the demo build)
Minimum Android version Android 7.0 (ARCore requirement · Google Play Services for AR)

Project features

The tour is built around four capabilities that work together: a GPS-anchored campus map with 6 searchable places, AR labels that float over real buildings in the phone camera view, a guided walking route that connects every stop in one tour, and detail cards that answer the questions a visitor actually asks — opening hours, capacity and walking time. Search and category filters keep the map usable as places are added, a live WebXR support check tells the visitor honestly whether their device can run the AR mode, and a simulated AR preview lets the project be demonstrated on any desktop browser. The route engine is the part students usually underestimate: every distance is computed from stored coordinates with the haversine formula, so the 1,260 m demo route total is a computed result of the demo build rather than a typed-in value.

  • [GPS-anchored campus map] An interactive SVG campus map shows 6 points of interest at their stored latitude and longitude positions, with search and category filters (Academic, Events, Food, Sports) for finding places quickly.
  • [AR mode with floating labels] On an ARCore-supported Android device, an immersive-ar WebXR session anchors a floating label with name and distance to each building in the live camera view, with hit-testing for placing markers on real surfaces.
  • [Guided walking route] A single tour route connects the Main Gate to all 6 places in order, with the total walking distance computed live from the stored coordinates — 1,260 m for the demo campus, about 16 min at an 80 m/min walking pace.
  • [POI detail cards] Tapping any place opens a card with its description, opening hours, capacity and walking time from the Main Gate, plus buttons to open it in AR view or on the tour route.
  • [Live WebXR support check] The app checks navigator.xr for immersive-ar support on load and reports honestly whether the device can run AR mode or whether the simulated preview is being shown instead.
  • [Simulated AR preview for desktop] A clearly labelled simulated camera view with floating labels and a compass lets the project be demonstrated on a desktop browser that has no AR hardware.
  • [Search and category filters] Places can be found by typing a name or by filtering on category, so the map stays usable when a real campus adds many more places.

What is included

  • Complete campus tour web app source code (single-file demo plus documented source)
  • AR mode with WebXR immersive-ar session, hit-testing and floating labels
  • Demo campus data file with 6 places, coordinates, hours and capacities
  • Setup instructions for hosting the app and testing AR mode on an Android device
  • Project report PDF (background, WebXR and ARCore concepts, methodology, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (WebXR sessions, ARCore, Geolocation API, haversine routing)

Limitations & prerequisites

  • AR mode needs an ARCore-supported Android device running Android 7.0 or newer with Google Play Services for AR installed; it does not run on iPhones, since ARKit is a separate platform and is not implemented.
  • GPS positioning is approximate outdoors, with typical consumer-phone error of several metres (expected), and weak or unavailable indoors, so AR labels can drift by a few metres from the real building.
  • The desktop AR preview is a simulation, not a live camera AR session; real AR anchoring is only verified on a supported Android device.
  • The demo campus is fictional sample data with 6 places; a real college needs its own survey of places and coordinates before the tour is useful.
  • WebXR immersive-ar sessions require a secure context (HTTPS) and a user gesture to start.
  • Route distances use straight-line haversine distances between stored coordinates, not surveyed footpaths, so real walking distances on campus may differ.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for Computer Science, IT and Web Development programs, because it demonstrates WebXR session handling, ARCore anchoring, Geolocation API use, SVG map rendering and haversine route computation in one working web app that runs in a desktop browser for review and in AR on a supported Android phone. The guided route and detail cards work on any device, so the project is demonstrable even when no AR phone is available at the review.

Which devices run the AR mode?

ARCore-supported Android devices running Android 7.0 or newer with Google Play Services for AR installed, using Chrome. The app checks navigator.xr for immersive-ar support on load and reports honestly whether the device can run AR mode or must use the simulated preview. iPhones are not supported, since ARKit is a separate platform and this project implements the ARCore path only.

Does the tour work without internet?

The campus map, place details and the guided route work offline once the single-file app is downloaded, because all place data is stored locally as JSON. GPS positioning also works without internet, and the live AR mode needs no internet connection either. The app must first be served over HTTPS, which is a WebXR requirement for starting an immersive-ar session.

How does the app know where each building is?

Each place is stored with latitude and longitude coordinates in a JSON data file, and the map positions markers from those coordinates. Distances are computed with the haversine formula, so the 1,260 m demo route total comes from the stored coordinates rather than from typed-in values. Adding a place means adding one JSON entry with its coordinates, category, hours and capacity.

Can the tour be adapted to my own college campus?

Yes — the campus is data, not code, so the 6 demo places are replaced with the college's own places, coordinates, hours and capacities in the JSON file, and the map layout is redrawn to match the real campus. The route order, categories and AR labels all follow from the same data file. A college only needs a short survey of its places and their coordinates before the tour is useful.

What will I receive with the project?

The complete campus tour web app source code, the AR mode with WebXR and ARCore, the demo campus data file, setup instructions, the project report, a PPT for the final review and a viva Q&A document. The abstract PDF is included as a separate download.

Components & software requirements
  • HTML5 · CSS3 · JavaScript (ES6)
  • WebXR Device API (immersive-ar sessions)
  • ARCore · Google Play Services for AR
  • Geolocation API (GPS positioning)
  • SVG campus map · JSON POI data
  • Chrome for Android (AR runtime)
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation