
Pixijs Math
When you're building interactive PixiJS applications and need to work with transforms, hit detection, or layout math, this skill covers the library's core primitives. It handles Point and ObservablePoint (the reactive wrapper behind Container's position and scale properties), Matrix operations for coordinate transforms, and all the shape classes (Rectangle, Circle, Polygon, etc.) that power hitArea and bounds calculations. The source includes practical patterns for toGlobal/toLocal coordinate conversion, Rectangle layout helpers like pad and enlarge for UI work, and references to pixi.js/math-extras for vector operations and intersections. It's solid reference material for anyone moving beyond basic sprite positioning into custom interactions or camera systems.
- skills.sh installs
- 6.9K
- GitHub stars
- 365
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pixijs/pixijs-skills --skill pixijs-math --agent claude-codeInstalls into .claude/skills of the current project.
Files
When you're building interactive PixiJS applications and need to work with transforms, hit detection, or layout math, this skill covers the library's core primitives. It handles Point and ObservablePoint (the reactive wrapper behind Container's position and scale properties), Matrix operations for coordinate transforms, and all the shape classes (Rectangle, Circle, Polygon, etc.) that power hitArea and bounds calculations. The source includes practical patterns for toGlobal/toLocal coordinate conversion, Rectangle layout helpers like pad and enlarge for UI work, and references to pixi.js/math-extras for vector operations and intersections. It's solid reference material for anyone moving beyond basic sprite positioning into custom interactions or camera systems.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/pixijs/pixijs-skills
- Categories
- Frontend Development, Testing & QA, AI & Agent Building, Game Development
- First seen
- May 16, 2026
More from pixijs/pixijs-skills
All 26- Pixijs Scene Core Concepts6.9K
- Pixijs Scene Text6.9K
- Pixijs Ticker6.9K
- Pixijs Filters6.9K
- Pixijs Scene Particle Container6.9K
- Pixijs Custom Rendering6.8K
- Pixijs Create6.8K
- Pixijs Color6.8K
- Pixijs Blend Modes6.8K
- Pixijs Scene Dom Container6.7K
- Pixijs Scene Mesh6.7K
- Pixijs Environments6.7K
- Pixijs Scene Gif6.6K
- Pixijs Accessibility6.6K
- Pixijs Migration V86.4K
- Pixijs Html Source5.5K
- Pixijs8K
- Pixijs Performance7.1K
- Pixijs Application7.1K
- Pixijs Scene Graphics7.1K
- Pixijs Core Concepts7.1K
- Pixijs Assets7K
- Pixijs Scene Sprite7K
- Pixijs Events7K