Packing and tiling

The background is not one sample

The dip in disorder at a rational angle is a comparison against a background, and the background was one measurement taken two tenths of a degree away. At 21/55 that lands seven thousandths of a degree from 13/34 — inside another rational's dip — and the comparison inverts. Fixed, the dip survives to a denominator of 89.

Worth reading first: What a summary throws away · Why the average cell has six sides · The six are the spirals.

The previous phase found that the second moment of the side-count distribution has a narrow deep dip wherever the divergence angle is rational, and that the dip’s half-width falls as the square of the head size. It measured three denominators — 8, 13 and 21 — and closed with a question: does the same law hold at 55 or 89, where the dip is much narrower?

Chasing it there turned up a defect in the measurement first, and the defect is worth more than the answer.

The neighbourhood of 21/55, and where its background was taken fromμ₂ across nine tenths of a degree either side of 21/55, on a head of 825 organs — 15 in each of its 55 rows. The deep notch at the centre is the dip. The shaded columns are the offsets this site now takes a background from: those at least 0.03° from every rational with a denominator of 60 or less, of which there are 54 here. The marked sample at 0.2° is the one the previous phase used, and it lands 0.007° from 13/34 — inside that rational's own dip. It reads 0.115 against a floor of 0.148, so measured that way the dip is an inversion. The clear offsets give 0.339.00.2000.400-0.400-0.300-0.200-0.10000.1000.2000.3000.400degrees from 21/55, at 137.4545°μ₂, the second moment of the side-count distribution13/34the background from the clear offsets: 0.339the old single sample: 0.11521/55 · head of 825generated from a stated rule, not drawn to look right
Fig. 1 The neighbourhood of 21/55 on a head of 825 organs. The deep notch at the centre is the dip. The marked point at two tenths of a degree is where the previous phase took its background — and 13/34 sits seven thousandths of a degree from it, so the sample lands inside another rational’s dip and comes back at 0.115 against a floor of 0.148. Measured that way this dip is an inversion: the rational appears more disordered than its neighbourhood.

What a background is a claim about

A dip is not a quantity. It is a comparison — this value, against what the curve does nearby — and “nearby” is doing all the work.

For a small denominator the choice is unimportant. 3/8 is at 135°, the nearest other rational with a denominator of sixty or less is 22/59 at 0.763° away, and anywhere in between is flat. Take the background from any offset in a wide band and the answer is the same.

The neighbourhood of 5/13, and where its background was taken fromμ₂ across nine tenths of a degree either side of 5/13, on a head of 465 organs — 36 in each of its 13 rows. The deep notch at the centre is the dip. The shaded columns are the offsets this site now takes a background from: those at least 0.03° from every rational with a denominator of 60 or less, of which there are 70 here. The marked sample at 0.2° is the one the previous phase used, and it lands 0.662° from 23/60. It reads 0.484 against a floor of 0.038. The clear offsets give 0.404.00.2000.4000.600-0.400-0.300-0.200-0.10000.1000.2000.3000.400degrees from 5/13, at 138.4615°μ₂, the second moment of the side-count distribution23/60the background from the clear offsets: 0.404the old single sample: 0.4845/13 · head of 465generated from a stated rule, not drawn to look right
Fig. 2 The same picture at 5/13, where the previous phase’s method works. The nearest other rational is 0.462° away, the shaded band of clear offsets covers nearly the whole neighbourhood, and the single sample at 0.2° sits in a flat stretch. Nothing about the old measurement was wrong here — which is exactly why nothing caught it when it stopped being right.

For a large denominator it is not flat, because the rationals crowd. The gap between neighbouring fractions of denominator at most Q near a point falls as 1/Q², so the distance to the nearest other rational with a denominator of sixty or less falls steadily: 0.763° at 3/8, 0.462° at 5/13, 0.312° at 8/21, 0.193° at 13/34, 0.193° at 21/55 and 0.074° at 34/89.

The gaps close faster than the dips narrowFor each Fibonacci fraction, the distance to the nearest other rational with a denominator of 60 or less, and the half-width of its own dip at the smallest head that resolves it. The gaps fall from 0.763° at 3/8 to 0.0735° at 34/89; the dips stay between 0.0077° and 0.0155°. The dips never touch — the closest they come is a factor of 10 — so what stops the measurement is not the dips overlapping but the background between them ceasing to be flat. The clear offsets available fall from 72 to 53.-2-1.50-1-0.5000divergence angle, as a fraction of a turndegrees (logarithmic)3/85/138/2113/3421/5534/89to the nearest other rationalthe dip's own half-widthsix denominatorsgenerated from a stated rule, not drawn to look right
Fig. 3 The crowding against the dips’ own widths. The gaps fall by an order of magnitude across the range and the dips stay roughly where they are, so the ratio between them collapses — from a factor of forty at 3/8 to a factor of ten at 34/89. The dips never touch, which is the answer to the obvious worry, and the neighbourhood between them stops being empty long before they do.

At 21/55 the fixed offset of two tenths of a degree is not in a flat stretch. It is 0.0074° from 13/34, which is inside 13/34’s dip at any head size that resolves it. So the background sample is a measurement of a different dip’s floor, it comes back below the floor it is meant to be a background for, and the verdict flips.

Nothing caught this. The inverted dips were never asserted about — no gate asks whether a dip is a dip — and the number that came out was a plausible number. It is the fourth defect on this site whose symptom was a value that looked reasonable rather than an error, and the fourth whose real symptom was absence: a dip that was there and was reported as not there.

The repair that was not enough

The obvious fix is to take several offsets and use the median, which is robust to one contaminated sample. It was tried and it is only half a repair, and the half that failed is instructive.

At 13/34 two of six fixed offsets land on other rationals — 21/55 at 0.193° and 23/60 at 0.353° — and with two of six contaminated the median moves. The signature was visible in the sweep across head sizes: 13/34’s background came out rising with head size, 0.234 then 0.244 then 0.252, where every other denominator’s falls. A background that rises as the head grows is not a background; it is a neighbour’s dip getting deeper.

So the offsets are chosen rather than fixed. Lay down a candidate every hundredth of a degree from 0.10° to 0.45° on both sides of the rational, and keep the ones at least 0.03° from every fraction with a denominator of sixty or less. That leaves 72 clear offsets at 3/8 and 53 at 34/89, and the background is their median.

The clearance of 0.03° is the one number in the method and it is bounded from both sides by measurements already in hand: it has to be larger than the widest dip half-width here, which is 0.0077°, and smaller than the closest crowding, which is 0.074°. A factor of four of room at each end is not a lot and it is not a fit.

The neighbourhood of 34/89, and where its background was taken fromμ₂ across nine tenths of a degree either side of 34/89, on a head of 1335 organs — 15 in each of its 89 rows. The deep notch at the centre is the dip. The shaded columns are the offsets this site now takes a background from: those at least 0.03° from every rational with a denominator of 60 or less, of which there are 53 here. The marked sample at 0.2° is the one the previous phase used, and it lands 0.274° from 21/55. It reads 0.249 against a floor of 0.163. The clear offsets give 0.246.0.2000.400-0.400-0.300-0.200-0.10000.1000.2000.3000.400degrees from 34/89, at 137.5281°μ₂, the second moment of the side-count distribution21/55the background from the clear offsets: 0.246the old single sample: 0.24934/89 · head of 1335generated from a stated rule, not drawn to look right
Fig. 4 The hardest case, at 34/89 on a head of 1,335. The neighbourhood is visibly no longer flat — other rationals’ dips are all over it — and the clear offsets are down to 53 of the 92 tried. The dip is still there, and it is a dip: floor 0.163 against a background of 0.246.

What the fix recovers

With the background measured properly the dip is present at every denominator from 8 to 89, at every head size where the rows have organs in them. At the smallest head each of the three largest denominators is measured on: 13/34 gives a floor of 0.112 against a background of 0.381, 21/55 gives 0.148 against 0.339, and 34/89 gives 0.163 against 0.246.

The answer to the previous phase’s question is therefore yes, the dip survives, and the width law is the subject of the next essay. What is worth extracting here is the shape of the floor: it rises with the denominator at matched head size, because a head of a fixed number of organs has fewer organs in each of more rows.

The dip at 5/13 — 138.4615° — at three head sizesWalking the divergence angle off an exact rational, at 300, 600, 1200 points. The floor falls as the head grows — 0.059 at 300, 0.029 at 600, 0.014 at 1200, halving for each doubling — and the dip narrows faster: half-widths of 0.0162°, 0.0048°, 0.0010°, a factor of four for each doubling rather than two. Half-width times the square of the head size is 1456, 1726, 1402, which is what makes the width a property of the sample rather than of the angle.00.2000.4000.600-3-2.50-2-1.50-1-0.700offset from the rational, log₁₀ of degreesμ₂300 points600 points1200 points5/13 of a turn · 12 offsets · vertical rules are the half-widthsgenerated from a stated rule, not drawn to look right
Fig. 5 The previous phase’s own figure, at the denominator where its method was sound. The dip deepens and narrows as the head grows, which is the result that stood and still stands. The essay you are reading does not change any number in this figure; it changes which figures at other denominators are trustworthy.

Why the clearance cannot simply be made generous

The natural instinct on discovering a contaminated sample is to move further away, and it does not work, because the neighbourhood has two ends.

Move the background band outward and it runs into other rationals — there are more of them further out, not fewer, since the band is wider. Move it inward and it runs into the dip itself. The clearance rule threads between the two: keep offsets that are at least 0.03° from any rational with a denominator of sixty or less, inside a band from 0.10° to 0.45°.

The band’s inner edge is set by the widest dip measured here, 0.0077° at 34/89, and by the shoulder above it — a dip does not stop at its half-width, and a tenth of a degree is more than ten half-widths out on every case measured. The outer edge is set by nothing sharp; 0.45° is where the curve starts responding to the next structure along, and the median over 53 to 72 samples is insensitive to where exactly it is cut.

What is not adjustable is the 0.03° clearance itself, and it is worth seeing why it has so little room. It must exceed the widest dip half-width, 0.0077°, or the excluded zone does not cover a neighbour’s dip. It must be less than the closest crowding, 0.074°, or every offset is excluded and there is no background at all. That is a factor of ten between the floor and the ceiling and the value sits near the geometric middle of it — which also says exactly where the method stops: at the denominator where a dip’s half-width and the distance to the next rational meet.

They do not meet within the range measured. At 34/89 the ratio is still about ten. But the ratio is falling and the arithmetic says where it ends: dip half-widths fall as 1/n² at fixed denominator and rise with the denominator, while the gaps fall as 1/q². Somewhere above q = 200, on any head a plant could have, the two cross and the dip has nowhere to be measured against. That is a ceiling on the method, stated in advance rather than discovered when a number comes out strange.

What the repair does to the previous phase’s other numbers

A correction to a background is a correction to every comparison made against it, so the phase’s own results were re-read rather than assumed safe.

The dips are at rationals. Unaffected. That claim is about where the minima of the curve sit, which is a statement about the curve and not about any background.

μ₂ halves when the head doubles at an exact rational. Unaffected, and for the same reason: it is a statement about the floor, measured at the rational itself.

The dip’s width goes as the square of the head size. Affected, because a width is measured at a level a quarter of the way from the floor to the background, and the background moved. The numbers change and the exponent does not — which is the next essay, and the reason it is a separate one is that the q-dependence it uncovers is a new result rather than a correction.

And the staircase — μ₂ flat in stretches with sharp steps between them. Unaffected. That was read off the curve directly.

So one of four results moves and the movement does not change its conclusion. That is a better outcome than it might have been, and it is not luck: three of the four are statements about the curve at a point, and only the fourth is a comparison. A measurement that is a comparison carries the risk of its comparison; one that is a value does not. Which is a rule of thumb worth having, and it is why the site’s round trips — where a recovered parameter is checked against the parameter a lattice was built at — have never needed a correction of this kind.

The head has to have rows

There is a floor below which the question is not askable, and it is worth stating because it decides which heads the measurement can be made on.

A head of n organs at a divergence of p/q has its organs on q radial rows, so each row holds n/q of them. Below about fifteen per row the arrangement at the exact rational is not visibly ordered at all: there are not enough organs in a row for the row to be a row, the cells around each one are cut by neighbours from other rows, and the second moment does not fall.

That is why every denominator here is measured at head sizes scaled to itself — max(300, 15q) and two multiples of it — rather than at a fixed list of head sizes. Comparing 3/8 at 300 organs with 34/89 at 300 organs is comparing a head with 37 organs in each row against one with three, which is not a comparison of denominators.

The statistic everybody reports is the one that cannot varySix arrangements of 900 points, from a whorled lattice to a set with no rule in it. The mean number of sides per cell is 5.97–6.04 on all six, because Euler's formula forces it. The mean squared departure from six runs from 0.023 to 1.83 — a factor of 79 — and the most hexagonal tissue in the set is the whorled one, at a rational angle.mean sides per cell(forced to six)mean squared departure from six(not forced)whorled, 144°5.9860.023golden, 137.508°5.9900.253rational, 137.5°5.9900.255Lucas, 99.502°6.0360.255137.0°5.9900.291Poisson5.9691.830six433–637 interior cells each, inside 86% of the radiussame cells, same cut, two statistics
Fig. 6 What the statistic is made of: the distribution of side counts across the cells of a head, whose mean is six by Euler’s formula and whose second moment is the quantity that dips. A head with three organs in each row does not have a side-count distribution that means anything, which is the floor this section is about.
How many sides the cells actually haveThe mean is 5.929, which Euler's formula forces. The spread around it is not noise — a tiling of only hexagons cannot close up on a finite patch.5 sides13415%6 sides65876%7 sides738%865 bounded cellsmean 5.929 sidessix is forced, not chosen
Fig. 7 And the same distribution at the golden angle, for the contrast the dip is measured against. The whole of the disorder thread is about how this distribution changes as the angle moves, and every claim in it is a claim about a comparison — which is why getting the comparison’s other half right turns out to matter as much as the statistic does.

The gate this leaves behind

A defect that nothing caught is worth a check, and the check is short enough to state in a sentence: the background must be flat, and the flatness is measured rather than assumed.

In practice that is two assertions, both now in the site’s own gate. The first is that the median background over the clear offsets exceeds the floor, which is the claim “this is a dip” made explicitly instead of being implied by a subtraction. The second is that the spread of the background samples is small compared with the depth being claimed — and at 34/89 it is not, which is recorded as a limit rather than repaired.

Both of those are cheap and neither existed. The reason they did not is worth naming because it is general: every gate this site had asked whether a number was computed correctly, and none asked whether the quantity it was compared against meant anything. A background is not a computation; it is a modelling assumption dressed as one, and modelling assumptions are exactly what a check on arithmetic cannot see.

The same shape has now appeared three times here. A recency cut-off that manufactured a lattice was a parameter of the program read as a property of the model. A control that held error independence fixed was an assumption in a null model read as a fact about arrangements. And a background taken at a fixed offset was a neighbourhood assumption read as a measurement. All three passed every gate, and all three were found by asking what the comparison was against.

The general form

A background is a measurement standing in for a neighbourhood, and it is trustworthy exactly while the neighbourhood is featureless. That is a condition which can stop holding without anything changing in the code, and this is what that looks like: the same three lines of arithmetic, correct for a decade of small denominators, wrong from 34 upward, and the transition invisible because the output stayed plausible.

The check that would have caught it is cheap and is now in the site’s gate: a background must be flat. Measure it at several offsets and require the spread to be small compared with the depth being claimed. At 3/8 the six samples run 0.726 to 1.201 against a floor of 0.032 — a spread of a third of the depth. At 34/89 they run 0.042 to 0.333 against a floor of 0.163, which is a spread larger than the whole dip.

The disorder of a head against its divergence angle, 300 pointsμ₂ is the mean squared departure of a Voronoi cell's side count from six, measured on 300 points inside 86% of the radius. Swept across 1.60° it is a staircase: flat over stretches of a few hundredths of a degree, with sharp steps between them and narrow deep dips wherever a rational falls. At 137.144° — which is 360 × 8/21 — it is 0.078; At 137.648° — which is 360 × 13/34 — it is 0.197; At 138.460° — which is 360 × 5/13 — it is 0.060. The ticks along the top are the fractions p/q, placed from arithmetic rather than from the curve.00.2000.4000.600137138138139divergence angle, degreesμ₂, the mean squared departure of a cell's side count from six5/138/2113/34401 angles · 0.0040° apart · 300 points eachmarks are the fractions, placed from arithmetic
Fig. 8 The curve the dips live on, at a coarse head where only the simplest rationals show. Everything in this essay is about what happens when the head is large enough for the fine structure to appear, and the fine structure is the reason a single background sample stopped meaning what it used to.
The version of the claim that does survive measurementThe golden angle scores 0.4377, against 0.3306 for the best of 1500 other angles sampled. The dashed line is Hurwitz's 1/√5, which no number can exceed.00.2000.400100120140160divergence angle (°)resistance to rational approximation (higher is more irrational)1/√5 — the bound137.508° — 0.4381500 angles on a 0.05° grid, plus the golden angle exactlythis claim is sharp
Fig. 9 The same crowding from the arithmetic side, measured three phases ago for a different purpose: how well the angles are approximated by fractions, as a function of how large a denominator is allowed. The density of rationals at a given denominator was already in this collection — it simply had not been connected to the question of where a background can be taken from.
How nearly each angle is a simple fraction of a turnA dip means a rational approximation and a lattice with visible rows. The golden angle's floor is 0.008; the rational angle reaches exactly zero.00.2000.400204060denominator qhow nearly q × angle is a whole turn (0 = exactly)golden 137.508°137.3°135° = 3/8distance to the nearest whole turnno dips means no rows
Fig. 10 And the reason sixty is the ceiling on which fractions count as neighbours. Above it every angle is within a thousandth of a degree of some rational, so “the nearest other rational” stops being a meaningful quantity — the same threshold that bounds attribution bounds the background.
How the largest gap behaves as the head fillsThe rational angle's gap grows by a factor of 2.6 over this range; the golden angle's stays within 1.30. This is the claim about 137.5° that survives measurement.02.5057.50105001e+31.5e+32e+3number of primordialargest empty gap, in units of the mean spacing137.508° (golden)137.3°135° = 3/8 of a turngaps measured from the triangulationan asymptotic claim, not a contest
Fig. 11 The other head-size effect this thread has measured, kept beside this one because the two are easy to confuse. That figure is about gaps in the packing as a head fills; this essay is about rows being populated enough to be rows. Both say that a statistic of a head is a statement about a head of a stated size, and neither is a statement about an angle alone.
The coefficient is not one numbern²·w, measured at the two larger of each denominator's three head sizes and averaged, for six Fibonacci fractions. Undivided it runs 1188, 1285, 2999, 7005, 9125, 14297 — a spread of 12.0. Divided by the denominator it runs 149, 99, 143, 206, 166, 161 — a spread of 2.1. So the law is w ≈ 150·q/n² to within a factor of two, and the previous phase's constant of 1,400 to 3,300 was three measurements of the small-denominator end of it.33.504divergence angle, as a fraction of a turnn²·w, the coefficient of the width law (logarithmic)11881285299970059125142973/85/138/2113/3421/5534/89spread 12.0 across the sixsix denominators · n²·wgenerated from a stated rule, not drawn to look right
Fig. 12 And what the repair makes measurable, which is the next essay: the coefficient of the width law against the denominator, on six denominators rather than three. The three points on the right of this chart are the ones the old background could not produce.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

ArtefactCell areaContinued fractionConvergentsDisorderHonest limitsMeasurementMeasurement errorOrder and disorderPackingRational angleRational approximationSamplingSummary statisticVoronoi cells