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.

- What it doesSee the developer side
NetTracer's engine in a Quest headset, fed by a home network scanner and a share API that forgets each scan after 15 minutes.
- The briefSee the designer side
A ping you can follow across your own living room, with every hop explained on a panel you can read at arm's length.
The short version
- 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.
- 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.
- 03
Where it stands
Live and checked in the IWSDK emulator and a desktop browser. It still needs a pass on a real Quest.
What it does
Two modes run on the same engine as the website.
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.
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.
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.
Room scale
One button blows the table up five times, so you can walk between the devices and teleport around them.
My Network
Type the 6-character code from the scanner. In passthrough, you point at where each device sits and pin it there.
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.
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 passthrough living room, three hops into a ping.
Room pinning. Unpinned devices wait in a tray until you point at their real spot.
My Network on a desktop with the demo scan. The hops past the window come from a traceroute.
How I built it
The engine came out of NetTracer first, untouched.
- 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
- 02
Add what XR needs
Source NAT on routers
Router-to-router links for the ISP hop
- 03
Scanner and share API
ipconfig, ping, arp -a, tracert
Codes kept for 15 minutes
- 04
Headset app
Immersive Web SDK 1.1
Panels written in UIKitML
- 05
Emulator checks
Ray presses, grabs and unplugs
Pins saved, reloaded and restored
- 06
Deploy
Vercel, from the GitHub repo
Its own subdomain of the site
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.
How it works
A browser can't scan your network, so your PC does.
- 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
- 02
/api/share
Rejects anything over 64 KB
Stores it in Upstash Redis
Returns A 6-character code
- 03
Headset app
Keypad fetches the scan by code
A backup link carries it after the #
Then Pins each device with hit test
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.
What it found
Where a cable comes out decides how far the ping gets.
- 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
Where it simplifies
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
Wired or Wi-Fi
Device types
Hidden devices
Decisions
One engine for the website and the headset.
Shared net-core
The headset copies NetTracer's engine folder. A fix to how ARP or NAT works lands in both apps.
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.
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.
Masked MACs
The scan hides the last two bytes of every MAC unless you ask for them with --full-mac.
Models built in code
Each device kind is one merged mesh with shared materials. The app loads no model files.
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.
Design
Panels sit where you'd look, and text stays big enough to read.
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.
Tabletop
The hop panel floats behind the table, with the ping controls on the left and device details on the right.
Room scale
Panels follow your head lazily, low and to the side, so they never block the network.
Pinning
The pin panel sits low on the left. Your ray can reach the spot straight ahead without hitting it.
Protocol colors
Packets keep NetTracer's colors, so ARP is cyan and a drop is always red.
Desktop
A narrower lens than the headset's keeps flat panels from looking stretched on a monitor.
Where it stands
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’s next
What I’d check and add once it's on a headset.
Next
A headset pass
Run it on a Quest 3 and check frame rate, hit test accuracy, anchor persistence and speech.
Turn on codes
Connect an Upstash database to the Vercel project so the scanner's code works end to end.
Voice commands
Say ping the router or trace to Google, where Quest Browser supports speech recognition. The mic hides where it doesn't.
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
No live latency
Every number on a device panel comes from the scan.
Hidden devices
Some phones and smart devices ignore ping and never reach the ARP table.
Quest 2
It loads as VR only, with no room pinning.
Untested on a headset
Emulator checks can't prove comfort, frame rate or how well pins hold in a real room.
TL;DR
Built
A mixed reality network lab for Meta Quest that also runs as a 3D page on a desktop.
Found
Pulling one cable in Lab mode ends the ping at frame 7 or sooner, and the panel names where it died.
By the numbers
- Frames in the lab ping, with NAT out and back
- 12
- Unit tests
- 37
- Minutes a shared scan lives
- 15
The catch
No headset has run it yet. Every check here came from the IWSDK emulator and a desktop browser.
Next
Run it on a Quest 3 and check frame rate, hit test, anchors and speech.