# pmndrs/use-cannon

👋💣 physics based hooks for @react-three/fiber

Repository: https://github.com/pmndrs/use-cannon
Canonical: https://ross.abutalabs.com/products/use-cannon
Homepage: https://cannon.pmnd.rs
Language: TypeScript
License Family: other
Topics: cannon-js, reactjs, physics, react
Last push: 2024-02-25T02:30:15+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2374, "days_push": 921, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2959, forks 168 (observed 2026-08-28T04:07:32.279077+00:00)

## What it is
A monorepo providing React hooks for the cannon-es physics engine, designed for use with react-three-fiber. Physics simulation runs in web workers to keep the main thread responsive.

## Use cases
- add physics to react-three-fiber 3d scenes
- simulate rigid body collisions in react
- build 3d games with react and physics
- run physics simulation off the main thread in a web worker
- create interactive 3d demos with gravity and forces

## When to choose
- you're building 3d scenes with react-three-fiber and need physics
- you want declarative, hook-based physics in react
- you need physics running in a web worker for performance

## When to avoid
- you're not using react or react-three-fiber
- you need a full-featured physics engine with soft bodies or vehicles beyond cannon-es capabilities
- you need a license-clarified dependency for enterprise use

## Facets
- artifact type: library
- maturity: active
- function: game-engine, simulation, animation
- domain: graphics, web-development, frontend
- platform: browser
- tags: react-three-fiber, physics-engine, cannon-es, web-workers, react-hooks, 3d, game-development, nodejs, web-server

## Member repositories
- pmndrs/use-cannon (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.279077+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:11.222022+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/use-cannon (fetched 2026-08-28T04:07:32.279077+00:00, sha 5b435aceb18c)
  - homepage: https://cannon.pmnd.rs (fetched 2026-08-29T09:47:51.972772+00:00, sha 4564df8e5f31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
