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
gdubs#
Well, that's delightful. Works really well here in the Pacific Northwest :)
mcintyre1994#
This is really cool! And from skimming your code, TIL about Math.hypot!
jama211#
Ok this is incredible, it was exactly right, I did a double take!
cwmoore#
I like this, but I’m newly concerned about the unitary horizon.

Load more comments