Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Update getSunPos to use a standard time_t | Dan Goodliffe | 2024-09-19 |
| | |||
* | Add new mathematical constants to lib | Dan Goodliffe | 2024-09-19 |
| | |||
* | Initial commit of code for calculating sun position | Dan Goodliffe | 2024-09-18 |
Given the longitude and latitude, and a time into 2024, calculate the relative sun position suitable for providing lighting angles. Based on code from https://www.psa.es/ Loosely checked against https://www.pveducation.org/ and its close, working on faith really, but the numbers look plausible. Could do with a tidy up! |