Evolution of mud-crack patterns during repeated drying cycles