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
chrz#
Fully black web page for me here. Well its correct
ComputerGuru#
Ahhh you’re not taking light pollution into account!
mlhpdx1 reply#
Which direction am I looking? Deeper blue to the north.
dnlzro#
It's always facing the sun (although it doesn't include the sun itself).
verelo#
Feels like this would be great for fake skylights…

Load more comments