schteppe/cannon.js
A lightweight 3D physics engine written in JavaScript. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5355
- days_rel: n/a
- days_push: 1125
- n_releases_24m: 0
Adoption not part of the score
4995 stars · 740 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
cannon.js is a lightweight 3D rigid body physics engine written in JavaScript for the web. It provides collision detection, friction, restitution, constraints, and a Gauss-Seidel constraint solver, usable in browsers or Node.js.
Use cases
- add physics to a three.js 3D scene
- simulate falling spheres and rigid bodies in the browser
- build a simple 3D game with gravity and collisions
- create hinge or ball-socket joints between bodies
- run a physics simulation headlessly in Node.js
When to choose
- you need a small, pure-JavaScript physics engine with no native dependencies
- you are building browser-based 3D games or visualizations with three.js
- you need basic rigid body dynamics, constraints, and collision detection
When to avoid
- you need high-performance or highly accurate physics for large scenes (consider ammo.js or Rapier)
- you need soft body or advanced fluid simulation
- you need a project under very active development
Facets
library · maturity maintenance
simulation graphics game-engine graphics web-development simulation browser cross-platform physics-engine rigid-body-dynamics collision-detection 3d web game-development nodejs javascript
1 source
- readme: https://github.com/schteppe/cannon.js · fetched 2026-08-28 · a833973f0e8c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| schteppe/cannon.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="schteppe/cannon.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem