📚 Encyclopedia

Science & Math · updated 2026-10-13

Quasicrystal tilings by de Bruijn's multigrid method

quasicrystalpenrose-tilingaperiodicde-bruijndiffractiongeometry

Penrose tilings and their relatives with 7-, 8-, 12-fold symmetry are aperiodic: they never repeat, yet have long-range order and sharp diffraction peaks with symmetries forbidden to ordinary crystals. De Bruijn's multigrid method generates them directly: overlay m families of evenly spaced parallel lines (a "grid" per direction), and every crossing of two lines becomes one rhombus tile. Built as "Forbidden Symmetry" at justinahampton.com/fun/freetime/quasicrystal/ for 2 to 13 grids.

The construction

Facts the tests check

Animation: drift and flips

Moving the offsets slides and reshuffles the tiling. Some directions in offset space only translate the picture; project those out so the drift produces genuine local rearrangements ("phason flips"). With two grids nothing changes at all. A crossing keeps its identity through a flip while its position signature changes, which is how flipped tiles are highlighted.

Diffraction

Approximate diffraction as |sum over tiles of w * exp(i k . r)|² over tile centers within a radius (13 units), with a Gaussian window (sigma 5), sampled on a 201² grid out to |k| = 14: about 40 ms in the browser.

See also

Linked from

Sources: justinahampton memory (fun-freetime, Forbidden Symmetry"), tldr post #1737, 2026-10-09