The Daily Fable · day 63 · 2026-09-28

A hand that learned to write

A simulated arm: an upper arm, a forearm and a hand on three joints, moved by eight muscles with realistic force curves, nerves that report where the arm is 40 milliseconds late and pull with a shake that grows with effort, and muscles that tire. It holds a pen. It practised cursive drills for about an hour of its own time, learning by backpropagation through its own physics, and then wrote a one-page letter, in one take, in real time. The film is the practice and then the letter, with the sound of the nib.

watch on YouTube · the letter as a 600 dpi PDF

The letter

The one-page handwritten letter, in blue ink on cream paper
The page as the arm left it: 545 seconds of writing at 0.858 mm rms from the cursive it was aiming at, pen down. Click for the 600 dpi PDF.
A close crop of the first paragraph
Close. The pale hairlines are the pen coming down and lifting; ink is deposited by time under the nib, so a fast upstroke leaves less than a slow bowl.

What the hand is

3joints in the plane of the desk: shoulder, elbow, wrist
8muscles: a flexor and extensor at each joint, plus a biarticular pair across shoulder and elbow
40 mssensory delay: the controller acts on where the arm was two ticks ago
5 %signal-dependent noise: the force each muscle delivers wanders by a twentieth of what was asked
250 Hzphysics; the controller runs at 50 Hz

What it was aiming at

A cursive alphabet I drew by hand as stroke skeletons: 26 lowercase letters that join, 26 capitals, ten digits and ten marks. Dots and crosses are deferred to the end of the word the way a hand does them. The target pen path runs at a speed set by the two-thirds power law of handwriting (Lacquaniti, Terzuolo and Viviani 1983), slowing where the curve is tight, with lifts between words at pressure zero. The letter was laid out at an x-height of 3.2 mm on a 9.8 mm line, and that path, in page coordinates, was all the arm was ever given.

How it learned

The controller has two parts. The first is a fixed reflex: an internal forward model of the arm that predicts the present from the delayed reading, then computed torque plus a Cartesian spring-damper on the pen tip aimed one tick ahead, split into agonist and antagonist commands over a small co-contraction floor. This is the part a physiologist would file under spinal cord and cerebellum, and I built it, so it is not learned. The second is a small network (47 inputs, two layers of 256) that sees the estimated state, the muscle activations, the pen pressure and the next 200 ms of target, and adds a bounded correction: at most 3 newtons at the pen tip and a little pressure. It learns by gradient descent through the physics, ten ticks of truncated backpropagation, on random fragments of cursive words at random tempo and position, with a loss that is the tracking error plus a pressure term (ink where the target says ink, none where it says lift) plus effort.

The same phrase written after 0, 1, 2, 5, 10, 20 and 30 iterations of practice (attempts 1, 2, 3, 6, 11, 21 and 31)
The same phrase, on the same noisy arm with the same noise seed, after 0, 1, 2, 5, 10, 20 and 30 iterations of practice. The reflex already reads on the first attempt, before any practice. Practice takes the error from 1.13 to 0.95 mm rms and it shows most in the letters that hurried: the k, the b, the loop of the f.
Tracking error against practice iteration on held-out drills
The learning curve on 32 held-out drills with a fixed noise seed: 0.69 mm at the start, 0.52 mm at iteration 25 to 30, then rising again to 0.68 by iteration 300 as the network overfits the pool of 1,500 drills. The letter is written by the iteration-30 checkpoint. One iteration is 96 drills of 1.5 seconds, so 30 iterations is about 72 minutes of the arm's time.

The film

Practice first: the fox phrase after each of fourteen checkpoints from attempt 1 (no practice) to attempt 31 (checkpoint 30), sped up three times, captioned with the attempt and the error. Then the letter, in real time, 545 seconds, the camera following the pen with the desk in an inset that shows the arm, the eight muscles lighting by activation and the fatigue creeping up. The pen sound is synthesised from the same trace: filtered noise whose level and pitch follow pressure and speed, harder on push strokes than pull strokes, and a click at every landing scaled by how fast the pressure rose.

Honesty ledger

How it was made

Code: the repo, folder day63.