PixiJS
The fastest, most flexible 2D WebGL and WebGPU rendering engine for the web.
Repository Health
Technical Analysis
PixiJS is the most widely used open-source 2D rendering engine for the web, used to build everything from browser games to interactive marketing sites and data visualizations. Version 8 rewrote the renderer around a shared-systems architecture that runs the same scene graph on WebGL, WebGPU, or a Canvas2D fallback, so an app written against PixiJS’s API keeps working as browser GPU support evolves.
The library ships as a tree-shakable core with optional extension bundles (GIF playback, HTML text, accessibility, advanced blend modes) that register through a central extensions system, letting projects opt into only the rendering features they need. With tens of thousands of GitHub stars, an active release cadence, and a companion CLI for scaffolding new projects, PixiJS has become a default choice anywhere a canvas needs GPU-accelerated 2D graphics without the overhead of a full 3D engine.
What You Get
- Multi-backend renderer (WebGL2, WebGPU, Canvas2D fallback) chosen automatically per environment via autoDetectRenderer
- A full scene-graph API (Container, Sprite, Graphics, Mesh, Text, ParticleContainer) with transforms, filters, and masking
- An Assets loading/caching system with pluggable parsers for textures, spritesheets, fonts, and compressed-texture formats
- Optional plugin bundles for GIF playback, HTML text, accessibility, advanced blend modes, and web worker rendering
- A CLI (npm create pixi.js@latest) for scaffolding new projects with a working render loop out of the box
Common Use Cases
- Building 2D browser and mobile-web games
- Rendering data visualizations and generative art at high frame rates
- Building interactive ad creatives and marketing microsites
- Powering the canvas layer of design tools, whiteboards, and diagram editors
Under The Hood
Architecture
PixiJS is organized around a shared-systems model in src/rendering/renderers/shared/system — a System interface and SystemRunner (SystemRunner.ts) let the WebGL, WebGPU, and Canvas renderers each compose the same list of systems and render pipes (SharedSystems.ts, SharedRenderPipes) rather than maintaining three parallel implementations. Cross-cutting capabilities (GIF playback, HTML text, accessibility, advanced blend modes) register through a central extensions.add() registry keyed by ExtensionType (src/extensions/Extensions.ts), and the optional Application class (src/app/Application.ts) layers a canvas, ticker, and resize plugin on top of autoDetectRenderer without being required to use the renderer directly — so the core stays usable standalone while Application covers the common app-lifecycle case.
Tech Stack
The codebase is TypeScript-first (96% of the repo by bytes) with a custom Rollup/esbuild build pipeline (scripts/build.mts) that produces both ESM and CJS output plus a granular exports map in package.json for opt-in feature bundles (pixi.js/gif, /html-source, /accessibility, etc.), each with its own dist/lib target. Runtime dependencies are deliberately minimal — eventemitter3 for events, tiny-lru for caching, earcut for polygon triangulation, @webgpu/types for WebGPU typings — keeping the core bundle lean while heavier concerns (GIF decoding via gifuct-js, mobile detection via ismobilejs) stay isolated to their own optional bundles.
Code Quality
The repo carries roughly 190 test files under src/**/__tests__ and tests/, run through Jest (with @pixi/jest-electron to exercise real WebGL/WebGPU contexts) alongside a separate visual-regression suite (test:visual, pixelmatch/pngjs) wired into CI via pull-unit.yml and pull-visuals.yml. Linting goes beyond stock ESLint with project-authored rules (eslint-require-export, eslint-require-modifier, eslint-require-tilde-imports) that enforce documentation and export conventions across the whole src tree, and knip is used to catch unused exports — indicating a codebase that actively guards its own API surface, not just its runtime behavior.
API Design
The public API favors a Flash/ActionScript-style display-list model (Container, Sprite, Graphics, anchor, addChild) that’s immediately familiar to anyone with prior 2D-engine experience, with a single async app.init() call replacing constructor-time setup. Nearly every module ships its own __docs__ folder with prose guides and runnable examples, and the npm create pixi.js@latest CLI scaffolds a working project in one command — lowering the barrier for newcomers considerably compared to engines that require manual renderer/loop wiring.
Used by 11 apps in this directory
anytype-ts
Knowledge Management · Note Taking · Collaboration
A local-first, end-to-end encrypted knowledge OS that lets you build notes, tasks, wikis, and entire apps — with your data stored offline and synced peer-to-peer.
Flowsint
Automation · Developer Tools
A privacy-first, graph-based OSINT investigation platform with 30+ automated enrichers for mapping relationships between domains, IPs, people, and organizations.
GDevelop
Developer Tools · Game Development · Design Tools
No-code, open-source game engine for building 2D, 3D and multiplayer games — publish to iOS, Android, Steam and the web.
Kuku
Note Taking
A local-first, open-source Markdown knowledge workspace for macOS — plain files, personal wiki and Second Brain workflows, AI-assisted diffs, and encrypted sync, built as an Obsidian alternative.
Logseq
Note Taking · Knowledge Management
A privacy-first, open-source knowledge graph platform combining Markdown, Org-mode, bidirectional linking, and local-first storage for building your second brain.
Open Lovable
AI Development
An open-source AI app builder that scrapes a live website and recreates it as a modern React app through chat — built by Firecrawl as a self-hostable example of the Lovable.dev workflow.
Open Scouts
AI Agents · Automation
Create automated AI scouts that continuously search the web and send email alerts when they find what you're looking for.
OpenScreen
Design Tools · Note Taking · Productivity
Free, open-source screen recorder with zooms, annotations, and system audio capture
Recordly
Design Tools · Developer Tools · Productivity
Free, open-source screen recorder and editor for macOS, Windows, and Linux that auto-adds zooms, cursor polish, webcam overlays, and styled frames to your screen captures without any motion-design skills.