# 3D Physics Engine

![elm-physics](https://raw.githubusercontent.com/w0rm/elm-physics/master/elm-physics.gif)

# Examples

* Boxes ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Boxes.elm), [demo](https://unsoundscapes.com/elm-physics/examples/boxes/))
* Randomize ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Randomize.elm), [demo](https://unsoundscapes.com/elm-physics/examples/randomize/))
* Dominoes ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Dominoes.elm), [demo](https://unsoundscapes.com/elm-physics/examples/dominoes/))
* Cloth ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Cloth.elm), [demo](https://unsoundscapes.com/elm-physics/examples/cloth/))
* Car ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Car.elm), [demo](https://unsoundscapes.com/elm-physics/examples/car/))
* Lack ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Lack.elm), [demo](https://unsoundscapes.com/elm-physics/examples/lack/))
* Duckling ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Duckling.elm), [demo](https://unsoundscapes.com/elm-physics/examples/duckling/))
* Raycast ([source](https://github.com/w0rm/elm-physics/tree/master/examples/Raycast.elm), [demo](https://unsoundscapes.com/elm-physics/examples/raycast/))

# Prior Work

This project has been started as a partial rewrite of [Cannon.js](https://github.com/schteppe/cannon.js) and [bullet](https://github.com/bulletphysics/bullet3).
