We used Inkscape’s extension Ink/Stitch to create these pattern swatches.
The params are available for you to use here.
If you’re just getting started, here is a document I created as a tutorial for digitizing images in Ink/Stitch. (Note: it definitely needs an update!)