I'm creating my own "Simulator", but it's not quite the same as this game. The point of this is to see gravity in action, while my simulator will be a little slower paced, and it'll have an overall "goal". One of the features I'm adding though, is randomly generating parts of a universe with galaxies, super clusters, ect.. What I noticed while playing with your game was you do a really good job at creating initial velocity with your newly spawned planets. I was wondering if you were willing to share how you do that? It works really well from what I can see, and that's the only part missing from my generation code.
Also, what is Universe Sandbox primarily written in?