Ah, I see says the blind man.

I’ve never had to implement on before, but briefly looked into Paint.js for a task that the client ultimately canned.

Canvas rendering used to be the hot flavor a few years back, but today it’s all about WebGL. Maybe look into PixiJS: https://pixijs.com/