Lord Kelvin's machine used crank-driven pulleys to sum harmonic components. Each crank rotated at the frequency of a tidal constituent, and a wire wrapped around pulleys summed their vertical displacements. The pen traced the predicted tide on a rotating drum.
Adjust amplitude and phase of each constituent to see how tidal harmonics combine.