How do pergola rafter spacing and layering change the way it looks and the shadows it casts?
Short answer
Rafter rhythm is the visual heartbeat of a pergola. Closely spaced rafters read as a solid plane and cast dense, even shade with fine stripes; wider spacing reads as a frame and throws bold bars of light that move across the floor through the day. A second layer of purlins crossing the rafters produces a grid of shadow and a more finished ceiling. The tail cut, the overhang and whether the rhythm lines up with the house's windows and doors decide whether the pergola looks designed or assembled.

Shadow is the material
A pergola is mostly air, so what you see is less the wood than the pattern it throws. Early and late in the day, when the sun is low, the rafters paint long bars across the deck and up the house wall; at midday the shadows pull in tight under the structure. The design decision is what kind of pattern you want to live inside. Fine, close stripes feel calm and roomlike. Wide bars feel open and dramatic. Neither is right or wrong, but you should choose on purpose, because the shadow is what you will notice every afternoon.
For how spacing and orientation affect the amount of shade, our answer on how much shade a pergola gives covers the geometry. This answer is about how it looks.
Close rhythm versus open rhythm
Rafters set on edge with a gap roughly equal to their own width read as a near-solid plane from most angles. The pergola gains a ceiling, the space underneath feels enclosed and the shade is even enough to read a book in. This rhythm suits modern, Spanish and coastal houses and small yards that want a room. Rafters spaced at two or three times their width read as a frame, let the sky through and throw strong, separate shadows. This suits ranch and mid-century houses, large decks and places where the pergola is more about marking a space than shading it. The custom deck and pergola project used a tight lattice to cast dense midday shade while letting morning and evening light through; the pattern on the deck boards became part of the design.
The second layer
Purlins, the smaller members run across the top of the rafters at right angles, change a pergola in two ways. Visually they turn stripes into a grid, which looks more finished and sits better against a house with a strong window pattern. Practically they add shade in the hours the rafters alone miss, so a pergola with rafters running one way and purlins the other covers more of the day. Keep the purlins visibly smaller than the rafters so the hierarchy is clear, and space them to a multiple of the rafter spacing so the grid has an order.
Line up with the house
The most common reason a pergola looks assembled rather than designed is that its rhythm ignores the house. Start the rafter layout from a fixed point, usually the center of the door or the window the pergola sits in front of, and work outward so a rafter or a gap, not a random edge, lands on that centerline. Match the rafter spacing to something on the house where you can: the mullion spacing of a slider, the trim rhythm of a Craftsman porch. The eye registers the agreement even when nobody can say why the structure looks right.
Tails, overhangs and ends
Rafter tails are where the rhythm becomes visible from the yard. A generous overhang past the beam, with all the tails cut to the same profile and ending on the same line, gives the pergola a crisp edge and a strong shadow line on the ground. Tail cuts should match the house: a plain chamfer or a soft curve for Spanish and Mediterranean, a stepped or angled cut for Craftsman, a square cut for modern. Seal every tail end, because end grain is where weather gets in, and ease the sharp corners so the finish holds.
Test it before you build
Rhythm is hard to judge from a drawing. Lay a few boards across two sawhorses at the proposed spacing and stand under them at the hour you plan to use the space. Try the spacing a little tighter and a little wider. Photograph the shadows on the ground. Ten minutes of this settles a decision that would otherwise be made by a lumber list, and it is how we confirm spacing with homeowners before the rafters are cut.
Related questions
What rafter spacing looks best?
For a roomlike feel, a gap about equal to the rafter width. For an open frame, two to three times the width. The right answer depends on the house, the yard and how much shade you need, and a quick mockup on sawhorses at the hour you use the space settles it.
Do purlins on top of the rafters look too busy?
Not when they are clearly smaller than the rafters and spaced in a multiple of the rafter spacing. The grid they create usually looks more finished than rafters alone, and it fills in the shade the rafters miss.
Should rafter tails line up with anything?
They should all end on one line, with a consistent overhang past the beam and the same cut profile. The rafter layout itself should start from the center of the door or window the pergola sits in front of, so the rhythm agrees with the house.