While this still works as intended, I now find it a bit clunky and would probably go with a simple SVG filter that can also create a random dithering effect - see it in this Pen .