Comment

Comment by froggerexpert

Very cool. What program is that?

It'd also be nice if the colour was not just day/night, but the actual predicted daylight at the time of day, which would result in a continuously changing colour.

I guess at that point, the sine approximation from OP would no longer apply, and https://en.m.wikipedia.org/wiki/Sunrise_equation would have to be used.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton