# subprotocol/verlet-js

A simple Verlet physics engine written in javascript

Repository: https://github.com/subprotocol/verlet-js
Canonical: https://ross.abutalabs.com/products/verlet-js
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2019-10-18T18:50:44+00:00

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

## Adoption (not part of the score)
Stars 3792, forks 454 (observed 2026-08-28T04:08:18.811049+00:00)

## What it is
A simple 2D Verlet integration physics engine written in JavaScript, supporting particles, distance constraints, and angular constraints. It can be used to build cloth, trees, spiderwebs, and other constraint-based simulations in the browser.

## Use cases
- simulate cloth in the browser
- 2d physics for a javascript game
- verlet integration particle simulation
- build rope or spiderweb physics demos
- soft body physics in javascript

## When to choose
- you need a lightweight 2D physics engine based on Verlet integration
- you want constraint-based simulations like cloth or ropes in JavaScript
- you prefer a minimal library over a full physics suite

## When to avoid
- you need rigid body dynamics, collision detection, or 3D physics
- you need an actively maintained library with recent releases
- you need a full-featured engine like Box2D or Matter.js

## Facets
- artifact type: library
- maturity: maintenance
- function: simulation, graphics, animation
- domain: graphics, simulation, web-development
- platform: browser
- tags: verlet-integration, physics-engine, 2d-physics, particles, constraints, cloth-simulation, game-development, nodejs, javascript

## Member repositories
- subprotocol/verlet-js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.811049+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-29T18:27:03.989860+00:00, confidence not recorded.
  - readme: https://github.com/subprotocol/verlet-js (fetched 2026-08-28T04:08:18.811049+00:00, sha 240a8e3a5f80)
- Data as of 2026-08-30T08:39:29.467469+00:00.
