Hacker News new | past | comments | ask | show | jobs | submit | moctarhaiz's comments login

Great idea. I'm wondering how dis you computed the sun postion in every area of the eath ?


Back in the 1980s when doing this we used a Naval Almanac - the US Navy navigation | star position formulas and data are all open source (as products of the US Government).

These days you can tease similar information from Celestia, Stellarium, and other astro projects.

Sun angle wrt a smooth perfect ellipsoid is one thing .. actual sun angle + shadows in the presence of mountains, valleys, forests, tall buildings, etc is a whole other ball of fun.


No idea how OP did it, but libraries like astropy make it very easy: https://docs.astropy.org/en/stable/generated/examples/coordi...


Calculation based on azimuth of bus and sun considering change in time and movement of bus.


This is a very nice idea


Thanks!


a notion-style personal note taking site

https://haizly.com


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: