Author of suncalc (the JS library behind the sun calculations) here — happy to see such a nice application of it! Heads up if the author's reading this — I recently released a major overhaul of the library that makes it a lot more precise: https://github.com/mourner/suncalc
what sorts of background texts/sources of info did you use?
edit: i think i have the dover book your readme mentions :)