GitHub - pixijs/pixijs: The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer. · GitHub
https://github.com/pixijs/pixijs • 336 KB fetched Open original page
GitHub - pixijs/pixijs: The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer. · GitHub
Skip to content
Navigation Menu
Sign in Appearance settings
* Platform
* AI CODE CREATION
* GitHub Copilot Write better code with AI
* GitHub Copilot app Direct agents from issue to merge
* MCP Registry Integrate external tools
* DEVELOPER WORKFLOWS
* Actions Automate any workflow
* Codespaces Instant dev environments
* Issues Plan and track work
* Code Review Manage code changes
* Code Quality Enforce quality at merge
* APPLICATION SECURITY
* GitHub Advanced Security Find and fix vulnerabilities
* Code security Secure your code as you build
* Secret protection Stop leaks before they start
* EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
View all features
* Solutions
* BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits
* BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases
* BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
View all solutions
* Resources
* EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics
* EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills
* SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
View all resources
* Open Source
* COMMUNITY
* GitHub Sponsors Fund open source developers
* PROGRAMS
* Security Lab
* Maintainer Community
* GitHub Stars
* Archive Program
* REPOSITORIES
* Topics
* Trending
* Collections
* Enterprise
* ENTERPRISE SOLUTIONS
* Enterprise platform AI-powered developer platform
* AVAILABLE ADD-ONS
* GitHub Advanced Security Enterprise-grade security features
* Copilot for Business Enterprise-grade AI features
* Premium Support Enterprise-grade 24/7 support
* Pricing
Search /
Sign in
Sign up Appearance settings
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
Uh oh!
There was an error while loading. Please reload this page .
pixijs
/
pixijs
Public
*
Uh oh!
There was an error while loading. Please reload this page .
*
Notifications
You must be signed in to change notification settings
*
Fork
5.1k
*
Star
48.1k
*
Code
*
Issues
286
*
Pull requests
57
*
Discussions
*
Actions
*
Projects
*
Wiki
*
Security and quality
0
*
Insights
Additional navigation options
*
Code
*
Issues
*
Pull requests
*
Discussions
*
Actions
*
Projects
*
Wiki
*
Security and quality
*
Insights
dev
Branches Tags
Go to file
Code Open more actions menu
Latest commit
History
8,762 Commits
8,762 Commits
Folders and files
Name Name Last commit message
Last commit date
.configs
.configs
.github
.github
.husky
.husky
.stackblitz
.stackblitz
.vscode
.vscode
examples
examples
playground
playground
scripts
scripts
skills
skills
src
src
tests
tests
transcoders
transcoders
types
types
.editorconfig
.editorconfig
.gitattributes
.gitattributes
.gitignore
.gitignore
.huskyrc
.huskyrc
.npmrc
.npmrc
.nvmrc
.nvmrc
LICENSE
LICENSE
README.md
README.md
eslint.config.mjs
eslint.config.mjs
package-lock.json
package-lock.json
package.json
package.json
tsconfig.json
tsconfig.json
View all files
Repository files navigation
*
* README
* Code of conduct
* Contributing
* MIT license
More items
Guides | Tutorials | Examples | API Docs | Discord | Bluesky | 𝕏
PixiJS ⚡️
Next-Generation, Fastest HTML5 Creation Engine for the Web
* 🚀 WebGL & WebGPU Renderers
* ⚡️ Unmatched Performance & Speed
* 🎨 Easy to use, yet powerful API
* 📦 Asset Loader
* ✋ Full Mouse & Multi-touch Support
* ✍️ Flexible Text Rendering
* 📐 Versatile Primitive and SVG Drawing
* 🖼️ Dynamic Textures
* 🎭 Masking
* 🪄 Powerful Filters
* 🌈 Advanced Blend Modes
PixiJS is the fastest, most lightweight 2D library available for the web, working
across all devices and allowing you to create rich, interactive graphics and cross-platform applications using WebGL and WebGPU.
Setup
It's easy to get started with PixiJS! Just use our PixiJS Create CLI and get set up in just one command:
npm create pixi.js@latest
or to add it to an existing project:
npm install pixi.js
Usage
import { Application , Assets , Sprite } from 'pixi.js' ;
( async ( ) =>
{
// Create a new application
const app = new Application ( ) ;
// Initialize the application
await app . init ( { background : '#1099bb' , resizeTo : window } ) ;
// Append the application canvas to the document body
document . body . appendChild ( app . canvas ) ;
// Load the bunny texture
const texture = await Assets . load ( 'https://pixijs.com/assets/bunny.png' ) ;
// Create a bunny Sprite
const bunny = new Sprite ( texture ) ;
// Center the sprite's anchor point
bunny . anchor . set ( 0.5 ) ;
// Move the sprite to the center of the screen
bunny . x = app . screen . width / 2 ;
bunny . y = app . screen . height / 2 ;
app . stage . addChild ( bunny ) ;
// Listen for animate update
app . ticker . add ( ( time ) =>
{
// Just for fun, let's rotate mr rabbit a little.
// * Delta is 1 if running at 100% performance *
// * Creates frame-independent transformation *
bunny . rotation += 0.1 * time . deltaTime ;
} ) ;
} ) ( ) ;
Contribute
Want to be part of the PixiJS project? Great! All are welcome! We will get there quicker
together :) Whether 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.
Make sure to read the Contributing Guide
before submitting changes.
License
This content is released under the MIT License .
Change Log
Releases
Support
We'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.
About
The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
pixijs.com
Topics
canvas canvas2d data-visualization game glsl javascript pixi pixijs renderer rendering rendering-2d-graphics rendering-engine webgl
Resources
Readme
MIT license
Code of conduct
Code of conduct
Contributing
Contributing
Activity
Custom properties
Stars
48.1k stars
Watchers
977 watching
Forks
5.1k forks
Report repository
Releases
Sponsor this project
Packages
Used by
Contributors
Languages
Footer
(c) 2026 GitHub, Inc.
Footer navigation
*
Terms
*
Privacy
*
Security
*
Status
*
Community
*
Docs
*
Contact
*
Manage cookies
*
Do not share my personal information
You can’t perform that action at this time.
Links found on this page
- Skip to content [direct]
- Sign in [direct]
- GitHub Copilot Write better code with AI [direct]
- GitHub Copilot app Direct agents from issue to merge [direct]
- MCP Registry Integrate external tools [direct]
- Actions Automate any workflow [direct]
- Codespaces Instant dev environments [direct]
- Issues Plan and track work [direct]
- Code Review Manage code changes [direct]
- Code Quality Enforce quality at merge [direct]
- GitHub Advanced Security Find and fix vulnerabilities [direct]
- Code security Secure your code as you build [direct]
- Secret protection Stop leaks before they start [direct]
- Why GitHub [direct]
- Documentation [direct]
- Blog [direct]
- Changelog [direct]
- Marketplace [direct]
- View all features [direct]
- Enterprises [direct]
- Small and medium teams [direct]
- Startups [direct]
- Nonprofits [direct]
- App Modernization [direct]
- DevSecOps [direct]
- DevOps [direct]
- CI/CD [direct]
- View all use cases [direct]
- Healthcare [direct]
- Financial services [direct]
- Manufacturing [direct]
- Government [direct]
- View all industries [direct]
- View all solutions [direct]
- AI [direct]
- Software Development [direct]
- DevOps [direct]
- Security [direct]
- View all topics [direct]
- Customer stories [direct]
- Events & webinars [direct]
- Ebooks & reports [direct]
- Business insights [direct]
- GitHub Skills [direct]
- Customer support [direct]
- Community forum [direct]
- Trust center [direct]
- Partners [direct]
- View all resources [direct]
- GitHub Sponsors Fund open source developers [direct]
- Security Lab [direct]
- Maintainer Community [direct]
- GitHub Stars [direct]
- Archive Program [direct]
- Topics [direct]
- Trending [direct]
- Collections [direct]
- Copilot for Business Enterprise-grade AI features [direct]
- Premium Support Enterprise-grade 24/7 support [direct]
- Pricing [direct]
- Sign up [direct]
- pixijs [direct]
- Notifications [direct]
- Issues
286 [direct]
- Pull requests
57 [direct]
- Discussions [direct]
- Actions [direct]
- Projects [direct]
- Wiki [direct]
- Security and quality
0 [direct]
- Insights [direct]
- Branches [direct]
- Tags [direct]
- 8,762 Commits [direct]
- .configs [direct]
- .github [direct]
- .husky [direct]
- .stackblitz [direct]
- .vscode [direct]
- examples [direct]
|
|