A harmonograph is a mechanical apparatus that employs pendulums to create a geometric image. The drawings created typically are Lissajous curves, or related drawings of greater complexity. Hugh Blackburn, a professor of mathematics at the University of Glasgow, is commonly believed to be the official inventor.1
As seen in the top-left corner of each produced image, these figures can be represented by parametric equations where both x and y terms are functions of time in the form of decaying sine waves.
With each frame of the simulation, an internal timer increments up, allowing the next point in the graph to be calculated.
Since the harmonograph is a device comprised of two pendulums, each axis of motion can be described by the equationaxis(t) = Asin(ft + p) * e^(-dt)
(d = 0.01 in this simulation)
Other factors which affect the apparatus are air friction and friction between the pen and paper. However, both of these are linear sources of decay so the overall decay still remains exponential.