Very clean and polished! I love how smooth the seconds hand move.
I work in an environment where we look at the time across many different timezones around the world. A couple of feature requests if you are ever in the mood:
1. Make it possible to specify the timezone.
2. Make it possible to create a grid of clocks, each with different timezones.
3. Persist the grid/timezone state in the URL so links can be easily shared.
There is also iFrame support, you can easily now make own local html file with multiple clock on different timezones. Quick also to reload after reboot, since static local file to open. If you end up using this in work, I would love to hear more about it, because then my project would have someone using it:)
I like it. Simple, well-designed, smooth. It's nice everything fits in a single HTML page with no external dependencies. The inline style and script is human readable, which is becoming rare these days.
Can you set it to ticks instead of continuous running of the seconds clockhand That would be great. The vast majority of analog clocks have a ticking clockhand for the seconds, if any at all (can you make the seconds optional?).
The only clocks I know of with such a motor are station clocks, like the Swiss one mentioned already, or the German variant (same manufacturer). But these have a twist: the minute clockhand does not run continuously, but also ticks. The seconds are running a little bit faster until the clockhand is in the upper position, then waits for a signal from the main clock. Only then the minute clockhand jumps one minute and the seconds are starting again.
I appreciate the straightforwardness of this. If I could make one request, it would be to support more of a "tick" mode instead of the continuous second hand motion. It doesn't even have to actually make noises, I just like the visuals of the clock hand starting and stopping every second. I don't know if there's a more formal name for this in Clock World
If you're looking for more to add: ticking second hands have momentum. How about having the ticking hand go beyond the proper place by a degree, then snap back into proper position?
You're literally describing the worst thing about the quartz watches. The best of them (aka most expensive) go to really great lengths to not have any momentum. Why would you want to have it when not needed?
The PTB (national metrology institute of Germany) provides a similar clock for decades. It is one of the few displaying the real time, not your computer’s time. The difference (if any) can be shown.
Listened my wife talk about her job, she works as preschool teacher and she has talked about clocks etc. Well then I thought that I could do minimal web page with analog lock, SURE clocksimulator.com domain cannot be free....
May I suggest that we keep it as clean as it now, and maybe have something like the domain `/advanced` for those who want more features? (If OP has time to implement them)
I built a digital clock for my neighbor with Alzheimer a few years ago. It was a web app with an analog clock and it would show Morning / Afternoon / Evening / Night on the side.
I felt quite proud of myself, since she often got confused about whether it was 6am or 6pm on her analog clocks at home. (Alzheimer's can bring a loss of the sense of time.)
But while she thought it was a great idea, every time I came back, she had turned off the dedicated tablet we set up for the purpose
I ended up just buying her an Alzheimer's clock — a 24 hour clock with pictures indicating the time of day, for $15 or so. That one stayed where we put it!
This is something I vibecoded to learn my kid the clock. I think this is a very good use of ai coding, stuff that is for visualization and temporary learning.
Beautiful! One small thing on the iPhone using Safari; it would be nice to have the clock vertically centered. Now it’s near the bottom half of the screen. Looking great otherwise!
Right? If you want to see something pretty amusing, there was a fairly popular HN post a while back where a bunch of LLM models were continuously (every minute) asked to one-shot an analog clock.
Very nice. My only suggestion would be to slightly differentiate more the hour and minute hands (so that at a quick glance, someone, perhaps even a child) can immediately distinguish between them. (i.e., hour hand slightly shorter/fatter)
This is actually pretty cool. It's just a clock, nothing more, nothing less. Animations are smooth. I actually prefer these analogue clocks over digital as I seem to be able to plan ahead better with it.
alcazar | 8 hours ago
If I use any analog clock simulator in the future, it will be yours.
[OP] user_timo | 8 hours ago
[OP] user_timo | 8 hours ago
jdauriemma | 7 hours ago
[OP] user_timo | 7 hours ago
Faaak | 7 hours ago
[OP] user_timo | 7 hours ago
bayindirh | 7 hours ago
You're covered (down to the stalling second in some models): https://mondaine.com/
Daviey | 6 hours ago
bayindirh | 7 hours ago
Kudos.
[OP] user_timo | 7 hours ago
natpalmer1776 | 7 hours ago
[OP] user_timo | 7 hours ago
elteto | 7 hours ago
I work in an environment where we look at the time across many different timezones around the world. A couple of feature requests if you are ever in the mood:
[OP] user_timo | 7 hours ago
AustinDev | 7 hours ago
[OP] user_timo | 2 hours ago
[OP] user_timo | 7 hours ago
elteto | 6 hours ago
[OP] user_timo | 6 hours ago
[OP] user_timo | 4 hours ago
noman-land | 7 hours ago
[OP] user_timo | 7 hours ago
noman-land | 6 hours ago
Julien_r2 | 7 hours ago
Good ol' days spirit
lioeters | 7 hours ago
[OP] user_timo | 7 hours ago
qwertfisch | 7 hours ago
The only clocks I know of with such a motor are station clocks, like the Swiss one mentioned already, or the German variant (same manufacturer). But these have a twist: the minute clockhand does not run continuously, but also ticks. The seconds are running a little bit faster until the clockhand is in the upper position, then waits for a signal from the main clock. Only then the minute clockhand jumps one minute and the seconds are starting again.
An example can be seen here: https://de.wikipedia.org/wiki/Bahnhofsuhr#Technik
[OP] user_timo | 7 hours ago
frutiger | 7 hours ago
swader999 | 7 hours ago
[OP] user_timo | 7 hours ago
swills | 6 hours ago
sirbranedamuj | 7 hours ago
[OP] user_timo | 7 hours ago
cbm-vic-20 | 7 hours ago
maratc | 7 hours ago
nekooooo | 2 hours ago
maratc | 7 hours ago
[OP] user_timo | 4 hours ago
qwertfisch | 7 hours ago
There is also a time announcement if needed.
https://uhr.ptb.de/
[OP] user_timo | 6 hours ago
nikolas_sapa | 7 hours ago
[OP] user_timo | 7 hours ago
jannniii | 7 hours ago
[OP] user_timo | 6 hours ago
signalmasse | 7 hours ago
[OP] user_timo | 7 hours ago
kipdotcom | 7 hours ago
[OP] user_timo | 7 hours ago
andai | 7 hours ago
I felt quite proud of myself, since she often got confused about whether it was 6am or 6pm on her analog clocks at home. (Alzheimer's can bring a loss of the sense of time.)
But while she thought it was a great idea, every time I came back, she had turned off the dedicated tablet we set up for the purpose
I ended up just buying her an Alzheimer's clock — a 24 hour clock with pictures indicating the time of day, for $15 or so. That one stayed where we put it!
jzellis | 7 hours ago
[OP] user_timo | 6 hours ago
dbacar | 7 hours ago
[OP] user_timo | 7 hours ago
matthova | 6 hours ago
Related, I made a clock with a moire pattern (10 years ago now) and still love coming back to it.
The hands all spin with css transitions and I remember there was a Safari bug where if I zoomed in, the rotation would reset itself
https://psychedelic-clock.surge.sh
[OP] user_timo | 6 hours ago
xeor | 6 hours ago
https://utforsk.github.io/clockeroo/
[OP] user_timo | 6 hours ago
Implement7347 | 6 hours ago
lowlevel | 5 hours ago
[OP] user_timo | 5 hours ago
o_enix_o | 5 hours ago
[OP] user_timo | 5 hours ago
vunderba | 5 hours ago
Also maybe see if you can get yours linked to clockfaceonline.co.uk
They have a bunch of analog clock visualizations. I particularly like the magical themed one:
https://www.clockfaceonline.co.uk/clocks/magical
https://www.clockfaceonline.co.uk/analogue-clocks.php
[OP] user_timo | 5 hours ago
vunderba | 5 hours ago
https://clocks.brianmoore.com
[OP] user_timo | 5 hours ago
insane_dreamer | 3 hours ago
agentifysh | an hour ago