A JavaScript Rigid Body simulation.