Skip to content
All projects

Case study · Build · 2026

NetTracer XR

The developer sideThe design side

NetTracer in mixed reality. Packets fly between devices on a table, or between the real router, PC and phone in your room.

NetTracer XR takes NetTracer's packet simulation into a Meta Quest headset. Lab mode puts a sample network on a table, and My Network pins your real devices to where they sit, using a scan from your PC. It is built with Immersive Web SDK, Three.js and TypeScript, and it is live with the code public.

NetTracer XR Lab mode on a desktop. Three PCs, a switch, a router and a server sit on a table under a panel that explains PC-A's ARP request, with the menu on the left and the ping controls on the right
  • What it does

    NetTracer's engine in a Quest headset, fed by a home network scanner and a share API that forgets each scan after 15 minutes.

    See the developer side
  • The brief

    A ping you can follow across your own living room, with every hop explained on a panel you can read at arm's length.

    See the designer side
  1. 01

    The idea

    A ping is easier to follow when it crosses your own living room. Each hop gets a panel that says what the device did, read aloud if you like.

  2. 02

    What I did

    Pulled NetTracer's engine into plain TypeScript, built a scanner and a short-lived share API, and wrote the headset app on Immersive Web SDK.

  3. 03

    Where it stands

    Live and checked in the IWSDK emulator and a desktop browser. It still needs a pass on a real Quest.

Two modes run on the same engine as the website.

  1. Lab mode

    Three PCs, a switch, a router with NAT and a web server on a table. Send a ping and it moves device to device.

  2. Hop panels

    Each frame says what happened at that device. ARP lookups, MAC table hits, routing decisions, NAT rewrites and TTL drops all get a sentence.

  3. Grab and unplug

    Grab a device to move it and its cables follow. Pull a plug away from a device and the next ping explains the failure.

  4. Room scale

    One button blows the table up five times, so you can walk between the devices and teleport around them.

  5. My Network

    Type the 6-character code from the scanner. In passthrough, you point at where each device sits and pin it there.

  6. Out to the internet

    A ping to 8.8.8.8 leaves through a window you pin and passes the traceroute hops from your scan, each labelled with its latency.

  7. Narration

    Every hop panel can be read aloud with the browser's speech engine, at four speeds. Captions stay on either way.

  • Lab mode in the emulator's living room in passthrough. The sample network sits on a virtual table under a hop panel, with Quest controllers in viewLab mode in the emulator's passthrough living room, three hops into a ping.
  • Room pinning in the emulator. Scanned devices float in a tray at waist height with Wi-Fi arcs to the router, in a living roomRoom pinning. Unpinned devices wait in a tray until you point at their real spot.
  • My Network on a desktop with a demo scan. Devices spread around a router, a window frame with traceroute hops fanning out past it, and panels aboveMy Network on a desktop with the demo scan. The hops past the window come from a traceroute.
Captures from the IWSDK emulator and a desktop browser.

The engine came out of NetTracer first, untouched.

  1. 01

    Pull out the engine

    Lines 32 to 997 of NetTracer.jsx

    Into src/net-core as strict TypeScript

    Check Output for all 7 labs matched the old engine byte for byte

  2. 02

    Add what XR needs

    Source NAT on routers

    Router-to-router links for the ISP hop

  3. 03

    Scanner and share API

    ipconfig, ping, arp -a, tracert

    Codes kept for 15 minutes

  4. 04

    Headset app

    Immersive Web SDK 1.1

    Panels written in UIKitML

  5. 05

    Emulator checks

    Ray presses, grabs and unplugs

    Pins saved, reloaded and restored

  6. 06

    Deploy

    Vercel, from the GitHub repo

    Its own subdomain of the site

From NetTracer's engine to a live headset app

NetTracer's engine already sat at the top of one 2,960-line file with no React in it. I moved it into its own module, then ran every lab, every one-click fix and the sandbox edits through the old and new versions. The JSON matched, so NetTracer itself got the shared module in a pull request.

The headset app was written against the IWSDK docs and checked through its CLI. The emulator fakes a Quest 3, its controllers and a furnished room with surfaces to hit test against.

A browser can't scan your network, so your PC does.

  1. 01

    nettracer-scan on your PC

    Asks before the ping sweep

    Reads ARP, hostnames and tracert

    Hides the last two MAC bytes

    Writes A net-core topology

  2. 02

    /api/share

    Rejects anything over 64 KB

    Stores it in Upstash Redis

    Returns A 6-character code

  3. 03

    Headset app

    Keypad fetches the scan by code

    A backup link carries it after the #

    Then Pins each device with hit test

How a home network reaches the headset

The rules underneath

  • code6 characters from a 31-letter alphabet with no 0, O, 1, I or L
  • scan lifetime15 minutes, then Redis deletes it
  • sweepthe 254 addresses around the PC, 12 pings at a time
  • pinan offset from the one persistent anchor IWSDK keeps for the site

Quest Browser allows 8 persistent anchors per site. Saving offsets from one anchor leaves room for any number of devices.

Where a cable comes out decides how far the ping gets.

  1. Every cable plugged in (reply arrives)12
  2. Server unplugged (link down at R1)7
  3. Router's LAN cable out (ARP timeout for the gateway)7
  4. PC-A unplugged (no network link)1
Frames before the lab ping from PC-A to the server ends. Run in Vitest against the lab topology. With everything plugged in, NAT rewrites PC-A's address on the way out and back.
How far a pinned router moved after a reload in the emulator
2 mm
How far a pinned router moved after a reload in the emulator
Dropped frames in 300 sampled on a desktop browser
0
Dropped frames in 300 sampled on a desktop browser
MAC prefixes in the bundled vendor table
11,711
MAC prefixes in the bundled vendor table

The internet is one router that answers for 8.8.8.8.

In the simulation, your router hands internet traffic to a single ISP router through NAT, and that router answers for 8.8.8.8. The real hops in between come from your traceroute. They are drawn past the window with the latency your PC measured.

Latency in My Network is a snapshot. The headset can't ping anything itself, so every number on a device panel dates from the scan.

What else is simplified

  1. Wired or Wi-Fi

    On screen
    A tube along the floor or an animated arc
    Underneath
    A guess from the device type, which you can switch on its panel
  2. Device types

    On screen
    A phone, a TV, a printer or a speaker model
    Underneath
    A guess from the MAC vendor and hostname. A private Wi-Fi address counts as a phone
  3. Hidden devices

    On screen
    Every device the scan found
    Underneath
    Only devices that answer ping or show up in the ARP table

One engine for the website and the headset.

  1. Shared net-core

    The headset copies NetTracer's engine folder. A fix to how ARP or NAT works lands in both apps.

  2. A scanner on the PC

    Browsers can't sweep a network. A Node script with no dependencies runs in PowerShell and prints every step in plain words.

  3. Codes that expire

    A home network map is personal. The share API keeps it for 15 minutes, and the backup link never reaches a server at all.

  4. Masked MACs

    The scan hides the last two bytes of every MAC unless you ask for them with --full-mac.

  5. Models built in code

    Each device kind is one merged mesh with shared materials. The app loads no model files.

  6. Teleport and snap turn

    Smooth sliding is off. In passthrough My Network the player can't move at all, so pins stay lined up with the room.

Panels sit where you'd look, and text stays big enough to read.

  1. Text size

    Panel text is at least 3.5 cm tall within about 1.4 m of your eyes, above Meta's 24 dmm guide.

  2. Tabletop

    The hop panel floats behind the table, with the ping controls on the left and device details on the right.

  3. Room scale

    Panels follow your head lazily, low and to the side, so they never block the network.

  4. Pinning

    The pin panel sits low on the left. Your ray can reach the spot straight ahead without hitting it.

  5. Protocol colors

    Packets keep NetTracer's colors, so ARP is cyan and a drop is always red.

  6. Desktop

    A narrower lens than the headset's keeps flat panels from looking stretched on a monitor.

Live, with the code public and a headset test still to do.

Modes
2
Modes
Spatial panels
6
Spatial panels
Unit tests
37
Unit tests
Frames in the lab ping, with NAT out and back
12
Frames in the lab ping, with NAT out and back

The scanner ran on Windows in about 28 seconds on a home network. Codes need an Upstash database on the Vercel project, and until it exists the scanner falls back to the backup link.

What I’d check and add once it's on a headset.

Next

  1. A headset pass

    Run it on a Quest 3 and check frame rate, hit test accuracy, anchor persistence and speech.

  2. Turn on codes

    Connect an Upstash database to the Vercel project so the scanner's code works end to end.

  3. Voice commands

    Say ping the router or trace to Google, where Quest Browser supports speech recognition. The mic hides where it doesn't.

  4. The Store build

    Package the installed app with Meta's Bubblewrap and upload it to a test channel. The manifest, icons and steps are ready.

Known limits

  1. No live latency

    Every number on a device panel comes from the scan.

  2. Hidden devices

    Some phones and smart devices ignore ping and never reach the ARP table.

  3. Quest 2

    It loads as VR only, with no room pinning.

  4. Untested on a headset

    Emulator checks can't prove comfort, frame rate or how well pins hold in a real room.

  1. Built

    A mixed reality network lab for Meta Quest that also runs as a 3D page on a desktop.

  2. Found

    Pulling one cable in Lab mode ends the ping at frame 7 or sooner, and the panel names where it died.

  3. By the numbers

    Frames in the lab ping, with NAT out and back
    12
    Unit tests
    37
    Minutes a shared scan lives
    15
  4. The catch

    No headset has run it yet. Every check here came from the IWSDK emulator and a desktop browser.

  5. Next

    Run it on a Quest 3 and check frame rate, hit test, anchors and speech.