What is Nostr?
Eric A. Meyer /
npub1dge…yw0u
2023-12-20 16:57:13

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?
Author Public Key
npub1dgewglf93wmf9u26ppwmmjmqa5uphv5jrtmtfkc3q7n754z3p8xqyayw0u