Matter.js
A 2D rigid body physics engine for the web
...Through modules such as Matter.Body, Matter.Composite, and Matter.Constraint, developers can create complex scenes with multiple bodies, jointed structures, and collision responses. Matter.js is popular in the web development community due to its simplicity, extensibility, and rich documentation, allowing both beginners and experienced programmers to leverage physics without deep expertise.