4 ms·
It would be fun to see this with local daylight hours mapped to the squares, so I could get a feel for where my consumption is at within "daylight" vs the whole
by kipple 5y ago
It would be fun to see this with local daylight hours mapped to the squares, so I could get a feel for where my consumption is at within "daylight" vs the whole "day"
SunCalc is a good tool for this, if you're interested: https://github.com/mourner/suncalc https://github.com/mourner/suncalc
(I've used it on a personal project, and the API was a little awkward but the results are good: https://daylight.website/ https://daylight.website/)
- jmstfv 5y agoThat's interesting - didn't cross my mind! Thanks for the pointer. Btw, the website you linked doesn't work for me. I get the "Uncaught (in promise) TypeError: navigator.geolocation is undefined" on Firefox 98.0.2 on macOS 12.3.1
- aiden120000 5y agoYour privacy settings / extensions are blocking geolocation
- cableshaft 5y agoYour personal project is a pretty cool and interesting way to visualize daylight (especially using the fast forward button to go through a week at a time). Thanks for making it.
- kipple 5y agoThank you, I'm glad you enjoyed it. I love the week skip too, interesting to see the shape change over the year. Undocumented feature: if you hold down "w" or "shift+w" keys you can skip through weeks even faster.
- nsriv 5y agoI love your personal project! Would make an amazing smartwatch face!
- perilunar 5y agoThere's an Apple watch face called "solar dial" that's pretty similar, and I've seen others like this. To me this is the most logical watch face — everything else just confuses matters.
- kipple 5y agoOo, this does watch face does look nice https://www.hodinkee.com/articles/the-eerie-beauty-of-the-apple-watch-solar-face-and-the-anatomy-of-nightfall https://www.hodinkee.com/articles/the-eerie-beauty-of-the-ap...
- perilunar 5y agoFunnily enough I had that article already saved to pinboard! Love your app btw, I made a similar clock years ago but with just sunrise and sunset times. I've just updated it with suncalc.js to add twilight times also, so thanks.
- amelius 5y agoMost hackers are active outside of this time range.
- simonebrunozzi 5y agoAgreed, but still useful IMHO to get a sense of "where" you are in the day.
- shubhxms 5y agovery cool project!