Celestial geometry