A lightweight and simple 3D physics engine for the web.
Go to the documentation.
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 many ported physics engines.
- Uses an iterative Gauss-Seidel solver to solve constraints.
- Uses the SPOOK stepper.