Show HN: The current sky at your approximate location, as a CSS gradient (opens in a new tab)sky.dlazaro.ca
788 pointsFor HTML Day 2025 [1], I made a web service that displays the current sky at your approximate location as a CSS gradient. Colours are simulated on-demand using atmospheric absorption and scattering coefficients. Updates every minute, without the use of client-side JavaScript.
Source code and additional information is available on GitHub: https://github.com/dnlzro/horizon
[1] https://html.energy/html-day/2025/index.html
Comments (160) 61 threads
Show all comments
Showing thread 2 of 61
Oh, don't mind me, I'll just be over here in the corner laughing ruefully as my bones crumble to dust: back when I started, if you wanted a page to refresh on its own, this was the only way.
Beautiful work! A splendid example of formal minimalism at its best.
Continue this thread — 13 replies
https://www.oreilly.com/openbook/cgi/ch06_06.html