matter-js: Detailed Overview & Metrics

v0.19.0(over 1 year ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are provided via a separate npm package: @types/matter-jsNumber of direct dependencies: 0Monthly npm downloads

Matter.js is a 2D physics engine for the web that enables developers to create interactive simulations and games with realistic physics effects. It provides a robust set of features for creating rigid bodies, constraints, and collision detection, making it ideal for implementing physics-based interactions in web applications. Matter.js offers high performance and flexibility, allowing developers to customize physics behaviors and create complex simulations with ease.

Compared to other physics engines like Box2D or p2.js, Matter.js stands out for its simplicity and ease of use, making it a popular choice for web developers looking to add physics simulations to their projects.

Alternatives:
p2+
planck-js+
cannon-es+
oimo+
ammo.js+
goblinphysics+
rapier+
physicsjs+
liqvid+
nape+

Tags: javascriptphysics2dsimulationgames