Show HN: The current sky at your approximate location, as a CSS gradient
61–70 of 171 posts
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#62But it looked very cool earlier today when it matched!
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#63Opened this up and sat there for a good 20 seconds waiting for something to happen... only to remember it's midnight here.
Maybe someone smarter than me could add stars to the night sky, so it's not just black.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#64Re: Show HN: The current sky at your approximate location, as a CSS gradient
#65@dlazaro, I believe that style={{backgroundColor: bottom}} is not needed in: is not needed.
I actually included that so the tab and status bars are themed on iOS/Safari. Here's someone else's writeup on that: https://medium.com/@evkirkiles/coloring-the-webkit-browser-b...
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#66Re: Show HN: The current sky at your approximate location, as a CSS gradient
#67Re: Show HN: The current sky at your approximate location, as a CSS gradient
#68Works in Hawaii.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#6921pm in The Netherlands, the sky is a clear blue down to a baby pink right now, however the app shows a black to dark red. Other people are saying it matches exactly for their location so maybe there's some sort of bug?
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#70Earlier quoted context omitted.
Maybe someone smarter than me could add stars to the night sky, so it's not just black.
I was just thinking about how to slice up a star map projection, and apply it as an overlay. I don’t do such things often enough to do it quickly, although I can imagine how it could be achieved. I’d imagine someone working in game dev probably could whip up a mechanism for applying coordinates to a star map fairly quickly, but realizing it in pure CSS would probably require exporting all the slices to a folder as SV…