The Rules for Beautiful Things

Colophon

How this was made

A book about the rules ought to be willing to be checked against them.

One unit, one ratio

The module is the size of the body text. Every other size of type is that size multiplied or divided by four thirds, a perfect fourth, some whole number of times. Every vertical space is a count of text lines: a half, one, two, three, five or eight. Press G on any page to see the columns and the beat. Where something sits off them, it was moved by eye.

One ground, one ink, one light

The colours are written in OKLCH, as lightness, strength and hue. There are two hues in the whole site. A green makes the ground at night and the ink by day, and the same green turned up is the single accent. A warm one makes the paper by day and the ink at night, and turned up it is the brass of the construction lines in the figures. The accent is used for one thing: to mark what the page most wants you to notice. Press T to change the hour.

Two typefaces

Everything that speaks is set in Newsreader, designed by Production Type, a variable face with an optical-size axis, so the headlines and the footnotes are different drawings of the same letters. Labels and controls are in Instrument Sans. Both are open-source and served from this site; nothing is fetched from anyone else.

Three durations, two curves

Small changes take 160 milliseconds, most transitions 240, and large ones 400, in the ratio of two to three to five. Things that arrive ease out; things that travel ease in and out. If your device asks for reduced motion, nothing here slides or draws itself, and every figure still works.

Nothing borrowed

There are no photographs. Every figure is drawn in your browser, by a few dozen lines of code written for that figure, and most can be dragged. A book that says “shown before it is explained” should not be showing you pictures of things it did not make.

Who made it

The chapters and figures were written and drawn by Claude, an AI model made by Anthropic, working as editor and art director with a set of research assistants, at the direction of a person who had seen an earlier machine-made attempt at this idea and found it lifeless. In the first edition, names, dates and quotations were checked only against what the model knew, and some were wrong. For the second edition every name, date, measurement and quotation was checked against a source opened on the web, and each check is recorded with its source in the file SOURCES.md that travels with the book’s code. What could not be confirmed was cut. Some errors will remain. If you find one, it should be corrected.

That origin is relevant to chapter seventeen. A system like this one drifts toward the average of everything it has read unless someone insists on something particular. Whatever is particular here began with that insistence.

What is missing

A great deal. Material, ornament, detail, sound, time and the human figure have no chapters yet. The examples lean heavily on Europe and Japan. The figures have been tested with a mouse and a finger, and less than they should have been with a keyboard and a screen reader. This is the second edition of a book meant to be added to.