3 ms·
> GPUs don't really like drawing vector graphics. They like big batches of textured triangles. So, I needed to rasterize these vectors. I remember in the dista
by yamtaddle 4y ago
> GPUs don't really like drawing vector graphics. They like big batches of textured triangles. So, I needed to rasterize these vectors.
I remember in the distant past of like 15 years ago when it was still common wisdom to avoid vector images on web pages, or drawing anything using fancy CSS features, because the resource cost to the client was too high and it'd hurt performance.
I think proliferation of runtime-rendered vector-icons/CSS-drawing/CSS-animation is under-appreciated when it comes to finding things to blame for why the web performs like dogshit, even on super computers. Sure it's probably mostly Javascript's fault, but I think those very likely play a non-negligible role.