A test of textures.js that shows one approach for creating a "texture scale" that combines individual scales for pattern, size, and color.
See also this discussion on GitHub: https://github.com/riccardoscalco/textures/issues/7
https://riccardoscalco.github.io/textures/textures.min.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.5.0/lodash.min.js
https://d3js.org/d3.v3.min.js