A predictive relationship for the spacing of beach cusps in nature