Code Libraries: Physics


Matter.js is a 2D rigid body physics engine for the web. It supports compound bodies, concave and convex hulls, physical properties, restitution, collisions, stable stacking, friction and resistance, constraints, sleeping bodies, etc.


A lightweight physics engine, written in CoffeeScript. It works with the canvas, the DOM and WebGL.


Chipmunk-js is a port of the Chipmunk Physics library to JavaScript. Chipmunk-js is a simple, lightweight, fast and portable 2D rigid body physics.


box2dweb is a physics engine ported from Box2dFlash which, itself, was a port of the original Box2D.


A modular, extendable, and easy-to-use physics engine for JavaScript. The simulation engine works with any type of visual representation: DOM, canvas, etc.