Free clients that open a game from a link or a QR code and path-trace it on your device.
threert command line; updates itselfLooking for the build on this host…
Looking for the build on this host…
Looking for the build on this host…
Looking for the build on this host…
The client is a runtime, not one game. Like Expo Go for an app, it loads whatever project you point it at, and it loads it again every time you save.
threert devIt bundles your game on every save, serves it on your network and prints a QR code.
With ThreeRT on the iPhone. On the Mac that runs the dev server, ThreeRT for macOS opens the game by itself.
The same code is path-traced on the device. Save a change and every connected client reloads. The game’s logs print in your terminal.
$ threert dev ✓ built 3f2a9c1e · 412 KiB · 38 ms ThreeRT dev server · my-game Local http://127.0.0.1:8790 iPhone threert://192.168.1.23:8790 (scan with the ThreeRT app) Web http://192.168.1.23:8790/ (three.js, any browser) ✓ opened in ThreeRT for macOS editing game.ts — every save rebuilds and reloads every client
The code carries threert:// and the dev server’s address. This one holds the example address from the terminal output; yours has your machine’s.
A device the client cannot trace on, and every browser, opens the same game as three.js: the dev server and every published package serve that page next to the code. See it on the apps at threert.app.