How a Mechanical Watch Keeps Time (Interactive 3D)

(martincmartin.github.io)

86 points | by martincmartin 2 days ago

9 comments

  • dgrcode 2 hours ago
    • martincmartin 1 hour ago
      Author here. It was partially inspired by that, as mentioned in the second paragraph. When I first read that, I was confused at a few points. For example, Bartosz starts with the mainspring and in the last diagram of the Power section says "the hand spins way too fast." My first thought was "well you could adjust the tension in the mainspring somehow to make it slower!" So I wanted to start with the hairspring, and explain how it keeps time so accurately, it was actually a pivotal invention in the history of horology (watch making).

      I also wanted something that would focus on the basics for an audience who had never seen this stuff before. The Bartosz page is great, but it goes into a lot of detail on all sort of stuff that can be kind of overwhelming on a first reading.

    • NichoPaolucci 45 minutes ago
      I'm glad someone linked this. I hate to make assumptions, but TFA feels like a shallow version of the same thing, written with Claude or something...

      The post from Bartosz Ciechanowski is a master-class, the first time I interacted with it I was enthralled for almost an hour. I don't know that I would even TRY to create a similar post.

      Feels important to mention that there's an elite version of this somewhere in the post...

    • anygivnthursday 2 hours ago
      Thank you for sharing, this is so much better and less artificial
      • martincmartin 1 hour ago
        Author here, what makes you think my page is more artificial? It was originally designed as a quick slide presentation, but my style is very minimal words on the screen, I find they distract from the speaker. So I wanted to publish a version with the images from the slides plus text to explain them. If you think of it that way, it may explain choices such as the minimal color palette and thick lines. They're designed to work in a bar with bad lighting, and also for red-green color blind people, those ended up being a significant constraint on how much colors had to differ.

        Still, I'm happy with how it turned out.

        Or was there something else that made it seem artificial?

        • jjbinx007 1 hour ago
          Just out of interest, did you use Claude to help write the text? Some of it triggered my AI-dar but it might have been a false positive.
          • martincmartin 1 hour ago
            Claude wrote the first version of the text from my notes, but it wasn't in my voice, and it emphasized all the wrong things and left out important stuff, so I rewrote it all. A few phrases and wordings probably slipped through. What in particular triggered your AI-dar? TBH, I was kind of worried that would happen, and kept re-reading things and thinking "would I really say that?" But I'm confident everything in there is something I would say, in a way I would say it, even if it wouldn't be my first choice of wording.
            • NamTaf 9 minutes ago
              It felt too much by the time I hit the hairspring section, to the point where I came back here to see whether it was just me.

              Start with the part that keeps time.

              This one move is the whole idea of the hairspring.

              Mass at the rim counts most

            • nuancebydefault 41 minutes ago
              I think you are getting too much negativity. I found 2 things pointing to AI

              All sentences seem to be forced (prompted?) to be short.

              "The board’s rest shape is a straight line; the hairspring’s is a spiral." : especially the technically correct, but still weird reference to "rest shape"

              • martincmartin 27 minutes ago
                Short sentences and plain language are my style, I'm kind of allergic to business speak, using long, impressive sounding words when short, common ones will do, or inserting extra words to sound more official. Like the George Carlin sketch about airline announcements. [1]

                When I was a teaching assistant, I remember a student saying "Our professor must be really smart, I don't understand anything he says, but I understand you!"

                I find AI generated text to be verbose. It's interesting that, when people see a style that's consistently different than that, they assume it's an AI which has been prompted to not sound like an AI.

                The semicolon is probably a left over Claude-ism I should have gotten rid of, but "The board's rest shape is a straight line, while the hairspring's is a spiral" sounds like something I'd say.

                [1] https://www.youtube.com/watch?v=G1kK-_o_-tY

            • twijg 37 minutes ago
              [dead]
    • o4c 1 hour ago
      He is an artisan, and I'm curious why Ciechanowski isn't making any new posts?
      • uptrails 33 minutes ago
        He's at OpenAI, so in a funny way, he's now enabling people to effortlessly make knockoff versions of his old content (such as this website).
    • evannotfound 1 hour ago
      Thank you. This is so much more detailed and feels more human than AI-generated slop.
      • martincmartin 1 hour ago
        Author here. I agree, I love Bartosz's page and it is much more detailed, in fact I found it kind of overwhelming and getting lost in the weeds when I first read it, so created this partly as an introduction or primer for it. Think of this as 101, and Bartosz as a full reference.

        Full disclosure, I did use AI to help create this, but it's about as far from slop as possible. I created the outline for the talk and the topic of each slide before engaging AI, and would fix some code by hand, although I'm a systems programmer and not front end, so it mostly handled that.

        Fun story: the second script it made, to generate the watch model (at the time it was an SVG, I later decided to convert it to WebGL), it kept the data in a dict, e.g.

          TEETH = {"center": 46,
                   "third": 38,
                   ...
                   }
        
        And another dict for radius, another dict for center location, etc. I was blown away, I hadn't seen code that bad since I programed in BASIC in the '80s. You don't even need Object Oriented programming, you just need structs, I started gathering everything together in one struct when I first learned C in the 1990s.

        I asked it why it did that, and it said "Oh I followed the style of your other script" which was a throw away script for an experiment. I have no idea where it learned this style, maybe lots of throw away code in its training data, or code written more by scientists/mathematicians rather than software engineers? I'm genuinely at a loss. So I created my first coding agent skill, a Python code quality skill, that starts with "if you're using dict literals with string literal keys, consider a dataclass or class instead."

        It did write the first draft of the text from my notes, but none of it was in my voice, and it emphasized all the wrong things so I rewrote it all. I'm sure an AI phrase or two slipped through, but it's about as far from slop as AI assisted code/writing could be.

  • jstanley 2 hours ago
    Nice work, but it looks to me as if the escape wheel is unable to provide any impulse to the pallet so I think this watch will not work with the pallets shaped as shown.

    After unlocking, the tooth of the escape wheel needs to press against the pallet, which will press against the impulse jewel, to add some energy to the balance, otherwise the balance will come to a stop.

    It would be good to be able to slow down the animations to check this.

    The escapement really has two jobs. One is to limit the rate at which the mainspring can unwind, and the other is to supply energy to the balance so that the balance keeps swinging.

    (Source: I have spent a lot of time designing clock and watch mechanisms, I wanted to make my own wristwatch but eventually gave up, some notes in https://incoherency.co.uk/blog/stories/the-watch-project.htm... - here's the best model of my escapement that I made: https://www.youtube.com/watch?v=NW2_8KEqEEE )

    • martincmartin 1 hour ago
      Author here. Very true. This is for people going from no watch knowledge to their first understanding of how watches work, and when choosing between accuracy and clarity, I usually picked clarity. For example, most watches beat faster than once a second, but a hairspring moving that fast is hard to see. Also, most watch gears have more teeth, but fewer teeth is easier to grok.

      I thought of talking about how the pallet stones slide along and are actually pushed by the escape wheel's teeth, and therefore accelerate and knock the impulse jewel. But that would have involved slow motion and zooming in, and felt like an extra level of depth beyond the basics, like a "watch mechanisms 201" where this was 101.

      Also, while showing an early version of this to a friend, and pointing out the impulse to the jewel, they said "wait why do you need that, the hairspring oscillates on its own?" I pointed out that with friction it would stop before long. Bringing friction into all parts opens up a can of worms where you want to talk about lubrication and jewels where the arbors contact the main plate, and that was definitely beyond what I was aiming at here.

      • jstanley 1 hour ago
        That makes sense but I think dropping in at least a sentence about how the escapement needs to provide energy to the balance would be worthwhile.

        As it stands the article basically acts like the balance works by magic and is liable to confuse readers in my opinion.

  • o4c 26 minutes ago
    Great article! I would like to share, a great old video that explain how watch works.

    How a mechanical watch works (1949) [19 minutes]

    https://www.youtube.com/watch?v=rL0_vOw6eCc

  • 8-prime 2 hours ago
    Nicely done. Its hard to grasp how such a small spring is able to drive a watch for anything more than a few seconds.
    • martincmartin 1 hour ago
      Author here, thanks for the kind words! Another aspect which I didn't get into in the post is how this all runs for 40+ hours on a simple wound spring, which is a tiny amount of energy. Friction is a real problem, which drives a lot of the design. Escapements evolved through the ages, one goal being to minimize friction.
  • 747-8I 5 minutes ago
    .
  • Luc 1 hour ago
    I found this quite useful. It's at a different level of abstraction than Ciechanowski's, and a good way to pick up the basics and some jargon when you don't want to spend a lot of time and effort on it. And for me, it helps to have the same thing explained in different ways.

    I understand the negative reactions but if you're interested in watch mechanisms I found it useful.

    • garyrob 2 minutes ago
      I agree, it's at just the level I want for an introduction.
    • martincmartin 1 hour ago
      Author here, thanks for the kind words! I agree, that's why I created it.

      There's a local group of friends that gets together every few months, and I wanted to explain my fascination with watches to them. I got a 3D printed plastic model, but it was hard to explain why e.g. the hairspring moves back and forth (we don't think of curved objects doing that, we're more likely to think of straight objects being back towards straight) and that the mainspring was pushing things (I would bend the escapement out of the plane so the mainspring could run to show them). I thought of projecting Bartosz's page, but I'd have to hunt around in it for the specific things I wanted to show, so I decided to make a "quick" presentation, and then it just got more and more elaborate lol.

      • Luc 53 minutes ago
        Bartosz was first, I think, to present the subject this way (generally speaking, a lot of detail is different), and he hand-crafts his demos, so people respect his craftsmanship. But it absolutely helps to have it explained in more than one way.

        Nowadays there's also the danger that time invested reading an article is wasted but I think that doesn't apply here.

  • luplex 56 minutes ago
    I found a tiny little error: the second hand does not take one minute to go once around the watchface. It takes about 59 seconds.
    • jetrink 17 minutes ago
      Ok, I'll bite. What on earth are you talking about? Are you trying to poison Google AI answers?
      • NamTaf 4 minutes ago
        Technically a ticking hand (vs continuous movement) idles on 0 for a second, which means it departs that point at ~0:01 whilst arriving back at ~0:60.
  • learntoplaypitc 19 minutes ago
    [flagged]