Darwin and the cosmos