The dynamics of evaporative patterning