Penrose Tiling

A Penrose tiling covers the whole plane with just two shapes, yet it never repeats. You can slide a copy of the tiling in any direction you like, it will never land on itself again. Tilings like this are called aperiodic. Roger Penrose found these sets of tiles in the 1970s, and a few years later the same kind of order turned up in real materials: quasicrystals, whose discovery earned Dan Shechtman the 2011 Nobel Prize in Chemistry.

There are two famous versions you can switch between here. The P2 tiling uses a kite and a dart. The P3 tiling uses a thick and a thin rhombus. Both carry the golden ratio everywhere:

φ=1+52≈1.618\varphi = \frac{1 + \sqrt{5}}{2} \approx 1.618

The long and short sides of the kite and dart are in ratio φ\varphi, and in a large patch there are φ\varphi times as many kites as darts (and φ\varphi times as many thick rhombi as thin ones).

Robinson triangles

The way this page builds the tiling is by cutting every tile in half along its mirror axis. The halves are two isosceles triangles, called Robinson triangles: an acute one with angles 36°,72°,72°36°, 72°, 72° and an obtuse one with angles 108°,36°,36°108°, 36°, 36°. Both have sides in ratio 1:φ1 : \varphi.

The trick is that each of these triangles can be cut into smaller copies of the same two triangles, all shrunk by the factor 1/φ1/\varphi. In P2 an acute half-kite becomes two half-kites and one half-dart, and an obtuse half-dart becomes one half-kite and one half-dart. This step is called deflation. Repeat it and the tiles get smaller and smaller while the picture stays the same size, which is what the iterations slider does. Because the tiling looks the same at every scale, a fully deflated plane on its own would look like the view zooming out. So the page keeps the start patch framed in light lines: each iteration splits the tiles inside that fixed frame into smaller ones. When drawing, mirrored halves are glued back together, so you see whole kites, darts and rhombi.

Deflation also gives a way to show the whole infinite tiling. The sun and star patches reappear at their own center after four deflations of a copy that is φ4\varphi^4 times larger. So the page starts from a patch big enough to cover the screen and deflates only the triangles that touch the view. Drag in any direction and new tiles appear. Zoom far out and the page draws the bigger supertiles instead, which form a Penrose tiling too.

Counting tiles shows the golden ratio again. If knk_n and dnd_n are the numbers of half-kites and half-darts after nn deflations, then

kn+1=2kn+dn,dn+1=kn+dn,k_{n+1} = 2k_n + d_n, \qquad d_{n+1} = k_n + d_n,

so the total grows by a factor of φ2≈2.618\varphi^2 \approx 2.618 per step and kn/dn→φk_n / d_n \to \varphi.

Is it a fractal?

Not in the classic sense. Every tile has straight edges and the tiling fills the plane, so its Hausdorff dimension is simply 22, unlike the log⁡3/log⁡2≈1.585\log 3 / \log 2 \approx 1.585 of the Sierpinski Triangle. What it shares with the other plants in this garden is self-similarity under inflation: glue the small halves back into bigger tiles and you get a Penrose tiling again, with tiles φ\varphi times larger. Any finite patch you can see here also turns up again, infinitely often, somewhere else in the infinite tiling.

Sun and star

The two starting configurations are named after John Conway's vertex patterns: the sun is five kites meeting at their pointed ends, the star is five darts meeting at theirs. In the P3 version the sun starts from a decagon of half thin rhombi, and the star from five thick rhombi. Both have five-fold symmetry, which no periodic tiling can have.

If you like the golden ratio, look at the Fibonacci Word Fractal, which is built from a substitution rule that grows by φ\varphi in the same way. The pentagon-shaped N-Flake is full of the same 36°36° and 72°72° angles.