6 ms·
Very interesting, but sounds like an extra complication to use binary search on time to find the right position of the sun, when you can just directly calculate
by tcumulus 4mo ago
Very interesting, but sounds like an extra complication to use binary search on time to find the right position of the sun, when you can just directly calculate this, eg. using the formulas in here: https://gml.noaa.gov/grad/solcalc/solareqns.PDF https://gml.noaa.gov/grad/solcalc/solareqns.PDF