A Swift library for calculating Sun, Moon and Earth positions, phases and other astrolonomical metrics and events.
This library is for research and recreational use only.
Due to atmospheric conditions, astronomical phenomena, the imperfections and inherent limitations to utilitized algorithms and our incomplete and evolving understanding of the known universe, calculated results may vary significantly from actual observed values.
Infinite gratitude to these libraries and countless other resources:
// Configure orrery for specific time and location
let orrery = Orrery(NSDate(), latitude: 21.18, longitude: -157.51);