Lurker News
For 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

Earlier comments
card_zero#
Useful, saves me looking at the thing.
fastasucan#
This might be a stupid question, but is it the background of https://html.energy/html-day/2025/index.html that shows the current sky? I am a bit confused since neither the post or the github repo says so outright.

Edit: I think its this link: https://sky.dlazaro.ca/ OP - put it in the HN post and first on your github repo! Good work.

kylegalbraith#
Tid bits like this are why HN is still the best corner of the internet most of the time.

This is really cool. I’ll probably see if I can make it my new tab background in Chromium.

yonatan8070#
Very cool, though I opened it at night so it's just black. Is there a way to adjust the time it renders to see what it would look like at different times?

Load more comments