{"_id":"@casualbot/pixi.js","_rev":"4-ce76d351df3e7d44df67942801aa96cf","name":"@casualbot/pixi.js","description":"Pixi.js is a fast lightweight 2D library that works across all devices.","dist-tags":{"latest":"3.0.11-ie11"},"versions":{"3.0.11-ie11":{"name":"@casualbot/pixi.js","version":"3.0.11-ie11","description":"Pixi.js is a fast lightweight 2D library that works across all devices.","author":{"name":"Mat Groves"},"contributors":[{"name":"Chad Engler","email":"chad@pantherdev.com"},{"name":"Richard Davey","email":"rdavey@gmail.com"}],"main":"./src/index.js","homepage":"http://goodboydigital.com/","bugs":{"url":"https://github.com/pixijs/pixi.js/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi.js.git"},"scripts":{"start":"gulp && gulp watch","test":"gulp && testem ci","build":"gulp","docs":"jsdoc -c ./gulp/util/jsdoc.conf.json -R README.md"},"files":["bin/","src/","CONTRIBUTING.md","LICENSE","package.json","README.md"],"dependencies":{"async":"^1.5.0","brfs":"^1.4.1","browserify-versionify":"^1.0.6","earcut":"^2.0.8","eventemitter3":"^1.1.1","object-assign":"^4.0.1","resource-loader":"^1.6.4"},"devDependencies":{"browserify":"^13.0.0","chai":"^3.2.0","del":"^2.2.0","gulp":"^3.9.0","gulp-cached":"^1.1.0","gulp-concat":"^2.6.0","gulp-debug":"^2.1.0","gulp-header":"^1.7.1","gulp-jshint":"^2.0.0","gulp-mirror":"^1.0.0","gulp-plumber":"^1.0.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.5.2","gulp-uglify":"^1.5.1","gulp-util":"^3.0.6","jaguarjs-jsdoc":"git+https://github.com/davidshimjs/jaguarjs-jsdoc.git","jsdoc":"^3.4.0","jshint-summary":"^0.4.0","minimist":"^1.2.0","mocha":"^2.4.5","require-dir":"^0.3.0","run-sequence":"^1.1.2","testem":"^0.9.4","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0","watchify":"^3.7.0"},"browserify":{"transform":["browserify-versionify","brfs"]},"gitHead":"eb7d3ce2ceec3eeb35bfc39116a0294558b586e9","_id":"@casualbot/pixi.js@3.0.11-ie11","_shasum":"b09631ad312af4bb446b3ca324c9d0a4d36f25b1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"casualbot","email":"casualbotdev@gmail.com"},"dist":{"shasum":"b09631ad312af4bb446b3ca324c9d0a4d36f25b1","tarball":"https://registry.npmjs.org/@casualbot/pixi.js/-/pixi.js-3.0.11-ie11.tgz","integrity":"sha512-ZjIlUF9sDDLz3POfdMZ1V06gq8eHlLE1UAlGSHecVdHM6Yn7quyMcQybNs9+CYy8la9V9w0VCxxJU6Zg2z7BRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7jSXF4gmMGqkAaXF7IAaeYRuS5pkk4QGudocG//pZ2AIhAOgu2h/mxQ/a0cfws8v7c+0+bqCQ+teFpG6Mojpg9AlG"}]},"maintainers":[{"name":"casualbot","email":"casualbotdev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pixi.js-3.0.11-ie11.tgz_1466629316530_0.6416278213728219"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"Pixi.js — A 2D JavaScript Renderer\n=============\n\n![pixi.js logo](http://www.goodboydigital.com/pixijs/pixi_v3_github-pad.png)\n\n[![projects](http://www.pixijs.com/wp-content/uploads/2013/05/headerPanel_projects-898x342.jpg)](http://www.pixijs.com/projects/)\n\n## Pixi.js ##\n\n[![Inline docs](http://inch-ci.org/github/GoodBoyDigital/pixi.js.svg?branch=dev)](http://inch-ci.org/github/GoodBoyDigital/pixi.js)\n[![Build Status](https://travis-ci.org/pixijs/pixi.js.svg?branch=dev)](https://travis-ci.org/pixijs/pixi.js)\n\nThe aim of this project is to provide a fast lightweight 2D library that works\nacross all devices. The Pixi renderer allows everyone to enjoy the power of\nhardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.\n\nIf you want to keep up to date with the latest pixi.js news then feel free to follow us on twitter\n([@doormat23](https://twitter.com/doormat23), and [@rolnaaba](https://twitter.com/rolnaaba))\nand we will keep you posted! You can also check back on [our site](http://www.goodboydigital.com/blog)\nas any breakthroughs will be posted up there too!\n\n**Your support helps us make Pixi.js even better. Make your pledge on [Patreon](https://www.patreon.com/user?u=2384552&ty=h&u=2384552) and we'll love you forever!**\n\n### What to Use Pixi.js for and When to Use It\n\nPixi.js is a rendering library that will allow you to create rich, interactive graphics, cross platform applications, and games without having to dive into the WebGL API or deal with browser and device compatibility.\n\nPixi.js has full [WebGL](https://en.wikipedia.org/wiki/WebGL) support and seamlessly falls back to HTML5's [canvas](https://en.wikipedia.org/wiki/Canvas_element) if needed. As a framework, Pixi.js is a fantastic tool for authoring interactive content, *especially with the move away from Adobe Flash in recent years*. Use it for your graphics rich, interactive websites, applications, and HTML5 games.  Out of the box cross-platform compatibility and graceful degredation mean you have less work to do and have more fun doing it! If you want to create polished and refined experiences relatively quickly, without delving into dense, low level code, all while avoiding the headaches of browser inconsistencies, then sprinkle your next project with some Pixi.js magic!\n\n**Boost your development and feel free to use your imagination!**\n\n### Demos ###\n\n- [WebGL Filters!](http://www.goodboydigital.com/pixijs/examples/15/indexAll.html)\n- [Run pixie run](http://www.goodboydigital.com/runpixierun)\n- [Fight for Everyone](http://www.goodboydigital.com/casestudies/fightforeveryone)\n- [Flash vs HTML](http://flashvhtml.com)\n- [Bunny Demo](http://www.goodboydigital.com/pixijs/bunnymark)\n- [Storm Brewing](http://www.goodboydigital.com/pixijs/storm)\n- [Filters Demo](http://www.goodboydigital.com/pixijs/examples/15/indexAll.html)\n- [Render Texture Demo](http://www.goodboydigital.com/pixijs/examples/11)\n- [Primitives Demo](http://www.goodboydigital.com/pixijs/examples/13)\n- [Masking Demo](http://www.goodboydigital.com/pixijs/examples/14)\n- [Interaction Demo](http://www.goodboydigital.com/pixijs/examples/6)\n- [photonstorm's Balls Demo](http://gametest.mobi/pixi/balls)\n- [photonstorm's Morph Demo](http://gametest.mobi/pixi/morph)\n\nThanks to [@photonstorm](https://twitter.com/photonstorm) for providing\nthose last 2 examples and allowing us to share the source code :)\n\n### Resources ###\n\n- API Documentation is [here](http://pixijs.github.io/docs).\n- Feature Examples are [here](https://pixijs.github.io/examples).\n- The Pixi.js Forum is [here](http://www.html5gamedevs.com/forum/15-pixijs).\n- Other misc tutorials and resources are [on the Wiki](https://github.com/pixijs/pixi.js/wiki/Resources).\n\n### Contribute ###\n\nWant to be part of the pixi.js project? Great! All are welcome! We will get there quicker\ntogether :) Whether you find a bug, have a great feature request or you fancy owning a task\nfrom the road map above feel free to get in touch.\n\nMake sure to read the [Contributing Guide](https://github.com/pixijs/pixi.js/blob/master/CONTRIBUTING.md)\nbefore submitting changes.\n\n### Current features ###\n\n- WebGL renderer (with automatic smart batching allowing for REALLY fast performance)\n- Canvas renderer (Fastest in town!)\n- Full scene graph\n- Super easy to use API (similar to the flash display list API)\n- Support for texture atlases\n- Asset loader / sprite sheet loader\n- Auto-detect which renderer should be used\n- Full Mouse and Multi-touch Interaction\n- Text\n- BitmapFont text\n- Multiline Text\n- Render Texture\n- Primitive Drawing\n- Masking\n- Filters\n- [User Plugins](https://github.com/pixijs/pixi.js/wiki/Pixi-v3-Plugins)\n\n### Basic Usage Example ###\n\n```js\n// You can use either `new PIXI.WebGLRenderer`, `new PIXI.CanvasRenderer`, or `PIXI.autoDetectRenderer`\n// which will try to choose the best renderer for the environment you are in.\nvar renderer = new PIXI.WebGLRenderer(800, 600);\n\n// The renderer will create a canvas element for you that you can then insert into the DOM.\ndocument.body.appendChild(renderer.view);\n\n// You need to create a root container that will hold the scene you want to draw.\nvar stage = new PIXI.Container();\n\n\n// Declare a global variable for our sprite so that the animate function can access it.\nvar bunny = null;\n\n// load the texture we need\nPIXI.loader.add('bunny', 'bunny.png').load(function (loader, resources) {\n    // This creates a texture from a 'bunny.png' image.\n    bunny = new PIXI.Sprite(resources.bunny.texture);\n\n    // Setup the position and scale of the bunny\n    bunny.position.x = 400;\n    bunny.position.y = 300;\n\n    bunny.scale.x = 2;\n    bunny.scale.y = 2;\n\n    // Add the bunny to the scene we are building.\n    stage.addChild(bunny);\n\n    // kick off the animation loop (defined below)\n    animate();\n});\n\nfunction animate() {\n    // start the timer for the next animation loop\n    requestAnimationFrame(animate);\n\n    // each frame we spin the bunny around a bit\n    bunny.rotation += 0.01;\n\n    // this is the main render call that makes pixi draw your container and its children.\n    renderer.render(stage);\n}\n```\n\n### How to build ###\n\nNote that for most users you don't need to build this project. If all you want is to use pixi, then\njust download one of our [prebuilt releases](https://github.com/pixijs/pixi.js/releases). Really\nthe only time you should need to build pixi.js is if you are developing it.\n\nIf you don't already have Node.js and NPM, go install them. Once you do, you can then install the gulp\nexecutable:\n\n```\n$> npm install -g gulp\n```\n\nThen, in the folder where you have cloned the repository, install the build dependencies using npm:\n\n```\n$> npm install\n```\n\nThen, to build the source, run:\n\n```\n$> gulp build\n```\n\nThis will create a minified version at `bin/pixi.min.js` and a non-minified version at `bin/pixi.js`\nwith all the plugins in the pixi.js project.\n\nIf there are specific plugins you don't want, say \"interaction\" or \"extras\", you can exclude those:\n\n```\n$> gulp build --exclude extras --exclude interaction\n```\n\nYou can also use the short-form `-e`:\n\n```\n$> gulp build -e extras -e interaction -e filters\n```\n\n### How to generate the documentation ###\n\nThe docs can be generated using npm:\n\n```\n$> npm run docs\n```\n\nThere is also a gulp task to generate them if you want to:\n\n```\n$> gulp jsdoc\n```\n\nThe documentation uses [Jaguar.js](https://github.com/davidshimjs/jaguarjs-jsdoc) and the jsdoc format, the configuration\nfile can be found at [gulp/utils/jsdoc.conf.json](https://github.com/pixijs/pixi.js/blob/dev/gulp/util/jsdoc.conf.json)\n\n### License ###\n\nThis content is released under the (http://opensource.org/licenses/MIT) MIT License.\n\n[![Analytics](https://ga-beacon.appspot.com/UA-39213431-2/pixi.js/index)](https://github.com/igrigorik/ga-beacon)\n","maintainers":[{"name":"casualbot","email":"casualbotdev@gmail.com"}],"time":{"modified":"2022-12-14T04:42:57.033Z","created":"2016-06-22T21:02:00.517Z","3.0.11-ie11":"2016-06-22T21:02:00.517Z"},"homepage":"http://goodboydigital.com/","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi.js.git"},"contributors":[{"name":"Chad Engler","email":"chad@pantherdev.com"},{"name":"Richard Davey","email":"rdavey@gmail.com"}],"author":{"name":"Mat Groves"},"bugs":{"url":"https://github.com/pixijs/pixi.js/issues"},"license":"MIT","readmeFilename":"README.md"}