Eric A. Meyer on Nostr: Visual filter challenge! I want an #SVG filter that, when applied to an HTML element ...
Visual filter challenge! I want an #SVG filter that, when applied to an HTML element like an image or video or heading or whatever:
• divides the element into a grid of cells (say, each cell is 10x10 pixels)
• finds the average color of all the pixels in each cell
• fills each cell with its average color
Basically, a pixelator, but done in this specific way, so I don’t have to dilate points, as in other solutions I’ve found. Anyone got ideas, or even a pointer to an example of this approach?
• divides the element into a grid of cells (say, each cell is 10x10 pixels)
• finds the average color of all the pixels in each cell
• fills each cell with its average color
Basically, a pixelator, but done in this specific way, so I don’t have to dilate points, as in other solutions I’ve found. Anyone got ideas, or even a pointer to an example of this approach?