4 ms·
Cool concept, and nicely packaged as a web component! As others have mentioned it doesn't when changing the zoom level. I see the author is aware of this makin
by young-cache 4y ago
Cool concept, and nicely packaged as a web component! As others have mentioned it doesn't when changing the zoom level.
I see the author is aware of this making the UI jank, but there are performance issues. Currently every time there is a resize, there is a call to getImageData from the canvas and then multiple dither calls totaling close to ~150ms. The getImageData alone is taking an entire frame to compute every redraw.