I will show you how you can build this pattern with the reaction diffusion node in Substance Designer. Here is the explanation:
Example:
Cheers, Martin