Triton is a Python library for doing rigid body dynamics in 2D.