3 ms·
Why couldn't you achieve the same exact thing using a more traditional API, such as 2D/3D drawing? I just don't see the huge value add. I've been doing visuali
by iamleppert 10y ago
Why couldn't you achieve the same exact thing using a more traditional API, such as 2D/3D drawing?
I just don't see the huge value add. I've been doing visualizations for years and I think its way easier to just have a render loop that interacts directly with the graphics hardware via API based upon a current state that is being expressed for a given frame. You are free to structure your code however you wish and have none of the weird abstractions that come along with something like a declarative syntax like SVG. Not everything is well suited for a neat and orderly hierarchical abstraction and forcing yourself to adopt this abstraction for every project makes the code more complex.
I do think SVG is a good universal serialization format for most vector graphics, but if you're operating on data using SVG ends up (eventually) being more of a crutch than a help. If you don't believe me wait a year and look how complicated and convoluted your code will become.