What do you suggest for someone interested in making animations for mathematics? (vector fields, oscillating stuff, etc.)
I have tried so far SVG, to be precise d3.js. It’s quite easy to get animations up and running but d3.js took a weird direction (too tightly associated with Observable) lately and I’ve mostly given up on it.
I have little experience with Canvas but it’s quite liberal in what you can do, with very decent performance. However it’s a pain in the butt to work with as there is nothing ready for you. Input handling is a chore especially since after an object is drawn, access to it is lost unlike when you work with SVG and the DOM. I guess it’s just a bit more work.
I have no experience with CSS on the other hand but I’ve seen some nice animations. How far can you go with CSS and what does the future look like for CSS?