2D Ruby-based physics engine