See the Youtube video for a recent simulation of the formation of the Moon. Video made at NASA Ames Research Center.