Introducing Horizon, a web service that draws the current sky color using CSS gradients



Software developer

Daniel Lazaro has released a web service called ' Horizon ' that uses CSS gradients to display the sky color of your current location in real time.

Horizon
https://sky.dlazaro.ca/

GitHub - dnlzro/horizon: The current sky at your approximate location, rendered as a CSS gradient
https://github.com/dnlzro/horizon

Horizon simulates sky color on demand using atmospheric absorption and scattering coefficients, and is updated every minute using CSS without using client-side JavaScript.

For example, the sky looks like this around 1pm.



Around 5:30 p.m., you can see that it is gradually getting darker above.



Horizon has also been a hot topic on the social news site Hacker News.

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

https://news.ycombinator.com/item?id=44846281

One user showed off a shortcut that lets you set the sky color drawn in Horizon as your iOS wallpaper.

Wallpaper real sky
https://www.icloud.com/shortcuts/c8ba254a0272453cbe39357b144d0fa3

When you open the link above on an iOS device such as an iPhone, the following screen will appear. Tap 'Add Shortcut.'



Tap 'Wallpaper real sky' from the shortcuts app.



Tap 'Allow.'



Tap 'Allow' again.



The iPhone wallpaper now changes to the sky color drawn in Horizon.



in Review,   Web Service, Posted by log1h_ik