Show HN: TypeGPU Realtime Physics Sandbox
TypeGPU Realtime Physics Sandbox launches with PBF fluid simulation, Eulerian smoke, and multi-source light simulation running in the browser.
TypeGPU Realtime Physics Sandbox, a browser-based demo built on the TypeGPU library, launched on August 30, 2026, per a Hacker News Show HN post by author theRealestAEP. The sandbox runs realtime position-based fluid (PBF) simulation, Eulerian smoke, and multi-source light simulation entirely in the browser, accessible at typegpu-sandbox.pages.dev.
According to the HN post, the project was inspired by Konrad Reczko's work on depth-aware light injection in TypeGPU. The light simulation can operate on static photos, videos, and live webcam feeds, making the sandbox interactive with real-world imagery rather than purely synthetic scenes.
A notable feature described in the HN post is the use of depth map surface normals to infer scene gravity. This means that when a tilted or angled scene is detected, the fluid simulation adjusts its directional behavior to match the implied physical orientation of the environment — a technique intended to make fluid motion appear accurate across varied inputs.
The sandbox also includes hand tracking and a work-in-progress cup interior detection system, per the HN post. The cup detection is designed so that containers appearing in live video can be virtually "filled" with simulated fluid, bridging the physics simulation with real-time video understanding. The author notes this feature is still in development.
TypeGPU is a library aimed at making GPU compute more accessible through TypeScript-style tooling. No company affiliation, founding date, or prior funding details were provided in the source material. The sandbox appears to be a demonstration project showcasing TypeGPU's capabilities for real-time physics and visual effects rather than a commercial product launch. No forward-looking plans, team details, or expansion notes were included in the source.
No comments yet — start the thread.