Generator

The whirling squares

A generator in the geometry library, called 21 times across 4 essays. Below: what it draws with nothing chosen and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

golden is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

With nothing chosen

The whirling squares. Squares with Fibonacci sides 1, 1, 2, 3, 5, 8, 13, each attached to the long side of what came before. They fill a 13 by 21 rectangle exactly.

A pentagon, its pentagram, and the pentagon inside

A pentagon, its pentagram, and the pentagon inside. A regular pentagon with its diagonals drawn as a pentagram, enclosing a smaller pentagon, repeated 3 times inward; every pentagon has diagonal-to-side ratio φ.

Euclid's subtraction on the pentagon's diagonal and side

Euclid's subtraction on the pentagon's diagonal and side. 8 steps of repeated subtraction starting from a diagonal and side of a regular pentagon, each step's pair drawn to scale, with the ratio 1.618034 at every step.

How many times the smaller fits, step after step

How many times the smaller fits, step after step. The quotients of Euclid's subtraction for φ, √2 and 8/5: all ones for ever, all twos for ever after the first, and a finite list that stops.

A golden triangle cut into a smaller one, again and again

A golden triangle cut into a smaller one, again and again. A 36–72–72 triangle repeatedly cut by the bisector of a base angle into a smaller 36–72–72 triangle and a 36–36–108 gnomon, 5 times.

The pentagon as the fifth roots of one

The pentagon as the fifth roots of one. The five fifth roots of unity on a circle, joined into a pentagon and pentagram, with the side and diagonal chords marked; their ratio is φ, the root of w² + w − 1 = 0.

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

Where it is called

Every figure on this list is drawn by the same rule, so a change to the rule changes all of them at once. That is why the list is published.

Geometry

The diagonal no unit measures

Draw the five diagonals of a regular pentagon and they make a star with a smaller pentagon at its centre. Subtract the side from the diagonal and what is left is the smaller pentagon's diagonal; subtract that from the side and what is left is its side. The pentagon has handed back a smaller copy of itself, and it will do so for ever — which means no unit, however small, measures both the side and the diagonal an exact whole number of times.

Geometry

The numbers that come after the golden ratio

The golden ratio is the number worst approximated by fractions: no constant larger than √5 works in Hurwitz's theorem. Set it aside and √2 is worst, with √8. Set that aside and the next is a number whose continued fraction repeats 2, 2, 1, 1, with √221/5. Markov proved in 1879 that the list continues for ever below 3, one entry for each solution of x² + y² + z² = 3xyz.

Geometry

The rectangle that eats itself

Cut a square off a golden rectangle and what is left is a golden rectangle. That single property is the whole of the golden ratio, and it explains both what the number really does and most of what is wrongly claimed for it.

Geometry

Tiles that never repeat

Two rhombs with angles taken from the pentagon, cut each into halves, and cut each half into smaller copies of the two halves by a fixed rule. Repeat, and the pieces fill the plane with no gaps and no overlaps, in a pattern with five-fold stars everywhere and no period anywhere. The reason it cannot repeat is a single number: thick tiles outnumber thin ones by φ, and a repeating pattern would make that ratio a fraction.

The whole library · What the figures prove