How did the solar system form? A rotating gas cloud collapsed, leading to planets in circular orbits around a star. However, computer simulations show that the outcome could have been very different from the solar system we know.