Andrew Leng Ly andrewlengly.com/nettracer-xr-casestudy :: nettracer xr case study # NetTracer in mixed reality. Packets fly between devices on a table, or between the real router, PC and phone in your room. designed page ......... /nettracer-xr-casestudy # Pages / /projects /designer /developer /analyst /resume /card /campus /portfolio /garden /music /pond /sand /keys /timer /lowball /build /opening /split /blog /studio # Case studies /case-studies /grid-watch-casestudy /chain-routes-casestudy /nettracer-casestudy /nettracer-xr-casestudy /fish-maps-casestudy /campus-it-casestudy /alwaysup-casestudy /terrain-forge-casestudy /third-places-casestudy /sourcing-channels-casestudy /skills-hiring-casestudy /ramp-time-casestudy /internal-mobility-casestudy /tab-split-casestudy # Data studies /studies /linkedin-staffing-meetings /career-sprint /premium-career-search /premium-career-onboarding /small-business-market /ai-adoption-gap /consumer-ai-subscriptions /gen-z-wallet /digital-divide /price-of-belonging /duolingo-streaks /chegg-after-chatgpt /tiktok-stem-feed /handshake-and-linkedin /ai-and-student-learning /third-places /oura-and-whoop /protein-boom /campus-rec-and-gpa /enrollment-cliff /transfer-pipeline /graduation-gap /is-college-worth-it /hidden-cost-of-being-a-student /teaching-what-employers-need /future-of-online-education /untapped-adult-market /high-school-to-higher-ed ── THE SHORT VERSION ─────────────────────────────────────────────────────────────────────── 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. 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. 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. where it stands ....... Live and checked in the IWSDK emulator and a desktop browser. It still needs a pass on a real Quest. kind .................. Case study · Build role .................. Developer year .................. 2026 tools ................. Immersive Web SDK, Three.js, TypeScript, Vite, Vitest, Upstash Redis, Vercel 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. 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. ── WHAT IT DOES ─────────────────────────────────────────────────────────────────────── [01] # 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. # Captures from the IWSDK emulator and a desktop browser 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 ───────────────────────────────────────────────────────────────────── [02] # The engine came out of NetTracer first, untouched. # From NetTracer's engine to a live headset app 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 ─────────────────────────────────────────────────────────────────────── [03] # A browser can't scan your network, so your PC does. # How a home network reaches the headset 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 code .................. 6 characters from a 31-letter alphabet with no 0, O, 1, I or L scan lifetime ......... 15 minutes, then Redis deletes it sweep ................. the 254 addresses around the PC, 12 pings at a time pin ................... an 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 ────────────────────────────────────────────────────────────────────── [04] # Where a cable comes out decides how far the ping gets. # Frames before the lab ping from PC-A to the server ends every cable plugged in (reply arrives) 12 server unplugged (link down at r1) 7 router's lan cable out (arp timeout for the gateway) 7 pc-a unplugged (no network link) 1 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 dropped frames in 300 sampled on a desktop browser 0 mac prefixes in the bundled vendor table 11,711 ── WHERE IT SIMPLIFIES ──────────────────────────────────────────────────────────────── [05] # 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 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 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 Hidden devices on screen ......... Every device the scan found underneath ........ Only devices that answer ping or show up in the ARP table ── DECISIONS ────────────────────────────────────────────────────────────────────────── [06] # 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 ───────────────────────────────────────────────────────────────────────────── [07] # 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 ──────────────────────────────────────────────────────────────────── [08] # Live, with the code public and a headset test still to do. modes ................. 2 spatial panels ........ 6 unit tests ............ 37 frames in the lab ping, with nat out and back 12 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 ──────────────────────────────────────────────────────────────────────── [09] # 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 ────────────────────────────────────────────────────────────────────────────── [10] 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 12 .................. Frames in the lab ping, with NAT out and back 37 .................. Unit tests 15 .................. Minutes a shared scan lives 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. ── LINKS ─────────────────────────────────────────────────────────────────────────────────── open nettracer xr ..... nettracer-xr.andrewlengly.com code .................. github.com/AndrewLengLy/nettracer-xr nettracer, the 2d lab it grew from /nettracer-casestudy the developer side .... /machine/developer the design side ....... /machine/designer # end of /machine/nettracer-xr-casestudy. andrew.leng.ly@gmail.com · leave machine mode