{"id":13406891,"url":"https://github.com/pixijs/pixijs","last_synced_at":"2026-09-30T18:24:48.119Z","repository":{"id":6501346,"uuid":"7741856","full_name":"pixijs/pixijs","owner":"pixijs","description":"The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.","archived":false,"fork":false,"pushed_at":"2026-09-29T12:55:15.000Z","size":137342,"stargazers_count":48243,"open_issues_count":367,"forks_count":5076,"subscribers_count":980,"default_branch":"dev","last_synced_at":"2026-09-30T01:44:35.757Z","etag":null,"topics":["canvas","canvas2d","data-visualization","game","glsl","javascript","pixi","pixijs","renderer","rendering","rendering-2d-graphics","rendering-engine","webgl"],"latest_commit_sha":null,"homepage":"http://pixijs.com","language":"TypeScript","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/pixijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"pixijs","open_collective":"pixijs"}},"created_at":"2013-01-21T22:40:50.000Z","updated_at":"2026-09-30T00:39:04.000Z","dependencies_parsed_at":"2026-09-28T18:52:41.924Z","dependency_job_id":null,"html_url":"https://github.com/pixijs/pixijs","commit_stats":{"total_commits":6647,"total_committers":553,"mean_commits":"12.019891500904158","dds":0.7788476004212427,"last_synced_commit":"abcd2e38a28738045e99ac6bae2f2f4f4d6de090"},"previous_names":["goodboydigital/pixi.js","pixijs/pixi.js"],"tags_count":335,"template":false,"template_full_name":null,"purl":"pkg:github/pixijs/pixijs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fpixijs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fpixijs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fpixijs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fpixijs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixijs","download_url":"https://codeload.github.com/pixijs/pixijs/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fpixijs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":342085742,"owners_count":37868679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-30T02:00:06.001Z","response_time":133,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["canvas","canvas2d","data-visualization","game","glsl","javascript","pixi","pixijs","renderer","rendering","rendering-2d-graphics","rendering-engine","webgl"],"created_at":"2024-07-30T19:02:42.218Z","updated_at":"2026-09-30T18:24:48.113Z","avatar_url":"https://github.com/pixijs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/pixijs","https://opencollective.com/pixijs"],"categories":["TypeScript","2D Graphics Abstractions","Libraries","前端开发框架及项目","语言资源库","javascript","data-visualization","Repository","Graphics and Media","game","Svg/Canvas",":books: Libraries","Canvas","Frameworks/Engines/Libraries"],"sub_categories":["Game engine","其他_文本生成、文本对话","typescript","WebGL","Graphics and Rendering","JavaScript","Browser","iOS"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pixijs.com\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg height=\"150\" src=\"https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1\" alt=\"PixiJS logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.com/package/pixi.js\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/pixi.js.svg\" alt=\"npm package\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmjs.com/package/pixi.js\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/pixi.js\" alt=\"npm downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://opencollective.com/pixijs\"\u003e\u003cimg src=\"https://opencollective.com/pixijs/tiers/badge.svg\" alt=\"open collective\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://pixijs.com/8.x/guides\"\u003eGuides\u003c/a\u003e | \u003ca href=\"https://pixijs.com/8.x/tutorials\"\u003eTutorials\u003c/a\u003e | \u003ca href=\"https://pixijs.com/8.x/examples\"\u003eExamples\u003c/a\u003e | \u003ca href=\"https://pixijs.download/release/docs/index.html\"\u003eAPI Docs\u003c/a\u003e | \u003ca href=\"https://discord.gg/QrnxmQUPGV\"\u003eDiscord\u003c/a\u003e | \u003ca href=\"https://bsky.app/profile/pixijs.com\"\u003eBluesky\u003c/a\u003e | \u003ca href=\"https://x.com/pixijs\"\u003e𝕏\u003c/a\u003e\n\u003c/p\u003e\n\n# PixiJS ⚡️\n\u003e Next-Generation, Fastest HTML5 Creation Engine for the Web\n\n- 🚀 [WebGL](https://en.wikipedia.org/wiki/WebGL) \u0026 [WebGPU](https://en.wikipedia.org/wiki/WebGPU) Renderers\n- ⚡️ Unmatched Performance \u0026 Speed\n- 🎨 Easy to use, yet powerful API\n- 📦 Asset Loader\n- ✋ Full Mouse \u0026 Multi-touch Support\n- ✍️ Flexible Text Rendering\n- 📐 Versatile Primitive and SVG Drawing\n- 🖼️ Dynamic Textures\n- 🎭 Masking\n- 🪄 Powerful Filters\n- 🌈 Advanced Blend Modes\n\nPixiJS is the fastest, most lightweight 2D library available for the web, working\nacross all devices and allowing you to create rich, interactive graphics and cross-platform applications using WebGL and WebGPU.\n\n### Setup\n\nIt's easy to get started with PixiJS! Just use our [PixiJS Create](https://pixijs.io/create-pixi/) CLI and get set up in just one command:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" style=\"border-radius: 10px; filter: drop-shadow(0px 2px 5px #000);;\" alt=\"Screenshot from terminal\" src=\"https://pixijs.io/create-pixi/img/demo.gif\"\u003e\n\u003c/p\u003e\n\n```\nnpm create pixi.js@latest\n```\nor to add it to an existing project:\n\n```\nnpm install pixi.js\n```\n\n### Usage\n```typescript\nimport { Application, Assets, Sprite } from 'pixi.js';\n\n(async () =\u003e\n{\n    // Create a new application\n    const app = new Application();\n\n    // Initialize the application\n    await app.init({ background: '#1099bb', resizeTo: window });\n\n    // Append the application canvas to the document body\n    document.body.appendChild(app.canvas);\n\n    // Load the bunny texture\n    const texture = await Assets.load('https://pixijs.com/assets/bunny.png');\n\n    // Create a bunny Sprite\n    const bunny = new Sprite(texture);\n\n    // Center the sprite's anchor point\n    bunny.anchor.set(0.5);\n\n    // Move the sprite to the center of the screen\n    bunny.x = app.screen.width / 2;\n    bunny.y = app.screen.height / 2;\n\n    app.stage.addChild(bunny);\n\n    // Listen for animate update\n    app.ticker.add((time) =\u003e\n    {\n        // Just for fun, let's rotate mr rabbit a little.\n        // * Delta is 1 if running at 100% performance *\n        // * Creates frame-independent transformation *\n        bunny.rotation += 0.1 * time.deltaTime;\n    });\n})();\n```\n\n### TypeScript\n\nPixiJS supports WebGPU, so its type declarations depend on the WebGPU types. Where those come from depends on your TypeScript version.\n\n**TypeScript 5:** no WebGPU types are built in, so PixiJS adds [`@webgpu/types`](https://github.com/gpuweb/types) for you. No additional setup required.\n\n**TypeScript 6 and 7:** the WebGPU types are built into the `\"dom\"` library, but some releases leave parts out, such as `GPUTextureUsage`. Use [`@types/web`](https://www.npmjs.com/package/@types/web), which has the full set, in place of `\"dom\"`. Remove `@webgpu/types` from `types` if it's there, since it conflicts with the built-in types.\n\n```bash\nnpm install --save-dev @types/web\n```\n\n```json\n{\n  \"compilerOptions\": {\n    \"lib\": [\"esnext\"],\n    \"types\": [\"@types/web\"]\n  }\n}\n```\n\n### Contribute\n\nWant to be part of the PixiJS 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](.github/CONTRIBUTING.md)\nbefore submitting changes.\n\n### License\n\nThis content is released under the [MIT License](http://opensource.org/licenses/MIT).\n\n### Change Log\n[Releases](https://github.com/pixijs/pixijs/releases)\n\n### Support\nWe're passionate about making PixiJS the best graphics library possible. Our dedication comes from our love for the project and community. If you'd like to support our efforts, please consider contributing to our open collective.\n\u003cdiv\u003e\n  \u003ca href=\"https://opencollective.com/pixijs\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://opencollective.com/pixijs/donate/button@2x.png?color=blue\" width=200 /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixijs%2Fpixijs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixijs%2Fpixijs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixijs%2Fpixijs/lists"}