alt.hn

2/25/2026 at 2:17:14 PM

Show HN: Clocksimulator.com – A minimalist, distraction-free analog clock

https://www.clocksimulator.com/

by user_timo

2/25/2026 at 10:43:55 PM

Really nicely done. I usually settle for

    xclock -analog -update 1 -norender -hl grey -fg grey -bg black
(You can put a `TZ="Wherever"` variable at the start for different timezones, and those that don't like the seconds ticking can pass e.g. 0.01 instead of 1 to the -update option).

Brits of a certain age will recall (and might appreciate) the clock faces available at https://625.uk.com/tv_logos/flash2.htm#clocks too.

by lozf

2/25/2026 at 3:18:05 PM

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!

by andai

2/25/2026 at 3:23:56 PM

That was very kind of you - both to want to solve her problem and to admit that your solution you put effort into wasn't the best one for her.

by jzellis

2/25/2026 at 3:30:54 PM

Thank you for sharing this.

by user_timo

2/25/2026 at 2:40:35 PM

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.

by elteto

2/25/2026 at 2:45:42 PM

Great feedback for the OP. I would also add, Can you make the text not selectable?

by AustinDev

2/25/2026 at 7:59:47 PM

Thanks for the feedback, its done.

by user_timo

2/25/2026 at 3:05:08 PM

You can now select timezone with URL parameters in IANA timezones: ?tz=America/New_York ?tz=Europe/London ?tz=Asia/Tokyo

by user_timo

2/25/2026 at 3:27:48 PM

Wonderful! Thanks for the quick turnaround.

by elteto

2/25/2026 at 5:55:06 PM

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:)

by user_timo

2/25/2026 at 3:42:16 PM

Clock now also moves very slowly in screen, in dark mode it can reduce screen burn.

by user_timo

2/25/2026 at 2:44:39 PM

Thank you! Very good idea, I look forward to implement URL timezone parameters to get it on different zones without it affecting to UI in any way.

by user_timo

2/25/2026 at 3:44:44 PM

Love how clean it looks.

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

by matthova

2/25/2026 at 3:46:52 PM

Wow that was a trip for my eyes, nice! Thank you for sharing.

by user_timo

2/25/2026 at 3:10:55 PM

Love the correct time in the favicon. Nice touch.

by signalmasse

2/25/2026 at 3:14:34 PM

You found it!

by user_timo

2/25/2026 at 4:50:08 PM

Nice job. Consider adding a option to turn on a "tick sound" as the second hand moves.

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

by vunderba

2/25/2026 at 4:52:38 PM

There is so many nice clocks. I didn't even know analog clocks are so popular!

by user_timo

2/25/2026 at 5:10:24 PM

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.

https://clocks.brianmoore.com

by vunderba

2/25/2026 at 8:57:03 PM

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.

by agentifysh

2/25/2026 at 2:50:48 PM

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

by sirbranedamuj

2/25/2026 at 3:05:49 PM

Added ticking and liked it so much its default mode :)

by user_timo

2/25/2026 at 3:11:38 PM

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?

by cbm-vic-20

2/25/2026 at 3:17:29 PM

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?

by maratc

2/25/2026 at 8:23:57 PM

because it's fun

by nekooooo

2/25/2026 at 3:15:43 PM

Here's a request to not have ticking :) Time is flowing constantly and seconds are a human invention.

by maratc

2/25/2026 at 5:31:38 PM

There is toggle on top left to choose between tick / sliding seconds.

by user_timo

2/25/2026 at 2:50:09 PM

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.

An example can be seen here: https://de.wikipedia.org/wiki/Bahnhofsuhr#Technik

by qwertfisch

2/25/2026 at 3:06:14 PM

I'm more of a fan of the smooth motion. Its mesmerizing.

by swader999

2/25/2026 at 4:10:52 PM

Same and also I consider it more accurate to sweep, but that's just me I guess, you hardly see it these days.

by swills

2/25/2026 at 3:18:38 PM

there is now toggle button to select either way.

by user_timo

2/25/2026 at 2:56:49 PM

Most mechanical watches unwind smoothly, ticks are typically due to a powered quartz crystal.

by frutiger

2/25/2026 at 2:53:47 PM

Thank you for the feedback. I see if I add toggle to select tick/sliding.

by user_timo

2/25/2026 at 3:20:51 PM

Excellent, maybe an addition for protection from display burn-in would be nice. I dont know. Congrats.

by dbacar

2/25/2026 at 3:24:27 PM

Burn-in is sure possible, I will look possibilities maybe move clock little bit etc. Thank you for you comment!

by user_timo

2/25/2026 at 4:28:16 PM

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!

by o_enix_o

2/25/2026 at 4:30:36 PM

Thank you! Good catch, I will look to fix it.

by user_timo

2/25/2026 at 2:49:12 PM

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.

by lioeters

2/25/2026 at 3:17:47 PM

I wanted this to be small and clean, open source and nothing to hide.

by user_timo

2/25/2026 at 3:12:27 PM

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)

by kipdotcom

2/25/2026 at 3:14:20 PM

Few toggles I approve on front page because of auto-hide. Good idea of /advanced for future things.

by user_timo

2/25/2026 at 3:58:08 PM

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.

https://utforsk.github.io/clockeroo/

by xeor

2/25/2026 at 4:01:20 PM

That was nice thing to do, did it help your kid to learn?

by user_timo

2/25/2026 at 4:26:25 PM

I laughed, but then I saw the l. Nice job though...

by lowlevel

2/25/2026 at 5:25:43 PM

Im happy if I got you smiling :)

by user_timo

2/25/2026 at 2:30:16 PM

Somehow related: https://en.wikipedia.org/wiki/Swiss_railway_clock

by Faaak

2/25/2026 at 2:36:12 PM

Want to carry that on your wrist, or hang to your wall?

You're covered (down to the stalling second in some models): https://mondaine.com/

by bayindirh

2/25/2026 at 2:31:54 PM

Clock took some inspiration of our kitchen clock.

by user_timo

2/25/2026 at 2:53:58 PM

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.

There is also a time announcement if needed.

https://uhr.ptb.de/

by qwertfisch

2/25/2026 at 3:53:29 PM

That looks nice!

by user_timo

2/25/2026 at 2:20:13 PM

Kudos. It really is clean. And the domain name is easy to remember.

If I use any analog clock simulator in the future, it will be yours.

by alcazar

2/25/2026 at 2:20:35 PM

Thank you :)

by user_timo

2/25/2026 at 2:35:50 PM

This looks really clean, excellent job!

by natpalmer1776

2/25/2026 at 2:39:20 PM

Thank you for the nice words :)

by user_timo

2/25/2026 at 4:01:11 PM

Pretty cool idea, i wish it had that nostalgic ticking sound of seconds.

by Implement7347

2/25/2026 at 2:21:18 PM

It takes current time from client browser and shows it. No adjustments or alarms.

by user_timo

2/25/2026 at 2:34:37 PM

Looks really neat. I used to use a very similar screensaver back in the day.

Kudos.

by bayindirh

2/25/2026 at 2:37:11 PM

Thank you! Yes back in the day we used to have all kind a clocks as timesavers.

by user_timo

2/25/2026 at 2:46:09 PM

Very smooth. Is the code open source?

by noman-land

2/25/2026 at 2:50:29 PM

Seems to be simple enough (just plain JS not minimified, and CSS), that you can just look at the source view-source:https://www.clocksimulator.com/

Good ol' days spirit

by Julien_r2

2/25/2026 at 2:47:38 PM

Thank you. Code can be viewed at https://github.com/timoheimonen/clocksimulator

by user_timo

2/25/2026 at 4:24:28 PM

Thanks! I was keen to find out how you prevented screen sleep and was interested to find out about wakeLock.

by noman-land

2/25/2026 at 3:10:08 PM

Very nice!!

by jannniii

2/25/2026 at 3:53:42 PM

Thank you :)

by user_timo

2/25/2026 at 5:06:05 PM

iframe support added, can be found under Info button.

by user_timo

2/25/2026 at 6:37:48 PM

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)

by insane_dreamer

2/25/2026 at 2:27:49 PM

Better than 90% of the slop that gets ladled into the front page, bravo. The world needs more Clock Simulator-like projects.

by jdauriemma

2/25/2026 at 2:29:19 PM

Thank you very much!

by user_timo

2/25/2026 at 3:00:41 PM

wow bro. how did you even come up with the idea. I also like the fact that there is a toggle that you can switch if you want screen on. pretty smart

by nikolas_sapa

2/25/2026 at 3:03:02 PM

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....

by user_timo