An experiment by Tom McCracken.






Link to GitHub repository containing source, demonstration/documentation (this page) and license for use.


About


The aim of this project is to develop a 2D particle based constrained dynamics physics engine for web based animation.

The dynamic behavior of different forms of matter can be approximated using various arrangements of particles, constraints and world boundaries. This includes the behavior of single particles, flexible bodies (eg string/rope, cloth, jelly), pseudo rigid bodies (to-do) and fluids (eg water). This pure particle based approach, where dynamic complexity emerges from carefully configured collections of simple elements, enables the physics engine to be relatively light weight.

Key features of the physics engine include the following:

The engine is not intended to be used for scientific simulation/analysis.

The physics engine, including this demonstration/documentation web page, is hosted on GitHub and licensed under the permissive open source Apache 2.0 License.


Usage


TBA.


Future


The following functionality may be implemented in the future: