A 3D engine for the browser, and the games and tools that run on it.
driftengine.dev · source · npm · DriftScript
A 3D engine for the browser, in strict TypeScript, on WebGPU with a WebGL2 fallback.
The loop, the physics, the audio and the input ship with the renderer, and so do animation, Gaussian splats, networking and a scripting language for a game's rules. The same build also installs as a desktop or mobile application, so a product can ship in a tab and in a store without a second version of it to keep in step.
The simulation advances in fixed steps and the random sequence is frozen across versions, so the same inputs produce the same session on any machine, this year or next. Shared replays, verified times and spectating follow from that rather than being fitted afterwards.
It is open source under Apache-2.0 and published to npm. driftengine.dev has the manual, the API reference, every example running in its page and the release history, and the source is at drftrun/driftengine.
A strict, hot-reloadable language for behaviour that has to keep running.
It compiles to JavaScript modules, checks its effects, and keeps state alive across a reload, so a rule can change while the game runs. DriftEngine games keep their rules in it, and it fits any engine that ships without a language of its own. script.driftengine.dev has the guide and a playground, the source is at drftrun/driftscript, and the VS Code extension takes its diagnostics, completion and hover from the same compiler.
Three products on one runtime, and no two of them alike.
- Driftways · The world is reborn every morning. Run it before it's gone. A daily-seeded 3D movement game that lives in the browser, in early access now.
- BACKROOMS · An indoor survival game, lit entirely by what you carry and what you find.
- Drift Cut · Drop in a 3D model and a track. Drift Cut cuts a camera edit to the beat and exports it vertical, entirely in your browser.
DriftEngine and DriftScript are our public repositories. The games, Drift Cut, the sites, the design system they share and the Driftways backend are private.
Drift Technologies, Italy · info@driftengine.dev
The Sponza atrium is from the Intel Sample Library (Frank Meinl and Anton Kaplanyan, 2022), with the Sponza Addon Package Crew's packs. The other scenes are the engine's own demos.



