logoalt Hacker News

Show HN: The current sky at your approximate location, as a CSS gradient

764 pointsby dlazarolast Saturday at 1:25 PM159 commentsview on HN

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

nnnnicolast Saturday at 1:58 PM

incredible <3 not much else to say

sheerunlast Saturday at 5:36 PM

Bit darker blues, please!

michelreijlast Saturday at 4:51 PM

Beautiful, thank you!

i_love_retroslast Saturday at 2:37 PM

Curious why a celebration of HTML needed a full stack javascript framework?

show 3 replies
natewwwlast Sunday at 3:49 AM

that is really cool, thanks for sharing

therealfionalast Saturday at 6:28 PM

Works in Hawaii.

show 1 reply
hoppplast Saturday at 2:02 PM

Seems to work :)

siva7last Saturday at 2:01 PM

how i missed this small hn posts. thanks

skyzouwdevlast Sunday at 2:21 PM

[dead]

aqua_worm_holelast Sunday at 5:02 PM

[dead]