How turbulence can be used to generate patterns