Fill a half-dome, squinch or cornice with tiers of small concave cells, each tier corbelled forward from the one below and each cell set over the junction of two cells beneath.
height = tiers × module; each tier projects inward
Muqarnas appear almost simultaneously in the eleventh century in north-eastern Iran, Iraq and North Africa, perhaps developed from the squinch, the small arch across the corner of a square room that carries a dome. Multiplied into many small niches, the squinch becomes a surface that can turn a corner, fill a vault or crown a portal.
Some muqarnas are structural, corbelled in brick or stone; many, especially later, are a hanging skin of plaster or wood beneath a real vault. Either way the design is systematic: a small set of cell shapes, a constant module of height, and a rule that each tier steps forward over the joints of the tier below.
To set a round dome on a square bay, take a sphere passing through the four corners of the square; cut it by the four vertical planes of the sides and by the horizontal plane of their crowns. The four spherical triangles left in the corners are the pendentives; the circle at their top carries the dome.
sphere radius R = S⁄√2; arches = sphere ∩ side planes (radius S⁄2); ring at h₀ + S⁄2 with radius S⁄2
To turn a domed square into a long church, open two of its great arches into semidomes of the same radius, and open the semidomes in turn into smaller exedrae, so that the space expands by stages from the central dome.
Hagia Sophia: central square 31 m; two semidomes of radius ≈ 15.5 m; four exedrae; interior ≈ 31 × 70 m
Where the available columns are too short for the height required, stand a pier on each column and carry the roof on a second, upper tier of arches, bracing the piers with a lower tier of horseshoe arches.