applets.

Times Table Circle

← All apps

About Times Table Circle

A times table turned into string art. Nails sit evenly round a circle, numbered 0, 1, 2 … round to the last. Pick a multiplier, and from every nail k a thread runs to nail k × multiplier. When the answer is bigger than the number of nails it just keeps counting round the circle, so with 10 nails, 7 × 3 = 21 lands on nail 1. Times 2 draws a heart-shaped cardioid, times 3 a kidney-shaped nephroid, and each step up adds one more point (cusp). The big tables, where the answers lap the circle many times, weave stars and mandalas.

Drag the Multiplier slider and the picture follows; it takes decimals, so you can watch one shape melt into the next, and the buttons underneath nudge it by 1, 0.1 or 0.01. Nails sets how many points (10 to 500). SWEEP turns the multiplier slowly upwards by itself (PAUSE stops it, RESUME carries on); STOP takes it back to where the sweep began. Hover over a thread (or tap it on a phone) to see its sum; click to keep it. The times table card lists the sums behind the threads, and the plain table shows the ordinary times table (12 × 12, 30 × 30 or 100 × 100) coloured by last digit, which has patterns of its own (the 5 times table only ever ends in 0 or 5), or by the remainder mod the number of nails, where row m is exactly where the threads end.

Keys: Space sweep or pause, ← → multiplier ±0.01 (with Shift ±0.1), ↑ ↓ nails ±1, F full screen, Esc let go of a kept thread.

THE STORY

The pictures come from a much older idea. Draw lots of straight lines by a simple rule and a curve appears where they crowd together, touching every one of them: the lines' envelope. The Italian geometer Luigi Cremona described the cardioid this way, as the curve hugged by the lines joining two points that run round a circle, one twice as fast as the other. The name cardioid ("heart-like") dates from 1741; nephroid ("kidney-like") was used by the astronomer Richard Proctor in 1878.

Around 1900 the teacher Mary Everest Boole had children sew straight lines through holes in card to make curves, which she called curve stitching; it is where school string art comes from. The times-table circle itself was made famous in 2015 by a Mathologer video by the mathematician Burkard Polster, which showed that the shapes are hiding in the times tables we learn at school. The Python script this app grew from, Times Table.py, prints a times table, 1 to 12, line by line; this app draws it.

Both curves turn up in a mug of tea. Light from the sun, coming in in parallel lines, bounces off the round inside of the mug and the reflected rays crowd into a bright nephroid on the surface; a light right at the rim makes a cardioid. And the main body of the Mandelbrot set is a cardioid too.

HOW IT WORKS

Nail k joins to position k × m mod N, the remainder after taking away as many whole laps of N as fit. With a decimal multiplier the remainder can be a fraction, and the thread ends that far between two nails. The sums on the card are worked in hundredths (the multiplier goes in steps of 0.01; the slider stops at 100, but you can type up to 999.99), so they are exact: 199 × 99.99 = 19,898.01, and 19,898.01 mod 200 = 98.01.

Why a cardioid? Think of the nails as a smooth circle. The thread from angle θ goes to angle 2θ, and its neighbour, a hair further round, crosses it a third of the way along from its start. All those crossing points together make the cardioid, which touches the circle at nail 0 and has its cusp facing half way round. For times m the crossing is 1 ÷ (m + 1) of the way along, and the curve has m − 1 cusps: an epicycloid, the path of a point on a wheel rolling round the outside of another.

When the multiplier is big compared with the number of nails, neighbouring threads end far apart, and the eye picks out threads a few nails apart instead (like a wagon wheel seeming to turn backwards in a film). On 200 nails, 51 × 4 = 204, just past a lap: step 4 nails along and the thread's end also moves 4, so those threads are all the same length and wrap a circle. And 99 × 2 = 198, just short: step 2 along and the end steps 2 back, so the threads come out parallel, in two sets that cross like graph paper.

Colour by length paints short threads gold and long ones (across the circle) blue; by nail colours each thread by where it starts. Lower the opacity and the crossings build up brightness, the way real cotton does.

FURTHER WATCHING AND READING

200 NAILS · × 2cardioid

THE TABLE

×

SWEEP

SPEED

PATTERNS

THREAD

70%

THE TIMES TABLE

7 × 2 = 14
14 mod 200 = 14
Thread 7 goes to nail 14
1 to 12 of 199

THE PLAIN TABLE