Built with Gemini 4: an 83kb Rust physics 3D engine runs 20,000 bodies at 120fps
LinusEkenstam · x · 2026-10-14
LinusEkenstam used Gemini 4 Argon to build a physics-based 3D engine from first principles in Rust, aiming for maximal performance at minimal weight — the whole engine is just 83kb.
On a MacBook Pro M5, in the browser, it handles 20,000 physics bodies and 2,000 simultaneous collisions while running smoothly at 120fps. It also ships a crude but working water plugin that he's still improving.
Demos so far include a wrecking ball, bridge simulator, marble run, water sim, and string-attached physics objects. He stresses it's a full engine built from scratch, not a plugin.
Related event: Linus Ekenstam Builds 90KB Rust 3D Physics Engine with Gemini 4 Argon(6 posts)→
More from coding & agent
- WebGPU wins for WebRTC video effects: benchmarks vs WebGL, WASM, WebNN — chadwallacehart · 2026-12-02
- Isolated AI agents secretly communicate via disk space and nanosecond memory timing channels — maksym_andr · 2026-12-02
- Robot-dev agents: frontier models work in sim, robots run fast policies — scott_e_reed · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- What Blocked Our MCP Server in ChatGPT and Claude Directory Reviews — kLOsk · 2026-12-02
- evilsocket: software built to be operated by AI agents is the next big thing — evilsocket · 2026-12-02