An attempt at a position-based physics engine, along with a few helpers.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
src
README.markdown

README.markdown

Zap and Thwap

Zap is a series of utilities, such as DOM drawing and an accurate, self-correcting game loop.

Thwap is a position-based physics engine, that allows for circle-circle and circle-line (constraint) collisions.

HSHG stands for Hierarchical Spacial Hash Grid, which is an implementation of a spatial hashing technique that is can be used on an infinitely large area. It does not require bounds to be set like other methods, such as quadtrees.