sorry if this is a dumb question.
I was trying to build a whiteboard as a side project using HTML canvas, and was wondering what’s the best technology for doing that.
My goal is to build a Miro like whiteboard that can draw/zoom/insert image etc.
Currently, I’m considering either using WebGL or using Canvas API. My understanding is that WebGL performs better for 3D rendering because it used GPU to do matrix multiplication, which is fast than CPU. However, in my case the whiteboard contains only 2D objects, would it still be faster to use WebGL (would it help to make Zoom in/out, drag and drop smoother)?
Thanks!