3 ms·
Correct me if I'm wrong, but I think WebGL is the most performant graphics pipeline available in browsers today. I'm hooked on SVG's promise of semantic graphi
by w56rjrtyu6ru 7y ago
Correct me if I'm wrong, but I think WebGL is the most performant graphics pipeline available in browsers today.
I'm hooked on SVG's promise of semantic graphics, but every time I tried building something with SVG in a browser the performance just wasn't there, especially on low-end devices.
- rikschennink 7y agoYou're absolutely right, you either go for CSS 3D Transforms, or WebGL, WebGL being faster still.
- aloer 7y agoWhat’s your take on 2d canvas? I always see these 2d Toole using webgl and wonder how big of a difference it is. Filters of course work best in webgl. But the rest? Also, do you use offscreencanvas in chrome?
- rikschennink 7y agoEvery operation is just way faster in WebGL. I currently use WebGL for display preview and 2D canvas for generating the actual image. I suspect you'll run into performance issues if you plan to animate the image in a 2D canvas context (like I do when rotating / flipping / etc.) I've been planning to use offscreencanvas but haven't gotten around to it yet.