Fixed timesteps
The world advances in whole ticks of a constant dt. No variable-step drift, no spiral of death: an accumulator drains time in fixed slices and the renderer interpolates the remainder.
2D physics · v0.9
flint is a small, dependency-free 2D rigid-body module for game engines. It runs on a single fixed timestep with integer-anchored math, so the same inputs produce the same bytes on every machine — the foundation for lockstep multiplayer and frame-perfect rollback.
The world advances in whole ticks of a constant dt. No variable-step drift, no spiral of death: an accumulator drains time in fixed slices and the renderer interpolates the remainder.
Narrowphase returns a compact contact manifold — points, normal, depth — that the sequential-impulse solver warm-starts each frame. Stacks settle; jitter stays bounded.
Integer-anchored math and a strict iteration order make every step reproducible. Snapshot the world, restore it, re-simulate — the bytes match, so lockstep netcode and replays just work.
Type to search — arrows to move, Enter to open.