Generator

A code on the 3-cube, and the balls around its words

A generator in the computation library, called 16 times across 5 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

cube-code 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.

At its defaults

A code on the 3-cube, and the balls around its words. The corners of a hypercube with the chosen codewords marked and the words within one error of each shaded.

show: "walk"

A closed walk on the 3-cube changing one place at a time. The corners of a 3-dimensional cube with a path through every one of them exactly once, each step moving along an edge, and the last corner one step from the first.

show: "gray"

Counting to 15 two ways. A table of the 16 words of 4 places in ordinary counting order beside the reflected code, with the places that change at each step marked.

show: "cycles"

All 6 closed walks on the 3-cube. Every way of visiting each corner of the 3-cube once and returning to the start, one step along an edge at a time, drawn side by side.

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

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · What the figures prove