As a heads up, unless I'm actively moving the canvas with my finger (and very importantly constantly) the frame rate is quite poor.
I would ensure you're consistently drawing likely with requestAnimationFrame as opposed to only drawing when there's an event.
(Similarly zooming or panning quickly gets laggy - this can solve the same problem - just resolve all events and draw once at each frame, doing any necessary interpolation)
I would ensure you're consistently drawing likely with requestAnimationFrame as opposed to only drawing when there's an event.
(Similarly zooming or panning quickly gets laggy - this can solve the same problem - just resolve all events and draw once at each frame, doing any necessary interpolation)