First came the darkening skies, then the crescent-shaped shadows on the ground, and finally an eruption of cheers by crowds that gathered Saturday along the narrow path of a rare “ring of fire” eclipse of the sun.

It was a spectacular show for millions of people across the Americas as the moon moved into place and blocked out all but a brilliant circle of the sun’s outer edge.

Hundreds of people filed into the planetarium in the Caribbean resort city of Cancún to watch the eclipse. Some peered through box projectors, while others looked through telescopes and special glasses.

Excited children whistled, as some adults raised their arms toward the sky as if to welcome the eclipse.