A lightweight and simple 3D physics engine for the web.
Click on an image to show the corresponding example.
What is cannon.js?
Inspired by three.js and ammo.js, and driven by the fact that the web lacks a physics engine, here comes cannon.js.
- Lightweight, smaller file size than physics engine ports, such as ammo.js and JigLibJS.
- Uses an iterative Gauss-Seidel solver to solve constraints.
- Uses the SPOOK stepper.