Patterns in white foam as waves crash into rocks