pixijs

From public sources

PixiJS is an open-source HTML5 2D rendering library for building fast, interactive graphics and games on the web using WebGL and WebGPU.

LibraryCategory: Libraries & SDKs · Animation & 3DOpen sourcedata checked Oct 15, 2026

Overview

Building rich 2D graphics, animations and interactive content for the browser usually means wrestling with low-level canvas or WebGL code. PixiJS is a fast, lightweight 2D rendering library that handles this for you, offering a flexible API for sprites, text, primitives, masks, filters and blend modes, plus an asset loader and full mouse and multi-touch support. It renders through WebGL and WebGPU, so the same code runs across desktop and mobile devices. You can scaffold a project with the PixiJS Create CLI or add the pixi.js package to an existing npm project, then build interactive graphics, data visualizations or browser games. PixiJS is released under the MIT License and is aimed at front-end developers, creative coders and game developers who need a performant 2D engine for the web.
  • animation
  • canvas
  • canvas2d
  • data-visualization
  • game
  • glsl
  • javascript
  • pixi
  • pixijs
  • renderer
  • rendering
  • rendering-2d-graphics

Installation

Commands are shown, never run by the marketplace. Check them against the official documentation.
  • Language package registrynodejsFrom public sourcesfrom the package manifest — publication on the registry is not verified
    npm install pixi.js

    Not verified: check that this package in the registry belongs to this project before installing.

    www.npmjs.com/package/pixi.js ↗
  • Build from sourceFrom public sourcesfrom catalog metadata

    Build from source: no validated build recipe — follow the repository instructions.

    github.com/pixijs/pixijs ↗

Compatibility

Unknown means no evidence was found — not that the product is incompatible.
PlatformStatusArchitectureEvidenceConfidence
Node.jsCompatible—package manifest: package.json name0.60
PythonUnknown———
JVMUnknown———
.NETUnknown———
WebAssemblyUnknown———
Web browserUnknown———

Releases

checked Oct 29, 2026
v8.22.0LatestOct 1, 2026Official source ↗

Files in 8.22.0

The marketplace does not host these files: downloads go to the official source. Files have not been scanned by us.
FilePlatformSizeSHA-256Download from the official source
advanced-blend-modes.jsother36.9 KBa15dd33b5118…Official source ↗
advanced-blend-modes.js.mapother66 KBa5591262ffb6…Official source ↗
advanced-blend-modes.min.jsother30.9 KB18c73fc95ca2…Official source ↗
advanced-blend-modes.min.js.mapother62.2 KBa140392e8ec7…Official source ↗
gif.jsother44.3 KBd0ee8ae69c6e…Official source ↗
gif.js.mapother86.2 KB7506b469ef77…Official source ↗
gif.min.jsother14.6 KB9a0f89c376c3…Official source ↗
gif.min.js.mapother70.2 KB5c164ee8b17a…Official source ↗
html-source.jsother14.1 KB08d1138d1f4c…Official source ↗
html-source.js.mapother36.3 KB9e22d6285d6d…Official source ↗
html-source.min.jsother4.5 KB02399b3a8608…Official source ↗
html-source.min.js.mapother32.6 KB11a8bd0c18e6…Official source ↗
math-extras.jsother6.6 KBfa92de55d6be…Official source ↗
math-extras.js.mapother20.2 KBbdd6155b3638…Official source ↗
math-extras.min.jsother2.8 KB346a8523084b…Official source ↗
math-extras.min.js.mapother15 KB49752f7d4cc1…Official source ↗
pixi.jsother2.4 MB27bcdad5c17f…Official source ↗
pixi.js.d.tsother1.6 MB68690cc14ca9…Official source ↗
pixi.js.mapother5.2 MB212148d925e4…Official source ↗
pixi.min.jsother821 KB06d9ef9823e7…Official source ↗
pixi.min.js.mapother4.5 MBbd0363c22680…Official source ↗
pixi.min.mjsother821.6 KB66257bc46776…Official source ↗
pixi.min.mjs.mapother4.5 MB71aaa2ddb9c2…Official source ↗
pixi.mjsother2.1 MB8c7c745f667a…Official source ↗
pixi.mjs.mapother5.2 MB4c5ff08b7c53…Official source ↗
unsafe-eval.jsother35.3 KBe5080621b200…Official source ↗
unsafe-eval.js.mapother96.8 KBa0326af27fee…Official source ↗
unsafe-eval.min.jsother15.4 KB80d5eabed0e1…Official source ↗
unsafe-eval.min.js.mapother78.7 KB2fc26b20bb83…Official source ↗
webworker.jsother2.4 MB1838ea392884…Official source ↗
webworker.js.mapother5.2 MB7b47c8d05d4c…Official source ↗
webworker.min.jsother847.4 KBe2508e4a71c2…Official source ↗
webworker.min.js.mapother4.5 MB4cd94be7c966…Official source ↗
webworker.min.mjsother848 KB0380fc21425e…Official source ↗
webworker.min.mjs.mapother4.5 MB5ac919e06d34…Official source ↗
webworker.mjsother2.2 MBfc67d7358514…Official source ↗
webworker.mjs.mapother5.2 MB9a5ce1a2ab17…Official source ↗

Release history

Quality profile

algorithm quality-v1.0 · assessed Oct 15, 2026
Quality Score100
Risk Score0
Confidence 1.00
Quality Score and Risk Score are different measures. A high score does not guarantee safety.

Score components

Maintenance · 2020
last activity 1 days ago
Documentation · 1515
README 4974 chars, description present
Ready to use · 1515
install instructions: yes; releases: yes
Metadata · 1010
4/4 of description, homepage, license, topics
Releases · 1010
10 release(s), latest 14 days ago
Category confidence · 1010
classifier confidence 1
Adoption · 1010
48387 stars (log-dampened, 10k = max)
License clarity · 55
SPDX MIT
Community · 55
issues enabled, 5097 forks

License

MIT
Known licensefrom the repository host

This is the catalog policy status, not legal advice.

Sources

github.com/pixijs/pixijsPrimary★ 48,387 starslast activity Oct 14, 2026Primary repository · Confidence 1.00

Reviews

Sign in to write a review

No reviews yet.

Alternatives

README

From pixijs/pixijs · license MIT · fetched Oct 29, 2026

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;
    });
})();

TypeScript

PixiJS supports WebGPU, so its type declarations depend on the WebGPU types. Where those come from depends on your TypeScript version.

TypeScript 5: no WebGPU types are built in, so PixiJS adds @webgpu/types for you. No additional setup required.

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, 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.

npm install --save-dev @types/web
{
  "compilerOptions": {
    "lib": ["esnext"],
    "types": ["@types/web"]
  }
}

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.

Open the repository ↗