The art on our pages
The Mathematics of Our Art
Our lattices and rosettes are drawn by a short program from one idea in mathematics: two rhombs that cover a surface and never repeat.
Both rhombs are shaped by the golden ratio. If you stopped to look at them, this page is for you.
Two Rhombs and the Golden Ratio
A rhomb is a four sided shape whose sides are all the same length. The pattern uses two of them. The thick rhomb has corners of 72 and 108 degrees, and the thin rhomb corners of 36 and 144. Every one of those angles is a multiple of 36 degrees, a tenth of a half turn, which is why fives and tens keep turning up in the pattern.
The golden ratio is the number
and it is in both shapes. With sides of length 1, the thick rhomb’s long diagonal is φ and the thin rhomb’s short diagonal is 1/φ. The thick rhomb’s area is φ times the thin one’s as well.
The same number shows in how many of each a tiling holds. Penrose’s rule cuts every rhomb into smaller thick and thin ones. Cut again and again, counting two halves as one, a single thick rhomb becomes 2 thick and 1 thin, then 5 and 3, 13 and 8, 34 and 21. Those are Fibonacci’s numbers, and the ratio of each pair to the next closes in on φ.
We counted a disc of our own tiling, 90 edges across: 4,844 thick rhombs and 2,991 thin ones, a ratio of 1.6195.
A Pattern That Never Repeats
Square tiles and hexagons repeat. Copy a small patch of either, shift the copy, and it lands exactly on the floor again. A pattern with fivefold symmetry cannot be made that way. For a long time nobody knew whether any set of shapes could cover the plane only by refusing to repeat.
The first set that does, found by Robert Berger in the 1960s, had 20,426 shapes. In the 1970s the mathematician Roger Penrose brought it down to two, and our two rhombs are one of his pairs. Martin Gardner showed them to the readers of Scientific American in January 1977. However far a Penrose tiling runs, no shift lands it on itself. Yet any patch of it, however large, turns up again and again elsewhere in the same tiling.
On April 8, 1982, Dan Shechtman looked through his electron microscope at a rapidly cooled alloy of aluminum and manganese and saw a tenfold pattern that crystals were thought unable to make. Its atoms were ordered the way these tilings are, without ever repeating. He was awarded the Nobel Prize in Chemistry for these quasicrystals in 2011.
In 2007 the physicists Peter Lu and Paul Steinhardt showed that the girih tilework of the Darb-i Imam shrine in Isfahan, made in 1453, is a nearly perfect pattern of this kind, about five centuries before Penrose.
In 2023 David Smith, an amateur, found with Joseph Myers, Craig Kaplan and Chaim Goodman-Strauss a single shape, nicknamed the hat, that tiles the plane only without repeating. Soon after they found a cousin of it that does so without its mirror image.
Five Grids Make the Tiling
In 1981 the Dutch mathematician N. G. de Bruijn found a way to build these tilings with no fitting by hand, and it is the way our program draws them. Draw five families of evenly spaced parallel lines, each family turned 72 degrees from the last. A point p lies on a line of family j when
for some whole number k. The direction ej points across the family’s lines, and its offset γj slides the whole family sideways.
Every place where two lines cross becomes one rhomb, with its sides along the two families’ directions. Two families 72 degrees apart make a thick rhomb, and two families 144 degrees apart make a thin one. To find its corners, number the lines. For each family, take the number of the first line past the crossing, Kj, and add up the five directions that many times each. The crossing’s own two lines give the four corners, one on each side of each line.
When the five offsets add up to 0, the result is a Penrose tiling.
Each line becomes a ribbon of rhombs running across the whole tiling, every rhomb in it sharing a parallel edge with the next. Two ribbons from different families cross in exactly one rhomb, the one made where their two lines meet. Choose a rhomb in the tiling to light its two ribbons, or move the offsets and watch the rhombs rearrange.
The five offsets add up to 0.00, so this is a Penrose tiling.
How We Draw Ours
Our art is drawn by a short program in Python that we wrote for our pages. It builds the tiling by de Bruijn’s method and writes each picture as an SVG file, a list of lines and shapes the browser draws sharp at any size. Its random choices come from fixed seeds, so it draws every picture the same each time.
The lattice in a deep band starts as a true Penrose tiling, with the offsets
which add up to 0. Every edge is drawn once. Its strength g rises toward one point in the band, where the eye rests, over a shape that is never quite a circle:
Here d is the distance from that point and θ the direction to it, S eases from 0 to 1 between the radii r0 and r1, and the phases a, b and c are drawn at random for each field. So the lines brighten toward the focus and fade out to nothing in an uneven shape. Near the focus some thick rhombs are filled in green, each with a fine inset rhomb in white, and one rhomb on each page is filled in red.
The rosettes come from the other tiling, with all five offsets set to one half. Their sum, 2.5, is a half more than a whole number, which gives what mathematicians call the anti-Penrose tiling. At its center ten thin rhombs meet in a ten pointed star, a meeting Penrose’s own tiling never allows. Thick rhombs close the star into a decagon, and rings of thick and thin run on outward. We draw three figures from it: the star alone, the decagon medallion, and the large rosette with its wide outer ring.
Each rosette sits on the line where a deep band meets a light one, cut exactly on it. The half on the deep band is drawn in light lines and the half on the light band in green, so the one figure holds the two bands together.
How the Art Moves
On every one of our pages the art answers your scrolling. Both motions are short scripts in the page, and they stand still if your device asks for less motion.
The Red Rhomb’s Walk
Before the page reaches you, the program chooses the red rhomb’s path through each field: a run of rhombs, each sharing an edge with the one before, from one bend of the path to the next. It finds the cheapest way by Edsger Dijkstra’s shortest path method, where a step onto a rhomb costs
with t 1 for a thin rhomb and 0 for a thick one, and g the rhomb’s strength in the glow. So the walk keeps to the bright middle of the field and favors thick rhombs.
Each rhomb on the path records how far down the field the walk has come there, yk. As you scroll, the script finds the line across the field level with the middle of your window,
where h is your window’s height, u the top of the field on your screen, r its height there and H its height in the drawing. It lights the last rhomb with yk ≤ ℓ, passing over any rhomb that would sit behind words or a picture, so the red seems to travel on behind them. The rhomb it leaves fades over about a second, so a quick scroll leaves a short trail. At the end of the walk the red rhomb waits until the middle of your window reaches the next field, then walks on there.
The Light on the Rosettes
Each small inset rhomb in a rosette sits at an angle a around the figure’s center. The light stands at an angle L, which turns as the rosette passes the middle of your window:
Here d is how far the rosette’s center is from the middle of the window, in pixels, and s is 1 or −1 in turn, so neighboring rosettes catch the light turning opposite ways. An inset brightens by
where Δ is the angle from a to L in degrees, taken the short way round. That is full brightness at the light and half at about 22 degrees either side. The inset’s line goes from its resting strength o to o + (1 − o)b, and its fill to 0.3b. The light, at λn on frame n, eases toward where it should be by 12 percent of the gap each frame,
so it glides on for a moment after you stop scrolling.
Reading Further
Martin Gardner introduced the tiles to most of his readers in his Mathematical Games column, “Extraordinary Nonperiodic Tiling That Enriches the Theory of Tiles,” Scientific American, January 1977. N. G. de Bruijn set out the five grids in “Algebraic Theory of Penrose’s Non-Periodic Tilings of the Plane,” Indagationes Mathematicae, 1981. Branko Grünbaum and G. C. Shephard’s book Tilings and Patterns, 1987, covers the whole subject.
Dan Shechtman and his colleagues announced the quasicrystal in Physical Review Letters in 1984. Peter Lu and Paul Steinhardt’s “Decagonal and Quasi-Crystalline Tilings in Medieval Islamic Architecture” appeared in Science in 2007.
Our retreats
The art is Huachuma Works’ own. Our two retreats are ten days in Peru’s Sacred Valley with Huachuma, the cactus also called San Pedro.
