Signature Pad
HTML5 canvas based smooth signature drawing
README
Signature Pad
Signature Pad is a JavaScript library for drawing smooth signatures. It's HTML5 canvas based and uses variable width Bézier curve interpolation based on Smoother Signatures post by Square.
It works in all modern desktop and mobile browsers and doesn't depend on any external libraries.
Demo
Demo works in desktop and mobile browsers. You can check out its source code for some tips on how to handle window resize and high DPI screens. You can also find more about the latter in HTML5 Rocks tutorial.
Other demos
- Erase feature: https://jsfiddle.net/UziTech/xa91e4Lp
- Undo feature: https://jsfiddle.net/szimek/osenxvjc
Installation
You can install the latest release using npm:
- ```bash
- npm install --save signature_pad
- ```
or Yarn:
- ```bash
- yarn add signature_pad
- ```