The formation of continents with varied environments allowed for an explosion of biodiversity — and turbo-charged the evolution of mighty dinosaurs.