The last free parameter — the universal molecule generator
universal-molecule is one function. Everything below came out of it during this
build, at arguments 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 when the generator changes, this
page changes with it.
At its defaults
poly: [0.12,0.14, 0.88,0.2, 0.8,0.86, 0.3,0.9], steps: 5, view: "molecule"
steps: 5
poly: [0.18,0.16, 0.84,0.14, 0.9,0.72, 0.5,0.92, 0.14,0.66], steps: 6
What it checked while it drew
Collected by running this generator with a listener on the assertions, not written here. The count is how many separate times this build put that claim to the test.
- the molecule is built on a polygon of 4 corners ×3
- sliding one corner of a pentagon along its edge changes the number of creases in its molecule 1 time — at 0.2872 ×2
- every corner of every inset polygon is exactly the requested distance from its own edge, to 1e-9 — the inset is solved rather than drawn ×1
- the change is a whole crease appearing, from 6 to 7, with nothing continuous about it ×1
- the construction succeeds on exactly the convex polygons and refuses exactly the reflex ones — so the figure's sentence about its limit is tested rather than asserted ×1
- the polygon admits a shrinking, so the molecule has levels to draw ×1
Where it is called
Changing this generator changes every figure on this list, which is what makes the list worth publishing rather than keeping in a check script.
The corner that splits the shrink
The universal molecule fills a convex polygon by shrinking it, and at a corner that turns back the shrink does something no convex polygon does: the region breaks in two. That event can now be computed — the skeleton of a non-convex outline is available here for the first time, and it is what lets one straight cut reach a star. It does not give the molecule back, because a molecule needs the shrinking region to stay one piece and a split is exactly the moment it stops.
The last free parameter
Once the packing is fixed, one number is left in the whole design: how far a leftover polygon can be shrunk before it stops being a polygon. Everything else about the crease pattern has already been decided.
The molecule that does not exist
The universal molecule fills any convex polygon, always, which is what makes it the part of the tree method with no special cases. Hand it a reflex corner and it does not produce a worse pattern — it produces nothing, and the difficulty moves backwards to whoever chose the polygons.
The skeleton changes its mind
The universal molecule fills any convex polygon, always, which is what makes it the part of the tree method with no special cases. It does not fill it continuously. Slide one corner along its edge and the number of creases in the molecule sits at six, jumps, and sits at seven — so two designs a hairsbreadth apart have crease patterns that are not small variations on one another.
Every generator · The designing a base field · The patterns a reader can fold