Four rigid motions, one grammar
A wallpaper pattern is a design that repeats itself across two independent directions of the plane, covering it completely with no gaps. Behind every such pattern sits a symmetry group: the full set of rigid motions — moves that preserve distances — that carry the pattern exactly onto itself. There are only four kinds of rigid motion in the plane: translation (sliding), rotation (turning about a point), reflection (flipping across a line), and glide reflection (a reflection combined with a slide along the mirror line). Every wallpaper pattern's symmetry is built from some subset of these four, and mathematicians have proved there are exactly 17 distinct ways they can combine to tile the whole plane periodically.
The simplest group, called p1, uses only two independent translations — slide the motif along two directions and repeat, no rotation or reflection anywhere. At the other end sits p6m, which layers 6-fold rotation on top of six mirror lines through every rotation center, the symmetry of a perfect honeycomb.
Why only 2, 3, 4 and 6-fold rotations
The single fact that pins the number of wallpaper groups down to a finite list is the crystallographic restriction theorem: a rotation that is a symmetry of a periodic lattice must have order 1, 2, 3, 4 or 6. Order 5, and every order above 6 except 6 itself, is forbidden. The proof is a short argument by contradiction — assume a 5-fold rotation center exists in a lattice, compose it with a copy of itself translated to a neighbouring lattice point, and the result is a translation strictly shorter than the shortest lattice vector, which is impossible in a discrete lattice. The same argument kills every order above 6 except multiples that reduce to 2, 3, 4 or 6.
allowed rotation orders in a periodic plane tiling: 1 2 3 4 6 forbidden: 5 7 8 9 ... why: a 5-fold center forces a lattice vector shorter than the shortest one already in the lattice -- contradiction
This is exactly why you can tile a floor with squares (4-fold), triangles (3-fold and 6-fold) or hexagons (6-fold), but never with regular pentagons alone. Five-fold symmetry is not forbidden in nature or in art generally — it appears constantly in flowers and starfish, and Penrose tilings achieve a kind of 5-fold symmetry using two tile shapes in a non-periodic arrangement — but it is forbidden specifically in patterns that repeat with a single translational period, which is the definition of a wallpaper group.
Naming the 17
The standard names — p1, p2, pm, pg, cm, pmm, pmg, pgg, cmm, p4, p4m, p4g, p3, p3m1, p31m, p6, p6m — follow crystallographic notation. The letter p or c marks a primitive or centered lattice cell; the digit records the highest-order rotation present; m marks a mirror line, g a glide reflection with no mirror. Reading the name back out tells you the pattern's full symmetry content:
p1 translation only p2 translation + 2-fold rotation, no reflection pm translation + mirror lines, no rotation pg translation + glide reflection only, no mirror cm mirror lines + glide reflections on a centered lattice p4 4-fold rotation, no reflection p4m 4-fold rotation + mirrors through every rotation center p6m 6-fold rotation + mirrors -- the honeycomb symmetry
An asymmetric motif — a flag, a comma, a footprint — is the standard test object for identifying a group visually: because it has no symmetry of its own, every copy of it in the tiling reveals exactly which operation put it there. A repeated comma with no flips anywhere is p1 or p2; a comma alternating with its mirror image along a row signals a glide reflection.
Islamic tiling, crystals and Escher
Islamic geometric artists, working centuries before the group-theoretic classification existed, produced tilings that between them realize all 17 wallpaper groups — a fact discovered by later mathematicians analysing surviving tile-work from the Alhambra and other sites. The same 17 patterns classify the symmetry of two-dimensional crystal lattices in materials science, where the underlying atomic arrangement, not an artist's motif, is what repeats. M. C. Escher explicitly studied the Alhambra's tilings on a visit in 1936 and used wallpaper-group constructions, particularly glide reflections, as the mathematical scaffolding for his interlocking animal tessellations — the birds, fish and lizards are asymmetric motifs decorating an underlying p4g or pgg lattice, in exactly the sense described above.
Building one by hand
To generate any wallpaper group programmatically, start from an asymmetric fundamental motif, apply the group's rotation and reflection generators to produce a small cluster, then translate that cluster along the two lattice vectors to fill the plane. The lattice shape itself is constrained by the rotation order present — a 4-fold center forces a square lattice, a 3-fold or 6-fold center forces a hexagonal one, while groups with only 1-fold or 2-fold rotation are free to use a general parallelogram lattice. Get the lattice shape wrong for the rotation order and the tiling will not close up without gaps or overlaps, which is a useful self-check when implementing one of these patterns from scratch.
Frequently asked questions
Why are there exactly 17 wallpaper groups?
Because the crystallographic restriction theorem limits which rotation orders are compatible with a repeating lattice: only 2-fold, 3-fold, 4-fold and 6-fold rotations tile the plane without gaps, ruling out 5-fold and anything above 6-fold. Enumerating every consistent combination of that restricted rotation set with reflections and glide reflections across the possible lattice shapes produces exactly 17 distinct symmetry types, proven complete by Evgraf Fedorov in 1891.
What is a glide reflection?
A single combined operation: reflect across a line, then slide along that same line. Neither the reflection alone nor the translation alone would reproduce the pattern, but the two together do — footprints walking in a straight line are the classic real-world example, each footprint a mirror image of the last one, shifted forward.
Why can't you tile a plane with regular pentagons?
A regular pentagon's interior angle is 108 degrees, which does not divide evenly into 360, so pentagons cannot meet edge-to-edge around a point without gaps or overlaps. This is the same underlying constraint as the crystallographic restriction theorem: 5-fold symmetry is incompatible with a periodic tiling of the plane, though it is allowed in non-periodic tilings such as Penrose tilings.
Try it live
Everything above runs in your browser — open Symmetry Groups and Wallpaper Patterns and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Symmetry Groups and Wallpaper Patterns simulation