The density of a homogeneous population of cells controls resetting of the program for swarmer formation in the unicellular marine microorganism Noctiluca scintillans.