Physics engine V1.0

A simple physics engine, with 5 different built-in examples. It is made with vanilla javascript. The rotational collision is not perfect. The engine supports multi-shape bodies, collision layers, and a distance constrain class is implemented.

Switch examples with the buttons in the bottom left corner.

Controls:

  • Mouse left: move the ball

Controls in example 05:

  • Mouse left: start placement / end placement
  • Mouse right: delete node
  • Up arrow: Pin / unpin node

Development log

Leave a comment

Log in with itch.io to leave a comment.