The mathematics of primary visual cortex V1 — orientation-tuned neurons, pinwheel singularities, association fields, and the contact-geometry models of Petitot, Citti and Sarti that recast modal completion as a shortest-path problem on $\mathrm{SE}(2)$.