Generator

billiard

A generator in the dynamics library, called 7 times across 2 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.

billiard 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 billiard path of slope 0.618, folded and unfolded. A ball bouncing inside a square table, and the same trajectory drawn as one straight line through reflected copies of the table, so that the bounces disappear.

show: "rational"

A billiard path that closes, and one that does not. Two paths in a square table: one of rational slope, which returns to its starting state and repeats, and one of irrational slope, which fills the table without ever closing.

show: "circle"

A closed billiard path in a circle, and the disc it never enters. A trajectory in a circular table that closes into a star polygon, with the inner circle every one of its chords is tangent to drawn inside it.

show: "fagnano"

The one path an acute triangular table always has. An acute triangle with the feet of its three altitudes joined into a closed path, which obeys the reflection law at all three sides and therefore repeats forever.

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