{"id":21465755,"url":"https://github.com/jsaaron/pixi_aaron","last_synced_at":"2025-03-17T05:45:07.711Z","repository":{"id":26715882,"uuid":"30173244","full_name":"JsAaron/pixi_Aaron","owner":"JsAaron","description":"pixi源码分析","archived":false,"fork":false,"pushed_at":"2015-02-03T09:09:40.000Z","size":8628,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T15:19:30.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JsAaron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T05:53:20.000Z","updated_at":"2017-01-11T10:02:21.000Z","dependencies_parsed_at":"2022-06-28T22:03:49.711Z","dependency_job_id":null,"html_url":"https://github.com/JsAaron/pixi_Aaron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fpixi_Aaron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fpixi_Aaron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fpixi_Aaron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fpixi_Aaron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JsAaron","download_url":"https://codeload.github.com/JsAaron/pixi_Aaron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T08:11:54.149Z","updated_at":"2025-03-17T05:45:07.683Z","avatar_url":"https://github.com/JsAaron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pixi Renderer \n=============\n\n![pixi.js logo](http://www.goodboydigital.com/pixijs/logo_small.png) \n\n[\u003cimg src=\"http://www.pixijs.com/wp-content/uploads/2013/05/headerPanel_projects-898x342.jpg\"\u003e](http://www.pixijs.com/projects)\n#### JavaScript 2D Renderer ####\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 its fast.\n\nIf you’re interested in pixi.js then feel free to follow me on twitter\n([@doormat23](https://twitter.com/doormat23)) and I will keep you posted!  And\nof course check back on [our site](\u003chttp://www.goodboydigital.com/blog/\u003e) as\nany breakthroughs will be posted up there too!\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/GoodBoyDigital/pixi.js/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n### Demos ###\n\n- [WebGL Filters!](\u003chttp://www.goodboydigital.com/pixijs/examples/15/indexAll.html\u003e)\n\n- [Run pixie run](\u003chttp://www.goodboydigital.com/runpixierun/\u003e)\n\n- [Fight for Everyone](\u003chttp://www.theleisuresociety.co.uk/fightforeveryone\u003e)\n\n- [Flash vs HTML](\u003chttp://flashvhtml.com\u003e)\n\n- [Bunny Demo](\u003chttp://www.goodboydigital.com/pixijs/bunnymark\u003e)\n \n- [Storm Brewing](\u003chttp://www.goodboydigital.com/pixijs/storm/\u003e)\n\n- [Filters Demo](\u003chttp://www.goodboydigital.com/pixijs/examples/15/indexAll.html\u003e)\n\n- [Render Texture Demo](\u003chttp://www.goodboydigital.com/pixijs/examples/11/\u003e)\n\n- [Primitives Demo](\u003chttp://www.goodboydigital.com/pixijs/examples/13/\u003e)\n\n- [Masking Demo](\u003chttp://www.goodboydigital.com/pixijs/examples/14/\u003e)\n\n- [Interaction Demo](\u003chttp://www.goodboydigital.com/pixijs/examples/6/\u003e)\n\n- [photonstorm Balls Demo](\u003chttp://gametest.mobi/pixi/balls/\u003e)\n\n- [photonstorm Morph Demo](\u003chttp://gametest.mobi/pixi/morph/\u003e)\n\nThanks to [@photonstorm](https://twitter.com/photonstorm) for providing those\nlast 2 examples and allowing us to share the source code :)\n\n### Docs ###\n\n[Documentation can be found here](\u003chttp://www.goodboydigital.com/pixijs/docs/\u003e)\n\n### Resources ###\n\n[Tutorials and other helpful bits](\u003chttps://github.com/GoodBoyDigital/pixi.js/wiki/Resources\u003e)\n\n[Pixi.js forum](\u003chttp://www.html5gamedevs.com/forum/15-pixijs/\u003e)\n\n\n### Road Map ###\n\n* Create a Typescript definition file for Pixi.js\n* Implement Flash animation to pixi\n* Update Loader so that it support XHR2 if it is available\n* Improve the Documentation of the Project\n* Create an Asset Loader Tutorial\n* Create a MovieClip Tutorial\n* Create a small game Tutorial\n\n### Contribute ###\n\nWant to be part of the pixi.js project? Great! All are welcome! We will get there quicker together :)\nWhether you find a bug, have a great feature request or you fancy owning a task from the road map above feel free to get in touch.\n\nMake sure to read the [Contributing Guide](https://github.com/GoodBoyDigital/pixi.js/blob/master/CONTRIBUTING.md)\nbefore submitting changes.\n\n### How to build ###\n\nPixiJS is build with Grunt. If you don't already have this, go install Node and NPM then install the Grunt Command Line.\n\n```\n$\u003e npm install -g grunt-cli\n```\n\nThen, in the folder where you have downloaded the source, install the build dependencies using npm:\n\n```\n$\u003e npm install\n```\n\nThen build:\n\n```\n$\u003e grunt\n```\n\nThis will create a minified version at bin/pixi.js and a non-minified version at bin/pixi.dev.js.\n\nIt also copies the non-minified version to the examples.\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- Spine support\n- Primitive Drawing\n- Masking\n- Filters\n\n### Usage ###\n\n```javascript\n\n\t// You can use either PIXI.WebGLRenderer or PIXI.CanvasRenderer\n\tvar renderer = new PIXI.WebGLRenderer(800, 600);\n\n\tdocument.body.appendChild(renderer.view);\n\n\tvar stage = new PIXI.Stage;\n\n\tvar bunnyTexture = PIXI.Texture.fromImage(\"bunny.png\");\n\tvar bunny = new PIXI.Sprite(bunnyTexture);\n\n\tbunny.position.x = 400;\n\tbunny.position.y = 300;\n\n\tbunny.scale.x = 2;\n\tbunny.scale.y = 2;\n\n\tstage.addChild(bunny);\n\n\trequestAnimationFrame(animate);\n\n\tfunction animate() {\n\t\tbunny.rotation += 0.01;\n\n\t\trenderer.render(stage);\n\n\t\trequestAnimationFrame(animate);\n\t}\n```\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Fpixi_aaron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsaaron%2Fpixi_aaron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Fpixi_aaron/lists"}