Here is the pattern I used in my "Alien earth" image to separate the land from the water.
It's quite some node jungle, and I don't really understand all the stuff inside, but it's quite cool for sea foam or other bizarre uses.
Just go to the transform shader at the end to adjust the size you need.
Credits go to
dandelO, who originally made it for cracks.