A free, open source, teeny weeny physics library for typescript. Mostly just some utilities for making games.
npm install propel-js
or
yarn add propel-js
When working with networked physics games it's useful to be able to seralize state to send across the wire. Other physics engines do this by providing a seralizer but doing this regularly can be expensive. propel-js aims to keep physics state in serializable structures with functions/resolvers outside of the data.
- Rectangles
- Circles
- Joints
- Compound Bodies
- Sensors
More added as time permits.
This was built to support physics in networked games on the Rune Platform
- This project started as a port and clean up of: https://github.com/xem/mini2Dphysics/tree/gh-pages
- Bjarke Felbo also contributed to the original source: https://github.com/bfelbo