| > We would really rather people use WebGL if you want fast/efficient filters. This one made me laugh. Yes, WebGL excels at pixel manipulations but it is possible to write fast and efficient filters to work in the 2D canvas environment. For a case-in-point, I struggled for a long time to find a decent, fast implementation of a gaussian blur filter for my canvas library. Then I stumbled upon a JS implementation[1] based on some very clever work done by Intel devs which blew all my previous attempts out of the water - so of course I stole it (even though I still don't understand the approach they take)[2]. > "Safari is the bad guy" As much as Safari often brings me to despair, I do like the work they've recently done to add color space support in CSS. They haven't yet pushed the functionality over to the canvas element, but I live in hope. For now, I have to emulate the calculations to get them working for my library[3]. [1] - https://github.com/nodeca/glur/blob/master/index.js [2] - https://scrawl-v8.rikweb.org.uk/docs/source/factory/filterEn... [3] - https://scrawl-v8.rikweb.org.uk/demo/canvas-059.html |