Laser-painted cavity-mediated interactions in a quantum gas | Synapse