Sub topic 4
Reflective, rotational and translational symmetry
This chapter assumes you know what visual weight and the balance axis are, and that you can read basic CSS and SVG. Earlier chapters showed that symmetrical balance mirrors weight across an axis. Here we look at symmetry itself. Designers use three basic kinds, and each one moves a copy of an element in a different way and gives a different feel.
What symmetry means in a layout
A composition is symmetric when you can apply a transformation to it and end up with the same arrangement. The transformation moves every element, but the result looks unchanged. Three transformations matter in graphic design:
- Reflection flips the composition across a line.
- Rotation turns it around a point.
- Translation slides it by a fixed distance in a fixed direction.
A fourth type, the glide reflection, is a translation combined with a reflection. Footprints on a path are the usual example. We mention it only so you can recognize it. Most real designs combine the three basics.
Symmetry is a geometric property, and balance is a perceptual one. A perfectly mirrored layout can still feel lopsided if the two halves hold content of different weight. Also, a layout with no symmetry can feel balanced. Treat symmetry as a reliable way to reach balance and not as a guarantee of it.
Reflective symmetry
Reflective symmetry, also called mirror or bilateral symmetry, means the left half is a mirror image of the right half. The mirror line is the axis. It is usually vertical, as in a centered poster, a formal invitation or a website header with a centered logo.
Other axis directions work too:
- Horizontal axis: the top mirrors the bottom, as in a landscape reflected in water. This is less common because we expect the top and bottom of a page to differ. The top usually holds the heading and the bottom holds supporting detail.
- Diagonal axis: the two halves mirror across a corner-to-corner line. It is rare and reads as dynamic.
- Multiple axes: a square with both a vertical and a horizontal axis has four mirrored quadrants.
People detect vertical mirror symmetry faster than any other kind. This has a consequence. A layout that is almost symmetric looks like a mistake, not like a style. If you commit to a mirror axis, make it exact. If you cannot, move clearly toward asymmetry.
Building a mirrored layout in CSS
The grid below puts three columns on a row. The two outer columns share the leftover space equally, and the middle column fits its content.
.symmetric {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 1rem;
}
.symmetric .center { text-align: center; }The middle element is centered exactly on the vertical axis because the two flexible columns are equal. There is a gotcha. A bare 1fr track means minmax(auto, 1fr), so its minimum size is the content's minimum width. If one side holds a long unbreakable string, that column grows and the middle element slides off the axis. Use minmax(0, 1fr) to force equal sides:
.symmetric-strict {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
gap: 1rem;
}
.symmetric-strict > :first-child { text-align: right; }
.symmetric-strict > :last-child { text-align: left; }The last two rules mirror the text alignment as well. Right-aligned text on the left and left-aligned text on the right push both blocks toward the axis, which keeps the mirror exact at the text level.
What should not be mirrored
Mirror the structure and not the content. Reversed text is unreadable. Mirrored faces look wrong because we read faces closely. Arrows and icons that imply direction, such as "next," change meaning when flipped. In a symmetric layout, the left and right items usually hold different content of similar weight, such as two buttons, two columns of equal length, or a logo flanked by two navigation groups.
Rotational symmetry
Rotational symmetry means the composition looks the same after you turn it around a center point by some angle. Two numbers describe it:
- Center of rotation: the point everything turns around.
- Order: the number of times the shape matches itself during one full turn. The smallest matching angle is 360° divided by the order.
| Order | Smallest angle | Typical example |
|---|---|---|
| 2 | 180° | A playing card face, a yin-yang style mark |
| 3 | 120° | Recycling arrows, a triskelion |
| 4 | 90° | A four-way pinwheel, a compass rose base |
| 6 | 60° | A snowflake, a six-petal flower |
| 8 and higher | 45° or less | Mandalas, badge seals, which start to read as a circle |
Rotational symmetry is the engine of radial balance, covered in the next chapter. Here we focus on the geometry.
Rotation with and without reflection
A shape can have rotation only, or rotation plus mirror lines. A pinwheel with three curved blades turns onto itself every 120°, but it has no mirror line because the blades curl in one direction. A six-petal flower has six rotations and also six mirror lines. The pinwheel feels like it is spinning. The flower feels still. When you want motion, choose rotation without reflection. When you want calm, keep the mirror lines.
Building rotation in SVG
The example below draws six identical petals, each rotated 60° from the last. The viewBox is centered on the origin, so rotate(60) turns each petal around the middle of the drawing.
<svg viewBox="-50 -50 100 100" width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<g fill="#2a6f97">
<ellipse cx="0" cy="-25" rx="8" ry="20"/>
<ellipse cx="0" cy="-25" rx="8" ry="20" transform="rotate(60)"/>
<ellipse cx="0" cy="-25" rx="8" ry="20" transform="rotate(120)"/>
<ellipse cx="0" cy="-25" rx="8" ry="20" transform="rotate(180)"/>
<ellipse cx="0" cy="-25" rx="8" ry="20" transform="rotate(240)"/>
<ellipse cx="0" cy="-25" rx="8" ry="20" transform="rotate(300)"/>
</g>
</svg>Repeating the petal six times invites copy errors. You can define it once and reuse it. This version has the same result with an easy order change. For order 8, add two more use elements and change the angles to 45° steps.
<svg viewBox="-50 -50 100 100" width="200" height="200" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<ellipse id="petal" cx="0" cy="-25" rx="8" ry="20"/>
</defs>
<g fill="#2a6f97">
<use xlink:href="#petal"/>
<use xlink:href="#petal" transform="rotate(60)"/>
<use xlink:href="#petal" transform="rotate(120)"/>
<use xlink:href="#petal" transform="rotate(180)"/>
<use xlink:href="#petal" transform="rotate(240)"/>
<use xlink:href="#petal" transform="rotate(300)"/>
</g>
</svg>Two mistakes are common. The first is rotating around the wrong point. SVG rotate(angle) turns around the origin of the current coordinate system, so a drawing whose center is not at (0, 0) will swing off to the side. Use rotate(angle cx cy) or move the origin with the viewBox. The second is rotating text with the shapes. Text turned past about 45° is hard to read, so keep labels upright and rotate only the decoration.
Translational symmetry
Translational symmetry means the same unit repeats at a fixed distance and direction. A translation vector gives the direction and the distance. The repeated unit is a tile. Examples are a row of equal icons, a column of list items, a grid of product cards, and a striped background.
Repetition creates rhythm, a regular beat the eye follows. It does not create balance by itself, since nothing mirrors or turns. A row of identical items is balanced only because the row is centered, or because the weight of each item is equal along its length.
Translation in CSS
Stripes repeat along one direction. The tile is 40 pixels wide, and the pattern shifts by 40 pixels each time.
.stripes {
height: 8rem;
background: repeating-linear-gradient(
90deg,
#2a6f97 0 20px,
#e8eef2 20px 40px
);
}A card grid translates in two directions at once:
.cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
}
.cards > .card { aspect-ratio: 3 / 4; background: #e8eef2; }Real layouts are finite, so the pattern stops at the edges. An extra half tile at one side breaks the symmetry of the whole. Check the edges and make sure the margin on the left equals the margin on the right. If the count of items does not fill the last row, a grid of cards leaves a gap that tilts the visual weight toward the top.
Where translation stops being symmetric
Slight irregularities show up quickly in repeated forms. Spacing off by a pixel or two in a row of icons is visible. A common cause is fractional widths that browsers round differently from tile to tile. Fix this by setting the spacing with gap on a grid or flex container and not with per-item margins, and by choosing tile sizes that divide the container evenly.
Choosing and combining symmetry types
The diagram gives a quick way to identify which kind of symmetry a design has.
The table summarizes what each type fixes and when to use it.
| Type | Fixed by | Typical feel | Common use | Main risk |
|---|---|---|---|---|
| Reflective | An axis line | Formal, stable | Invitations, centered headers, logos | Looks like an error when nearly exact |
| Rotational | A center point and an order | Focused, radiating, or spinning | Badges, emblems, loaders | Rotated text becomes unreadable |
| Translational | A vector and a tile | Rhythmic, orderly | Lists, grids, patterns | Edges and rounding break the repeat |
Combined symmetry is common. A wallpaper pattern may repeat a mirrored motif across a grid. A brand mark may be a rotated emblem set in a row of identical copies. When you combine types, check each one separately. A pattern can repeat perfectly yet have a mirror line that is slightly off.
Common errors
- Treating symmetry as balance. If the two mirrored sides hold content of different visual weight, the layout is geometrically symmetric but looks heavy on one side. Check weight as well as position.
- An axis that is not the page center. A scrollbar, a sidebar or uneven padding moves the true center of the visible area. Measure the axis from the area the viewer sees.
- Near symmetry. An item a few pixels off the axis looks like a bug. Either snap it to the axis or move it clearly away.
- Mirroring meaningful content. Flipped text, faces and directional icons change meaning.
- Too high an order. Past about order 12, rotational shapes read as plain circles and the detail is lost.
- Uneven edges in repeated layouts. Unequal margins or a half-filled final row undo the repeat.
Exercise
A six-petal flower mark has order 6 rotational symmetry and also six mirror lines. You change each petal into a curved blade that leans clockwise. What happens to the rotational and reflective symmetry, and what angle do you use to rebuild the mark in SVG?
Show answer
Rotational symmetry stays at order 6, because six identical blades still match themselves after each 60° turn (360° divided by 6). Reflective symmetry is lost, because a clockwise lean has no mirror image that matches. The mark now reads as spinning instead of still. In SVG you rebuild it by drawing one blade and adding copies with rotate(60), rotate(120), rotate(180), rotate(240) and rotate(300) around the origin of a viewBox centered on the middle.
Exercise
A three-column header uses grid-template-columns: 1fr auto 1fr. When the left column receives a very long unbreakable email address, the logo in the middle moves off the page's vertical axis. Why does this happen, and how do you fix it?
Show answer
A bare 1fr track has a minimum size equal to its content's minimum width, so the left column grows to fit the long string and the two outer columns stop being equal. The middle column is pushed to the right. Change the outer tracks to minmax(0, 1fr) so they can shrink to zero and always share the leftover space equally, then let the long text wrap or truncate with overflow-wrap or text-overflow.