—
—
0 fps
0 bodies
0 awake
0 steps/s
0.0 ms/step
Tiny. Dependency-free. TypeScript-first. Built to out-run the competition — with cross-platform deterministic multiplayer on the roadmap.
import { World, Bodies } from 'fast2d';
const world = new World({ gravity: [0, 9.81] });
world.add(Bodies.circle({ position: [0, 0], radius: 0.5 }));
world.update(1 / 60); // fixed-step, deterministic-friendly
—