Waves on a pebbly shore