LD38: Marble Galaxy

I'm trying to work out how I will make a camera follow a ball when the ball rolls around a sphere. The current camera is broken, but I have some ideas. For now, here's a ball that rolled too fast and went into orbit.

http://i.imgur.com/KKAk0wa.gif