This code is still in its infancy. I will be adding more customizability to it in the future. For now I'd recommend using the seedPoints method as it provides a much better result and has more customizability.
EMStockhall/SpecklePatternGeneration
Some code to generate a pseudorandom block of dots which can be exported as an SVG and used to create a stamp for applying the pattern to specimen to be used with DIC.
PythonGPL-3.0