talira

Compare

Matter.jsBox2D
What it is2D rigid body physics engine for the web in JavaScript, with collisions, constraints and a canvas renderer2D physics engine for games, written in portable C
KindOpen sourceOpen source
Trust0.490.59
Stars1870310523
Last commit2026-09-302026-11-25
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
Company—Erin Catto
Features
  • rigid, compound and composite bodies
  • concave and convex hulls
  • collisions with broad, mid and narrow phases
  • constraints, friction, restitution and gravity
  • raycasting and region queries
  • sleeping and static bodies
  • time scaling
  • canvas renderer
  • All 10 features
  • Continuous collision detection for convex polygons, capsules, circles, segments and chains
  • Soft Step rigid body solver with island-based sleep
  • Revolute, prismatic, distance, motor, weld and wheel joints with limits, motors and springs
  • Character movers with a robust plane solver
  • Multithreading, SIMD and optional double precision for large worlds
  • Cross-platform determinism, snapshots and recording and replay