Myth: Vector graphics on GPU is hard because GPUs only know how to draw triangles, not curves. In fact, anyone who has touched a pixel shader in Unity can make a GPU draw a filled circle…
Ah, I see, that’s cool! Not really relevant for <canvas>/SVG/text which are all about beziergon meshes though
-
-
This looks relevant: https://www.shadertoy.com/view/Mlj3zD Compute SDF from bezier, evaluate per pixel.
-
(1) This is exactly my point: drawing curves on GPU is easy. It’s drawing *polygons* (or beziergons) that is hard. (2) There’s a much more efficient way to draw cubic beziers, as shown by Taubin, “Distance approximations for rasterizing implicit curves” 1994
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.