4 ms·
A similar "image-less" technique I've used is to generate the pattern in JavaScript using a canvas element. eg with canvas.toDataURL("image/png"). The JavaScri
by dhotson 14y ago
A similar "image-less" technique I've used is to generate the pattern in JavaScript using a canvas element. eg with canvas.toDataURL("image/png").
The JavaScript code to generate a noise pattern is often smaller than the inlined base64'ed content.