{"by":"dnlzro","descendants":160,"id":44846281,"kids":[44846565,44846473,44846687,44851449,44849432,44848420,44847185,44847262,44851280,44848019,44847270,44848960,44847832,44850409,44846651,44846629,44848247,44853778,44853088,44849207,44854308,44850935,44853886,44847523,44865382,44850473,44849244,44847765,44852607,44852458,44853712,44846865,44856347,44849835,44849900,44847608,44860837,44846454,44847095,44859666,44847137,44853643,44853359,44849236,44858766,44852611,44846708,44849740,44849694,44846504,44852576,44848438,44848049,44846819,44848873,44846527,44852624,44846521,44848783,44855375,44856526],"score":788,"text":"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.<p>Source code and additional information is available on GitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;dnlzro&#x2F;horizon\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;dnlzro&#x2F;horizon</a><p>[1] <a href=\"https:&#x2F;&#x2F;html.energy&#x2F;html-day&#x2F;2025&#x2F;index.html\" rel=\"nofollow\">https:&#x2F;&#x2F;html.energy&#x2F;html-day&#x2F;2025&#x2F;index.html</a>","time":1754745916,"title":"Show HN: The current sky at your approximate location, as a CSS gradient","type":"story","url":"https://sky.dlazaro.ca"}