Robot swarms classify arena shapes by estimating a global spectral signature from information exchanged between robots.