This is a simple physics engine for simulating frictionless circles colliding. I hope to keep the user interface nice and simple. This is currently a work-in-progress.
GNU Make is required for building the library. Currently, only the shared library is buildable. Furthermore, as of now, it cannot be built for Windows. However, Mac OS, Linux, and WebAssembly are supported. To build the library:
make shared
Or, for WebAssembly:
make shared target=wasm
The Emscripten toolkit, specifically emcc, is required to build the WebAssembly version.
The documentation requires awk (not necessarily gawk) to build, and should be buildable on any system satisfying this dependency. To build the documentation, run:
make docs.md
- Perfectly elastic collisions
- Toroidal universe
- Entity resource management
- Friction with the surface
- Partially elastic collisions
- Walled universe
- Bindings to other languages
- Friction between circles?
- Move geometric data to separate shared structures?