https://dmackenz.github.io/HTML5-canvas-eSignature/
An HTML5 canvas to save drawn signatures.
This implementation uses the p5.js framework. It is mobile friendly and works with touch devices as well. Currently the canvas is saved as a png on submit and uploads to a server via an AJAX POST.
An example is provided in the index.html page.