AI AGENT ADDONS

Pixijs Environments

pixijs/pixijs-skills

PixiJS is a tool for drawing 2D graphics on the web. Normally it needs a browser window with a Document Object Model (DOM). This skill shows how to make PixiJS work in other places like Web Workers, Node.js servers, or pages with strict security rules. You can run graphics without a full browser environment.

Developers who build games, data visualizations, or server-side rendering will find this useful. The key is the DOMAdapter class. It lets you swap out how PixiJS accesses the DOM. You can use the WebWorkerAdapter to work with OffscreenCanvas in a worker thread. You can also use pixi.js/unsafe-eval for pages that block certain JavaScript functions.

This skill covers setting up adapters, using environment-specific imports, and handling Content Security Policy (CSP). It helps you take PixiJS beyond the browser into new platforms.

Add Pixijs Environments skill to your workflow

Global

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

Project

mkdir -p .claude/skills/pixijs-environments

Source Repository

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