Patterns in the sand at the edge of the ocean