How the simulations work
Each of Brown's movements is a MuJoCo physics model running in your browser. Only the input is driven. Gears, pawls and cams move by real contact.
Overview
Every movement on this site is a physics simulation, not an animation. Nothing is keyframed. The browser runs MuJoCo, a physics engine, compiled to WebAssembly, and draws the result with three.js. The same models are run in Python to produce the measurements on each page.
Only the input is driven
Each model drives only its input: the crank, the weight, the treadle, the stream. Everything else moves because parts push on one another. Gear teeth collide, pawls drop into ratchet teeth, cams press on their followers, and belts are chains of small elastic links that grip their pulleys through friction. If a part moves on the page, it is because something touched it.
Most models have exactly one driven input. No. 82 follows Brown with two: its treadles are worked by two feet in turn. The input also differs from model to model:
- a motor turning a shaft at a set speed
- a constant torque standing in for a clock weight or mainspring
- a hand-worked lever or a foot on a treadle
- a stream of water or a wind
Each page says which.
What is simplified
Water. Water wheels and current-driven machines use a stream of particles. Most pumps instead track each chamber or pipe as a single “lumped” volume of water, with a level and a pressure. Each page says which method it uses.
Views. Some movements are drawn in plan, as Brown drew them, and are simulated with gravity switched off.
Dimensions. Brown's engravings rarely give sizes, so the models choose dimensions to match the figures. Where a model departs from Brown, or where the simulation disagrees with a claim in his text, the page's notes say so.
Reference curves. For some linkages the page compares the simulated motion with a calculated (kinematic) reference curve. The simulation itself is not scripted from that curve.
How each model is checked
Each page lists what was measured from the simulation and compared with what Brown describes or with simple theory. Examples include gear ratios, a pendulum's period and how far a parallel motion strays from a straight line. For example, No. 303's dead-beat escapement beats every 0.891 s, against 0.882 s for a compound pendulum of its size.