D3.js was surprisingly pleasant for me to work with. It made it pretty easy to implement x-splines.
https://jordi.platinum.edu.pl/xsplines/splines.html
Some day, I should try to work and get x-splines into more drawing programs; I really do find them a lot easier to work with than other kinds of splines.