Life rebounded in a riot of evolution during the Triassic Period. Perhaps no time since the Cambrian had seen such swift shifts in animal diversity, including the first appearance of frogs, turtles, and mammals, plus flying pterosaurs and land-dwelling dinosaurs. Nearly all main groups of living terrestrial tetrapods evolved in this period. Reptiles—minor players in the Permian—now were the most numerous kinds of new large animals, and they lived on land and in the water and sky, rapidly diversifying into new habitats and roles in a Triassic world without polar ice caps, where most places were hot and dry or warm and wet. By the Late Triassic, dinosaurs were still a reptilian minority, but some had already grown quite big.