The Universe comprises clusters and voids of galaxies and has been shaped by gravity over 13 billion years. Hamiltonian Monte Carlo simulations constrained by observed positions and velocities of galaxies produce maps of the density and velocity field of matter in the local Universe, revealing immense gravitational wells, which can inform future theories of structure formation.