Torus gravity