# slembcke/Chipmunk2D

A fast and lightweight 2D game physics library.

Repository: https://github.com/slembcke/Chipmunk2D
Canonical: https://ross.abutalabs.com/products/chipmunk2d
Homepage: http://chipmunk2d.net
Language: C
License: MIT
License Family: permissive
Topics: c, 2d, 2d-physics, rigid-body
Last push: 2026-05-05T18:45:27+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 35, longevity 100
- inputs: {"age_days": 5532, "days_push": 120, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2402, forks 362 (observed 2026-08-28T04:06:43.869163+00:00)

## What it is
Chipmunk2D is a fast, lightweight 2D rigid body physics library written in C99 with no external dependencies. It provides collision detection, impulse solving, joints, raycasting queries, and collision callbacks designed specifically for 2D video games.

## Use cases
- add physics to a 2d game
- simulate rigid bodies with collisions
- implement ragdolls and vehicles with joints
- raycast and shape queries in a 2d world
- build one-way platforms and buoyancy zones
- embed a lightweight physics engine in a C or C++ project

## When to choose
- you need a fast, dependency-free 2D physics engine in C
- you are building a 2D game and want mature, MIT-licensed physics
- you need language bindings, as many exist for Chipmunk2D

## When to avoid
- you need 3D physics simulation
- you prefer a batteries-included game engine rather than a physics library
- you need GPU-accelerated or heavily multithreaded physics beyond its built-in multithreaded solver

## Facets
- artifact type: library
- maturity: stable
- function: simulation, graphics, game-engine
- domain: simulation, cross-platform
- platform: cross-platform, cpp, c
- tags: 2d-physics, rigid-body, collision-detection, c99, game-physics, mit-license, game-development

## Member repositories
- slembcke/Chipmunk2D (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.869163+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-30T02:34:14.125685+00:00, confidence not recorded.
  - readme: https://github.com/slembcke/Chipmunk2D (fetched 2026-08-28T04:06:43.869163+00:00, sha 187c3ea4be08)
  - homepage: http://chipmunk2d.net (fetched 2026-08-29T10:14:41.988594+00:00, sha ec43132d0eac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
