/elm-physics-2d

A simple physics engine in Elm for games and simulations

Primary LanguageElm

elm-physics-2d

A simple physics engine in Elm for games and simulations.

Roadmap

Features

  • Draw polygons
  • Draw circles
  • Animate movement and rotation
  • Set velocity and apply forces
  • Friction and maximum velocity
  • Collision detection for circles
  • Collision detection for polygons
  • Collision detection for polygons & circles
  • Collision response (removal)
  • Collision response (custom)
  • Collision response (elastic)

Issues

  1. Incorrect translation between world units and screen units in example
  2. Lots of imports from elm-geometry and elm-units in example