Hacker News new | ask | show | jobs
by frayesto 1623 days ago
This is relatively simple to create yourself.

There are closed form equations that can be used for the angular position of the sun, which will be more than accurate for this purpose.

Then it's mostly some simple trig to determine areas that have a line of sight to the sun.

I have this on my to-do list because in my bedroom on a full moon the light will come through one specific window onto our pillows. i wanted to automate either curtains or something to predict when it'll happen.

Maybe eventually I'll get around to something like this