Author SummaryA major challenge in developmental biology is to understand how patterns of gene activity are translated into complex three-dimensional forms, like hearts, wings, or flowers. Addressing this problem has not been easy, partly because of the difficulties in quantifying the effects of genes on shape and also because we lack frameworks that allow hypotheses about underlying mechanisms to be evaluated. Here we address this issue through a combination of experimental and computational approaches, using the Snapdragon flower as a model system. By quantifying the shapes of these flowers in a range of mutants with reduced or increased activity of particular genes, we show how the complex floral shape depends on the way genes act in combination in each petal region. The proposed interactions were tested by incorporating them into a computational model of the growing flower. Quantitative comparisons reveal a good agreement between the shapes generated by the model and those observed experimentally, confirming our underlying hypothesis. The Snapdragon flower, with its tightly fitting upper and lower petals, has evolved as a specialised mechanism for targeting pollinators. Our article shows how the development and evolution of such forms may have arisen by natural tinkering with the local effects of genes on growth.