suncalc
suncalc copied to clipboard
sun azimut / altitude as function of hour of day
I need to get the azimut and altitude angles not only at sunrise sunset but as a function over time.
In the source code, I di not see this feature.
How would I derive it
@roestigraben It sounds like you are looking for SunCalc.getPosition(timeAndDate, latitude, longitude)
, which returns an azimuth and altitude.
Thanks a lot!