pixijs-2d

Build high-performance 2D graphics, particle systems, and interactive canvases with PixiJS WebGL rendering.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/sixscripts-ai/agent-arena-voice --skill pixijs-2d-sixscripts-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pixijs-2d
Source: https://github.com/sixscripts-ai/agent-arena-voice/tree/main/.claude/plugins/claudedesignskills/plugins/bundles/extended-3d-scroll/skills/pixijs-2d
Command: npx skills add https://github.com/sixscripts-ai/agent-arena-voice --skill pixijs-2d-sixscripts-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Rendering thousands of sprites, particles, or animated graphics with plain Canvas2D quickly hits performance limits. This Skill provides complete guidance for PixiJS, a WebGL/WebGPU-accelerated 2D engine that renders up to 100,000+ sprites at 60 FPS, covering everything from basic sprites to custom shader filters. ## Core Features & Use Cases - High-Performance Particle Systems: Use ParticleContainer to render thousands of particles 10x faster than regular containers, with a generator script for fountain, fire, snow, explosion, and starfield effects. - Graphics, Filters & Text: Draw vector shapes programmatically, apply WebGL filters (blur, displacement, color matrix, custom GLSL shaders), and render text with Text or high-performance BitmapText. - Use Case: Imagine building a 2D game HUD overlay on a Three.js 3D scene. Use this Skill to create a transparent PixiJS canvas layered on top, render score text with BitmapText, and add particle effects for explosions—all running at 60 FPS. ## Quick Start Ask the AI to create a PixiJS particle effect, such as a fire particle system with 2000 particles, and it will generate a complete working HTML file.

Frequently Asked Questions about pixijs-2d

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a particle system with PixiJS?

Create a ParticleContainer with dynamicProperties configured for the attributes you need to update, then add Particle instances with a shared texture. Update particle positions and properties in the app.ticker loop for animation.

What is the difference between PixiJS ParticleContainer and Container?

ParticleContainer is optimized for rendering thousands of sprites and runs up to 10x faster than a regular Container, but only supports properties enabled in dynamicProperties. Use it for particles and large sprite counts; use Container for general grouping.

PixiJS vs Canvas2D: which should I use for 2D graphics?

PixiJS uses WebGL/WebGPU acceleration and can render 100,000+ sprites at 60 FPS, making it ideal for games and particle effects. Canvas2D is simpler but much slower for large numbers of moving objects.

Can I use PixiJS with React or Three.js?

Yes. For React, initialize the PixiJS Application inside a useEffect hook and destroy it on cleanup. For Three.js, layer a transparent PixiJS canvas on top of the WebGL canvas to render 2D UI overlays and HUD elements.

Why is my PixiJS animation running slowly with many sprites?

Common causes include using a regular Container instead of ParticleContainer, applying too many filters, or updating Text objects every frame. Switch to ParticleContainer, set filterArea, and use BitmapText for frequently changing text.

How do I apply custom shader filters in PixiJS?

Create a Filter with a GlProgram containing your vertex and fragment GLSL shaders, then pass uniforms through the resources option. Assign the filter to a display object's filters array and update uniforms in the ticker loop.