← Packages/arcade-physics

arcade-physics

v0.1.0

Arcade physics: fixed-step simulation, kinematics, the libm replay seam and gesture measurement. Pure.

$ forge add arcade-physicsDocs

arcade-physics

The physics half of the arcade engine for March: a fixed-step simulation loop, kinematics, the libm replay seam and pointer-gesture measurement. Every fn is pure. Modules live under lib/arcade/physics/ as Arcade.Physics.*; the engine's README lists them.

[deps]
arcade = "0.1.0"
arcade-physics = "0.1.0"

Physics that must replay bit for bit on native and JS takes its sines from Arcade.Physics.Trig, where a recorded table can stand in for libm (V8 and the native libm differ by an ulp on a few percent of arguments).

Downloads1total
0this week
Details
Published bybob
UpdatedNov 11, 2026
Documentationv0.1.0 docs