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

Show all comments

Showing thread 6 of 61

mourner2 replies#
Author of Suncalc here — this is exactly the kind of stuff I love to see my code being used in, thanks for sharing!
sheerun1 reply#
Author or contributor? Great work, by the way, I love such shows
gregsadetsky1 reply#
Hey, small note that your excellent https://suncalc.net/ is showing an error due to the Google Maps API token having expired.

I know that you deeply know map tech :-) but if I may make a suggestion - you might consider switching from Google Maps to Protomaps? https://github.com/protomaps/protomaps-leaflet
Cheers

mourner#
Yeah, I think I last updated that website even before I released the first version of Leaflet. Life is very hectic at the moment, but I do really want to get to it sooner than later and modernize everything.