A simple Verlet (pronounced 'ver-ley') physics engine written in javascript.
Particles, distance constraints, and angular constraints are all supported by verlet-js. From these primitives it is possible to construct just about anything you can imagine.
You may use verlet-js under the terms of the MIT License (See LICENSE).
- Shapes (verlet-js Hello world)
- Fractal Trees
- Cloth
- Spiderweb
- js/verlet-js/vec2.js: 2d vector implementation
- js/verlet-js/constraint.js: constraint code
- js/verlet-js/verlet.js: verlet-js engine
- js/verlet-js/objects.js: shapes and objects (triangles, circles, tires..)