Circles, gravity and pairwise collisions on a 2D canvas, about 200 lines with no physics library.
Drag a chip and let go to throw it. Gravity at 0 turns the box into zero-g.