Scientists have used a synthetic universe to observe how the first galaxies evolved and grew.