Recently I wanted to draw an image in HTML5 Canvas so I can manipulate is dynamically
InkScape can take an image and build the coordinates for SVG or HTML5 Canvas ( ctx.bezierCurveTo ) for you
Voila
https://pariswells.com/blog/wp-content/uploads/2020/04/handcanvas.html