https://github.com/fiveisprime/jquery.canvas
Plugin for handling common tasks with the HTML5 canvas element. Provides methods for adding simple shapes and animation.
https://github.com/fiveisprime/jquery.canvas
Last synced: 10 months ago
JSON representation
Plugin for handling common tasks with the HTML5 canvas element. Provides methods for adding simple shapes and animation.
- Host: GitHub
- URL: https://github.com/fiveisprime/jquery.canvas
- Owner: fiveisprime
- License: gpl-2.0
- Created: 2012-07-03T23:06:03.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T22:41:45.000Z (about 6 years ago)
- Last Synced: 2025-02-04T13:44:11.627Z (over 1 year ago)
- Language: JavaScript
- Homepage: fiveisprime.github.com/jquery.canvas
- Size: 116 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-GPL
Awesome Lists containing this project
README
## Overview
Plugin for handling common tasks with the HTML5 canvas element.
## Getting Started
Download the [production version][min] or the [development version][max].
[min]: https://raw.github.com/fiveisprime/jquery.canvas/master/dist/jquery.canvas.min.js
[max]: https://raw.github.com/fiveisprime/jquery.canvas/master/dist/jquery.canvas.js
In your web page:
var canvas = $('#my-canvas').canvas().data('canvas');
canvas.addSquare({ x: 5, y: 5 }, 10, 'red', 1, 'black');
## Documentation
Class documentation is available [here](http://fiveisprime.github.com/jquery.canvas/docs/).
_Generated using [docco-husky](https://github.com/mbrevoort/docco-husky) because it's super awesome_
## Examples
Working examples are [here](http://fiveisprime.github.com/jquery.canvas) and [here](http://fiveisprime.github.com/jquery.canvas/fixed-anim.html).
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt).
_Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!_
## Release History
_(Nothing yet)_
## License
Copyright (c) 2012 Matt Hernandez
Licensed under the MIT, GPL licenses.