Stylised shoreline effect

I’d like to know too how to achieve this (or any shoreline for that matter) effect.