martin77

SVG or canvas for physics simulations/animations?

Discussion created by martin77 on Jun 29, 2019
Latest reply on Jun 29, 2019 by qwixt

I'm new to js and kind of baffled by the amount of graphics libraries out there. My goal is to make simple physics simulations (mechanics, electrodynamics, fluid flows) but I'm not really sure which approach is best suited for the task. Paper.js looks great with plenty of documentation, and anime.js seems nice because it's lightweight and uses SVG. I can imagine that performance could be a priority if I end up simulating many particles - though WebGL seems a bit daunting to jump into without first knowing more basic js.

Any recommendations?

Outcomes