https://github.com/motdotla/signature-mark
Draw on a canvas with a smooth signature.
https://github.com/motdotla/signature-mark
Last synced: 6 months ago
JSON representation
Draw on a canvas with a smooth signature.
- Host: GitHub
- URL: https://github.com/motdotla/signature-mark
- Owner: motdotla
- Created: 2013-05-21T21:21:52.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-13T16:44:39.000Z (almost 11 years ago)
- Last Synced: 2024-10-14T11:04:04.718Z (12 months ago)
- Language: JavaScript
- Homepage: http://signature.io
- Size: 248 KB
- Stars: 21
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# signature-mark
Draw on a canvas with a smooth signature. Try the [demo](http://codepen.io/motdotla/full/tqLBo).
```javascript
SignatureMark(document.getElementById("some-canvas"));
```
## Usage
```html
var some_canvas = document.getElementById("some-canvas");
some_canvas.width = 900;
some_canvas.height = 500;SignatureMark(some_canvas);
```
## Development
Edit only files under `/src` directory. Then run the following to generate the `/build` directory.
```
npm install
grunt
```Visit to test out your changes.