|
|
|
|
|
by rpastuszak
43 days ago
|
|
Hm, for this - yes I think it would make sense. That being said there are libraries that apply proper dithering without relying on SVG filters. Also, I haven't tested this with canvas which I imagine would be much more consistent. If I were to do this... more seriously, I'd keep some parameters exposed in the shortcode/component rendering the dithered images (or data-attrs) so that I could fine-tune them on a case-per-case basis. (I originally wanted to replace the bio photos on my site, like this one https://untested.sonnet.io/notes/wislawa-szymborska/) There's a ton of articles about this but for something more fun and even better looking I recommend the Coding Train video on Weighted Voronoi Stippling: https://www.youtube.com/watch?v=Bxdt6T_1qgc |
|