Doodle Machine

Doodle anything with a single continuous line. A machine of brass gears, cables and a hand crank will be designed and built so it can replicate your doodle in a never-ending loop; a machine capable of replicating art.

A doodle machine: rows of brass gears and pulleys on wooden steps, a hand crank, and a pen drawing a thumbs up
Camera 1

Video, not interactive – an example of a Doodle Machine drawing a thumbs up, captured from four angles.

A machine for every doodle

Doodle Machine turns a line you draw into a working machine that replicates it on a piece of paper.

It isn't a picture of a machine. It's a real (virtual) mechanism, worked out part by part using fascinating math based on your drawing: gear units that each add one simple wave, two cables that add the waves up (capturing horizontal and vertical motion), drums that scale the result, and a pen that moves across a sheet of paper. Turn the crank 24 times and the pen retraces your entire line.

You can watch every gear and cable move, pause to inspect, move along the timeline, take a guided tour of how it works, send it to a friend, and print the engineering drawing for your one-of-a-kind Doodle Machine.

An engineer's drawing sheet: the machine in isometric line art with numbered parts, the thumbs up it draws, a gear schedule, a parts list, three detail drawings and a title block
The engineering drawing sheet of a sample Doodle Machine. Every machine gets its own custom drawing. Open it full size to read the details, print it, and share it as you please – there is no other like it!

Made for the fun of it

Doodle Machine is a passion project, built out of curiosity for anyone who likes to watch gears turn. There's nothing to buy and nothing to sign up for.

Your drawings stay in your browser. A machine only goes anywhere when you share its link, and the link itself is the whole machine: nothing is stored on a server.

  • FreeEvery feature, for everyone. No ads.
  • No sign-upNo account, no email, no password.
  • No trackingNo analytics or cookies of any kind.

How can gears draw a thumbs up?

Every loop is a sum of circles

Trace any closed line at a steady pace, and you can rebuild it from simple turning motions: a big, slow one for the overall shape, then smaller, faster ones for the details. Each turns a whole number of times per lap, once, twice, three times and so on.

Add enough of them together and your line comes back. Astronomers charted the planets with circles riding on circles nearly 2,000 years ago. In 1807 Joseph Fourier showed that the same idea works for almost any curve; mathematicians call it a Fourier series, and it is used to break down complex, repeating signals in digital communications and signal processing, data compression, medical imaging and diagnostic science, engineering, physical sciences, and even quantum computing.

24 gear units

Each gear unit moves the pen round one ellipse, and each ellipse rides on the one before. Slide down to a few units and the thumb melts into a blob; the sample machine uses 24.

fixed end rod 1rod 2rod 3 to the paper

Adding with a cable

In the Doodle Machine, each gear unit turns a disc with a pin set off-centre. The pin slides in a slotted yoke, which turns its circle into a smooth up-and-down wave on a rod.

A cable runs under a pulley on every rod and over fixed pulleys between them. When a rod rises, it takes up cable; when it falls, it lets some go. So the cable's free end moves by all the waves added together. One cable moves the paper across, the other moves the pen up and down, and together they draw the line.

A Victorian idea

Machines like this once did serious work. The tides are a sum of waves set by the Moon and the Sun, and for decades the tide tables that ships relied on were worked out by machines that added those waves with cranks, pulleys and a cord.

  • About 150 AD

    Ptolemy charts the planets with circles turning on circles.

  • 1807

    Joseph Fourier shows that almost any repeating curve is a sum of simple waves.

  • 1872

    Lord Kelvin conceives a tide-predicting machine. A cord running over and under pulleys adds the waves, and a pen plots a year of a port's tides in about four hours.

  • 1898

    Albert Michelson and Samuel Stratton build a harmonic analyzer that can break a curve into dozens of waves, or add waves and draw the curve with a pen.

  • Today

    Doodle Machine designs one for whatever you draw, with Kelvin's cable over pulleys and pins in slotted yokes, like both machines used.

To learn more

Draw something

A heart, a cat, your signature. One line is all it takes.

Start drawing