MATHEMATICAL LAB · GEOMETRY
The Ammann–Beenker Quasicrystal
A four-dimensional integer lattice is projected into two dimensions. The octagonal window selects which lattice sites survive.
MODEL NOTES
The mathematics behind the pattern
Cut and project
For an integer lattice point n = (n₀,n₁,n₂,n₃), project into physical and internal planes:
uⱼ = (cos(jπ/4), sin(jπ/4)) and vⱼ = (cos(3jπ/4), sin(3jπ/4)). The two projection planes are orthogonal.
Acceptance window
A site is kept when its internal projection lies inside the shifted octagon:
The window is a regular octagon with textbook side length 1. Its textbook area is 2(1 + √2) lattice units²; scaling the window multiplies its area by the scale squared.
Diffraction
The finite point set produces a reciprocal-space intensity map from its structure factor:
Sharp eightfold-related maxima are finite-patch approximations to Bragg peaks. The live symmetry score is ψ₈ = (sites whose 45°-rotated partner is present) / N. A phason shift changes local membership and can reduce this score.
Independent numerical check
The window polygon area is measured by the shoelace formula and compared with the exact zonotope area:
Engine and textbook areas are compared at the current window scale.
Simplifications: finite integer-coordinate cube, finite diffraction grid and no thermal disorder. This is the Ammann–Beenker cut-and-project vertex set with projected 4D unit-step links, not a full dynamical model of a physical material.
Illustrative educational model, not affiliated with any real institution or manufacturer.