In traditional studies of Chinese architecture, Buddhist halls are often seen as mere variations of imperial palaces and understood primarily as shelters. Harnessing Divinity challenges this view, arguing that ritual buildings in Early Medieval China were designed with active spiritual technologies that could harness natural energies and facilitate communication with higher realms.Focusing on the Yellow River Valley during the beginning of state-sponsored Buddhism in China, this book reveals how a specific design strategy—the “floral diagram” or “daisy wheel”—was used to encode buildings with intrinsic, generative power. Tracy Miller demonstrates that this geometric method allowed structures to function as “mesocosms,” bridging terrestrial and celestial forces to support both state-building by the ruling elite and spiritual transformation of devotees.Through detailed case studies of sixth-century monuments, Miller argues that creators integrated empirically verifiable design principles with ideologies from West, Central, and South Asia to construct ritually potent spaces. The mathematical precision, critical for structural integrity, allowed for the building of taller, grander structures that projected divine support for the state. By tracing the use of a particular “generative design,” this book offers a compelling new perspective on the intersection of science, religion, and material culture in pre-modern China, showing how architecture was scaled to aid both imperial and common patrons.