/Stargaze

GPS + date + time into ecliptic coordinates, for stargazing apps

Primary LanguageObjective-C

Stargaze

these are the missing set of functions required to build stargazing apps on mobile devices

transform

input

your location on Earth, time, and day of year

#output

a rotation matrix that is your difference from the ecliptic plane (+Z orthogonal, +X RA0), and your compass orientation (+Z orthogonal to ground, +X compass north/true north)