3 ms·
> svg's primitives are shapes and you program it with js and dom Maybe you do and that's fine. I program SVG by dynamically generating it on the server in Lisp
by dreamcompiler 3y ago
> svg's primitives are shapes and you program it with js and dom
Maybe you do and that's fine. I program SVG by dynamically generating it on the server in Lisp. No js required unless I need to change an element at runtime. SVG is much more centered on "paint a picture with vectors and then send it to the browser" than "call a function to draw this vector RIGHT NOW" which is why people here are saying it's not really an API the way Vulkan and WebGL and WebGPU are.
For SVG to be considered an API, HTML would have to be one too. For SVG to be relevant to TFA, it would also need to express 3D geometries, and SVG is focused on 2D.