{"_id":"kinetic","_rev":"21-c58c43924f2d19e4bb81174c52afbbdd","name":"kinetic","time":{"modified":"2022-06-19T08:47:09.426Z","created":"2014-04-17T09:30:55.022Z","5.1.1":"2014-04-17T09:30:55.022Z","5.1.0":"2014-04-17T10:08:13.535Z","5.0.5":"2014-04-18T01:01:04.592Z","5.0.6":"2014-05-09T07:55:08.784Z","5.1.9":"2015-01-09T15:51:11.668Z","5.2.0":"2015-01-22T06:48:10.612Z"},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"}],"dist-tags":{"latest":"5.2.0"},"description":"![div](https://raw.githubusercontent.com/lavrton/KineticJS/master/resources/logo.png)","readme":"![div](https://raw.githubusercontent.com/lavrton/KineticJS/master/resources/logo.png)\r\n\r\n#KineticJS\r\n\r\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lavrton/KineticJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\r\n\r\n[![npm version](https://badge.fury.io/js/kinetic.svg)](http://badge.fury.io/js/kinetic) [![bower version](https://badge.fury.io/bo/kinetic.svg)](http://badge.fury.io/bo/kinetic)\r\n[![Build Status](https://travis-ci.org/lavrton/KineticJS.png)](https://travis-ci.org/lavrton/KineticJS)  [![Code Climate](https://codeclimate.com/github/lavrton/KineticJS/badges/gpa.svg)](https://codeclimate.com/github/lavrton/KineticJS)\r\n\r\nGreetings fellow webonauts! KineticJS is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.\r\n\r\nYou can draw things onto the stage, add event listeners to them, move them, scale them, and rotate them independently from other shapes to support high performance animations, even if your application uses thousands of shapes. Served hot with a side of awesomeness.\r\n\r\n* **Visit:** The [GitHub page](http://lavrton.github.io/KineticJS/) and follow on [Twitter](https://twitter.com/lavrton)\r\n* **Discover:** [Tutorials](http://lavrton.github.io/KineticJS/Getting_Started.html), [API Documentation](http://lavrton.github.io/KineticJS/api/Kinetic.html)\r\n* **Help:** [StackOverflow](http://stackoverflow.com/questions/tagged/kineticjs)\r\n\r\n#Installation\r\n\r\n* `bower install kinetic`\r\n* `npm install kinetic` - for Browserify. For nodejs you have to install some [dependencies](#nodejs)\r\n* CDN: [https://cdnjs.com/libraries/kineticjs](https://cdnjs.com/libraries/kineticjs)\r\n\r\n###NodeJS\r\n\r\nWe are using [node-canvas](https://github.com/LearnBoost/node-canvas) to create canvas element.\r\n\r\n1. Install node-canvas [https://github.com/LearnBoost/node-canvas/wiki/_pages](https://github.com/LearnBoost/node-canvas/wiki/_pages)\r\n2. `npm install jsdom`\r\n3. `npm install kinetic`\r\n\r\nSee file `resources/nodejs-demo.js` for example.\r\n\r\n#Change log\r\n\r\nSee [CHANGELOG.md](https://github.com/lavrton/KineticJS/blob/master/CHANGELOG.md).\r\n\r\n#Dev environment\r\n\r\nBefore doing all dev stuff make sure you have node installed. After that, run `npm install --dev` in the main directory to install the node module dependencies.\r\n\r\nRun `grunt --help` to see all build options.\r\n\r\n##Building the KineticJS Framework \r\n\r\nTo build a development version of the framework, run `grunt dev`. To run a full build, which also produces the minified version and the individually minified modules for the custom build, run `grunt full`.  You can also run `grunt beta` to generate a beta version.   \r\n\r\nIf you add a file in the src directory, be sure to add the filename to the sourceFiles array variable in Gruntfile.js.\r\n\r\n##Testing\r\n\r\nKineticJS uses Mocha for testing. \r\n\r\n* If you need run test only one time run `grunt test`.\r\n* While developing it is easy to use `grunt server` with watch task. Just run it and go to [http://localhost:8080/test/runner.html](http://localhost:8080/test/runner.html). After src file change kinetic-dev.js will be automatically created, so you just need refresh test the page.\r\n\r\nKineticJS is covered with hundreds of tests and well over a thousand assertions.  KineticJS uses TDD (test driven development) which means that every new feature or bug fix is accompanied with at least one new test. \r\n\r\n##Generate documentation\r\n\r\nRun `grunt docs` which will build the documentation files and place them in the docs folder.\r\n\r\n\r\n#Pull Requests\r\nI'd be happy to review any pull requests that may better the KineticJS project, in particular if you have a bug fix, enhancement, or a new shape (see `src/shapes` for examples).  Before doing so, please first make sure that all of the tests pass (`grunt test`). \r\n","versions":{"5.0.5":{"name":"kinetic","version":"5.0.5","devDependencies":{"grunt-contrib-jshint":"0.8.0","grunt-contrib-nodeunit":"0.3.2","grunt-contrib-uglify":"0.3.2","grunt-contrib-concat":"0.3.0","grunt-replace":"0.6.2","grunt-contrib-clean":"0.5.0","mocha":"1.17.1","chai":"1.9.0","phantomjs":"1.9.7-1","mocha-phantomjs":"3.3.2","grunt-cli":"0.1.13","grunt":"0.4.2","connect":"2.13.0","grunt-contrib-copy":"~0.5.0","jsdoc":"~3.3.0-alpha4","grunt-mocha-phantomjs":"~0.4.2","grunt-contrib-watch":"~0.5.3","grunt-shell":"~0.6.4"},"keywords":["canvas","animations","graphic","html5"],"bugs":{"url":"https://github.com/ericdrowell/KineticJS/issues"},"main":"kinetic.js","repository":{"type":"git","url":"git://github.com/ericdrowell/KineticJS.git"},"author":{"name":"Eric Rowell"},"license":"MIT","description":"Hi all! I will be taking a 3 month break from KineticJS (until July 2014) to focus on other endeavors.  KineticJS is in a great state right now (v5.1.0).  Please continue to file any issues that you may find, or submit pull requests.  They will eventually","homepage":"https://github.com/ericdrowell/KineticJS","_id":"kinetic@5.0.5","dist":{"shasum":"471e53c63f7efdcc539a2033d78ab05e3cb00b6e","tarball":"https://registry.npmjs.org/kinetic/-/kinetic-5.0.5.tgz","integrity":"sha512-WcP+VA3JcyhJlLN59D+lPHJ7vbdq5rsuIi9L7gVsUDeP12xhZroz/y03fLI2bclPZeLTNcZnh+i9+/j5X7OsiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8tOEXOEq/SZaVop6huYXFmpa2dROTCnkHHRlTJ+d5BQIgMyTc7vbqlUCGscTdMvtkP5cNK0/Sj2i3ijqvu4hxePw="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"}]},"5.0.6":{"name":"kinetic","version":"5.0.6","devDependencies":{"grunt-contrib-jshint":"0.8.0","grunt-contrib-nodeunit":"0.3.2","grunt-contrib-uglify":"0.3.2","grunt-contrib-concat":"0.3.0","grunt-replace":"0.6.2","grunt-contrib-clean":"0.5.0","mocha":"1.17.1","chai":"1.9.0","phantomjs":"1.9.7-1","mocha-phantomjs":"3.3.2","grunt-cli":"0.1.13","grunt":"0.4.2","connect":"2.13.0","grunt-contrib-copy":"~0.5.0","jsdoc":"~3.3.0-alpha4","grunt-mocha-phantomjs":"~0.4.2","grunt-contrib-watch":"~0.5.3","grunt-shell":"~0.6.4"},"keywords":["canvas","animations","graphic","html5"],"browser":{"canvas":false,"jsdom":false},"bugs":{"url":"https://github.com/ericdrowell/KineticJS/issues"},"main":"kinetic.js","repository":{"type":"git","url":"git://github.com/ericdrowell/KineticJS.git"},"author":{"name":"Eric Rowell"},"license":"MIT","description":"Hi all! I will be taking a 3 month break from KineticJS (until July 2014) to focus on other endeavors.  KineticJS is in a great state right now (v5.1.0).  Please continue to file any issues that you may find, or submit pull requests.  They will eventually","homepage":"https://github.com/ericdrowell/KineticJS","_id":"kinetic@5.0.6","dist":{"shasum":"ed2c936b02005c906326cfb0c05e3f54b6e108de","tarball":"https://registry.npmjs.org/kinetic/-/kinetic-5.0.6.tgz","integrity":"sha512-Z/3URVAyUxo/fFYX/zPR4Cc1aPpfJSrLmDFKRXO2MO3eD/vlx1Cn5DpAnow4/TzJAqUwp6YXl11DukOLcCUHRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCp8KHVI+FkaV+SxCvntSMXHChV9NP1E8py4l7Dw5wbAiEA0DoQjQhMOiOfeYeagssd/ehqLgevH0qCcR3jPsUf1yA="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"}]},"5.1.9":{"name":"kinetic","version":"5.1.9","devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-contrib-nodeunit":"0.4.1","grunt-contrib-uglify":"0.6.0","grunt-contrib-concat":"0.5.0","grunt-replace":"0.7.9","grunt-contrib-clean":"0.6.0","mocha":"1.21.4","chai":"1.9.2","phantomjs":"1.9.10","mocha-phantomjs":"3.5.0","grunt-cli":"0.1.13","grunt":"0.4.5","connect":"3.2.0","grunt-contrib-copy":"~0.6.0","jsdoc":"~3.3.0-alpha9","grunt-mocha-phantomjs":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-shell":"~1.1.1"},"keywords":["canvas","animations","graphic","html5"],"browser":{"canvas":false,"jsdom":false},"bugs":{"url":"https://github.com/lavrton/KineticJS/issues"},"main":"kinetic.js","repository":{"type":"git","url":"git://github.com/lavrton/KineticJS.git"},"author":{"name":"Anton Lavrenov"},"license":"MIT","gitHead":"2632dda0f7c962f14133b4aa430a722873910f66","description":"![div](https://raw.githubusercontent.com/lavrton/KineticJS/master/resources/logo.png)","homepage":"https://github.com/lavrton/KineticJS","_id":"kinetic@5.1.9","scripts":{},"_shasum":"8cecc848553976a492337ec5e7d001cd07c395bd","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"}],"dist":{"shasum":"8cecc848553976a492337ec5e7d001cd07c395bd","tarball":"https://registry.npmjs.org/kinetic/-/kinetic-5.1.9.tgz","integrity":"sha512-InMjD37+hGhDB/4KpP9/n7wfVjjRm938OhqTI+ZXtAkXntkHENjM6Juky1AxhWTZmsveYMdeuVLfqaLvAR7DUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsV3l1EUhq6CsUyVwjSU588mHWe/LTY6HhAv11tGTvLAiAJmBAxH++oKCzSKtH+aJ8JCYLWetcAfdaxvTTkQOeXmA=="}]}},"5.2.0":{"name":"kinetic","version":"5.2.0","author":{"name":"Eric Rowell"},"contributors":[{"name":"Anton Lavrenov","email":"lavrton@gmail.com","url":"https://twitter.com/lavrton"}],"devDependencies":{"chai":"1.9.2","finalhandler":"^0.3.3","grunt":"0.4.5","grunt-cli":"^0.1.13","grunt-contrib-clean":"0.6.0","grunt-contrib-concat":"0.5.0","grunt-contrib-copy":"~0.6.0","grunt-contrib-jshint":"0.10.0","grunt-contrib-nodeunit":"0.4.1","grunt-contrib-uglify":"0.6.0","grunt-contrib-watch":"~0.6.1","grunt-jsdoc":"^0.5.7","grunt-mocha-phantomjs":"~0.6.0","grunt-replace":"0.7.9","grunt-shell":"~1.1.1","jsdoc":"~3.3.0-alpha9","mocha":"1.21.4","serve-static":"^1.8.0"},"keywords":["canvas","animations","graphic","html5"],"browser":{"canvas":false,"jsdom":false},"bugs":{"url":"https://github.com/lavrton/KineticJS/issues"},"homepage":"http://lavrton.github.io/KineticJS/","main":"kinetic.js","repository":{"type":"git","url":"git://github.com/lavrton/KineticJS.git"},"license":"MIT","gitHead":"eba941e1c3a8f80c99867db899bf8f884ae9822a","description":"![div](https://raw.githubusercontent.com/lavrton/KineticJS/master/resources/logo.png)","_id":"kinetic@5.2.0","scripts":{},"_shasum":"83c4c5eb5644f24e26e9b4b3858431970a30b75f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"}],"dist":{"shasum":"83c4c5eb5644f24e26e9b4b3858431970a30b75f","tarball":"https://registry.npmjs.org/kinetic/-/kinetic-5.2.0.tgz","integrity":"sha512-WTfYPS4UBD8s+ZL6U2TMsQyBgo+FsQFV3DTmzk9EYJxwiuSQie5hzj2wstz1cRvsXG8JJl255Zgc8UUzBsWprQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMmf6UYVkiz/INv+F5+ORlLSty5vmVKpBGehjRZ8jboQIgEMPCnc+R2XrH1ie+X/V5vCRw5gwVBrYhGLgDSVQQSYo="}]}}},"homepage":"http://lavrton.github.io/KineticJS/","keywords":["canvas","animations","graphic","html5"],"repository":{"type":"git","url":"git://github.com/lavrton/KineticJS.git"},"author":{"name":"Eric Rowell"},"bugs":{"url":"https://github.com/lavrton/KineticJS/issues"},"license":"MIT","readmeFilename":"README.md","users":{},"contributors":[{"name":"Anton Lavrenov","email":"lavrton@gmail.com","url":"https://twitter.com/lavrton"}]}