Just finished first version, enjoy your 70s/80s fix with
https://perpetual.day
Let me know any bugs you find! :)
Just finished first version, enjoy your 70s/80s fix with
https://perpetual.day
Let me know any bugs you find! :)
Actually just found one that shows the wrong hour, fixing...
@pikesley @thomasfuchs Same here in Gouda.
@thomasfuchs this is very beautiful, it's an hour fast though (I'm in London)
Btw used no CSS or JavaScript frameworks.
It's just a few lines of vanilla JavaScript and some CSS. You can check out the source code here:
https://github.com/madrobby/plastic-clock/blob/main/index.html
P.S. It also has a 70s design version with a flip clock, just switch to "Plastic" in the menu on the top right.
@eazy Yeah that was one of the use cases I'm envisioning. Gotta make a full-screen version (not sure if mobile Safari supports that, gotta research).
@thomasfuchs Need to find my old iPad... Would make a great clock in the kitchen.
@emmah Yeah, options are coming. Will be stored in localStorage and honored, plus I'll add them to the URL in v1.1. :)
@thomasfuchs I adore this. I'd love a parameter I can pass to the URL to turn off some features like the clock if I want to use it to feed an eInk display.
And fuck yeah no frameworks!
@emmah also more themes, I want to make a Retrocomputing one
The code consists of a few helper methods, reading/setting the theme from localStorage, generating the 1-31 days elements and updating the calendar and clock once a second. It's also using requestAnimationFrame to not be a battery drain when the tab is not visible.
Added that you can save to homescreen on mobile and it shows full-screen.
It's a bit clunky right now but I'll iron out the kinks soon.
@elithebearded thanks, will tweak stuff :)
@thomasfuchs
There is no (readable) time in Memphis (small screen edition). The six day week calendar view is odd, but I see on wider displays it goes higher than seven so just luck
@pikesley nice!! Yeah I want to add some more themes and variations
@thomasfuchs I built a text-clock thing a while ago https://sam.pikesley.org/projects/jlock/ and we have it running on an old HP monitor. I've just run this up on it and it's really quite a thing
@pikesley def coming
@thomasfuchs I think I saw this mentioned in the thread somewhere, but configuration via query-string would be ? ?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.