Field card
File: find-the-repeat.html
Pattern: the definition of periodic vs aperiodic made draggable — translational
symmetry as something you hunt for and either find or never find.
The brief that produced it
The pedagogical heart of the aperiodic-monotile thread, as one widget: a periodic tiling repeats, an aperiodic one never does. Don't say it with "boring vs interesting" — say it with the actual mathematics. A tiling is periodic when some shift (a translation) slides the whole pattern exactly onto itself, and aperiodic when no shift ever does. Let the reader drag a shift vector and watch every tile that lands on a copy of itself light up. On a square floor they can find a shift that lights up everything. On the Spectre they can hunt forever and never beat a handful. Byrne palette, drag-to-understand, in the widget-studio style.
Source of truth
Square floor: generated unit grid (14×11). Every tile is orientation 0, so any lattice vector is a symmetry — the "it repeats" case, by construction.
Spectre patch: the exact level-2 substitution patch (71 tiles) from the verified generator in
../brasseleir-map-data(Original_map_generation/hat_tiling_phase1/spectre_level_2.geojson, after Smith–Myers–Kaplan–Goodman-Strauss) — the same coordinates asspectre-one-shape.html. Only centred and y-flipped.
A tile counts as landing on a copy of itself when, after the shift, its centroid coincides (within 0.30 of the nearest-neighbour spacing) with another tile's centroid and that tile faces the same way. A tile is only eligible if its shifted image lands over the patch at all (within 0.60 of the spacing of some tile), so finite-patch edge tiles that slide off don't count against the score — that's what lets the square honestly reach 100%.
Honesty check (why the claim is safe)
The headline claim is "no shift ever realigns the Spectre." Verified by brute force over all 5,041 candidate shifts (every same-orientation centroid difference — the only shifts that can produce any coincidence): the best alignment achievable on this patch is 63% (12 of 19 overlapping tiles), never 100%. The square reaches 100% at every lattice vector. So the contrast the widget draws is real, not an artifact of the default.
Design choices worth keeping
The notation is coincidence, not colour-for-its-own-sake. Blue means "this tile, after the shift, sits exactly where a same-facing copy of itself sits." The eye reads the extent of blue as "how much of the pattern this shift brings back."
One default that is already the aha. Square opens on the lattice shift (1,1) — the whole interior is blue, "the floor maps onto itself: it repeats." Spectre opens on the shift between two same-facing tiles — a few align, the rest don't, inviting the hunt.
A "best so far" tracker dramatises the impossibility: on the square you reach 100%; on the Spectre the number stalls in the 30s–60s no matter how you drag.
Honest finite-patch scoring (eligibility = "image lands over the patch") so the edge doesn't lie in either direction.
Drag the arrow tip; arrow keys nudge it. The shift vector is the thing you control; everything else is consequence. Keyboard path mirrors the drag.
Thread-back: "why can no shift ever realign the Spectre?" hands the deeper question (no translational symmetry, forced by the shape) to the conversation.
What it teaches the studio
A definition becomes felt when you can try to violate it and fail. The square lets you succeed; the Spectre lets you fail forever — and the failing is the lesson. This is the periodic↔aperiodic contrast the ideation note ranked as the top candidate, built as a single mechanic shared across two subjects (the segmented toggle), not two widgets.