AI AGENT ADDONS

Pixijs Performance

pixijs/pixijs-skills

This skill helps you make your PixiJS v8 app run faster and smoother. You will learn to fix low frame rates, reduce draw calls, and manage GPU memory. It covers key techniques like proper destroy patterns, object pooling, and using cacheAsTexture for static content. You will also discover how to use the Culler for efficient culling and tune garbage collection settings. Whether you are building a game or a complex interactive scene, these tips will keep your app responsive.

Start by profiling your app with browser DevTools to find the real bottleneck. Then apply the targeted pattern: destroy unused objects, pool reusable ones, batch similar draw calls, cache complex subtrees, or cull offscreen content. The skill also explains the PrepareSystem to upload textures to the GPU before rendering, avoiding first-frame hitches. For dynamic text, use BitmapText instead of standard text for better performance. Memory leaks and flickering can happen when restarting an app without proper cleanup. Use releaseGlobalResources to prevent that.

These patterns are tested with PixiJS v8 and its latest features. The guide includes code examples for destroy, texture garbage collection, manual GPU memory release, and more. If you see jank or low FPS, this skill gives you a clear set of actions to take.

Add Pixijs Performance skill to your workflow

Global

mkdir -p ~/.claude/skills/pixijs-performance

Project

mkdir -p .claude/skills/pixijs-performance

Source Repository

Stars
262
Forks
15
Watchers
262
License
MIT
Last Push
1 month ago
Created
3 months ago