Matter.js
A 2D rigid body physics engine for the web
Matter.js is a flexible 2D rigid body physics engine written in JavaScript, designed for use in web applications to simulate real-world physical interactions within the browser. It offers a comprehensive set of physics features like gravity, collisions, restitution (bounces), friction, sleeping bodies, and constraint systems that enable developers to build interacting objects with realistic motion. This engine can power everything from dynamic interactive animations and educational...