
Pixijs Html Source
Turns DOM elements into PixiJS textures using the experimental HTML-in-Canvas browser API. HTMLSource keeps the element live and interactive while mirroring its pixels to the GPU, ElementImageSource captures an immutable snapshot. You need the side-effect import and a feature-detection check since it's behind a browser flag. The element must be a direct child of the canvas with the layoutsubtree attribute set. Useful when you want a form, video, or animated HTML sitting inside your PixiJS scene instead of overlaid on top, though the experimental status means you're accepting API churn between minor releases. Covers autoRequestPaint for continuous animation and the usual texture source lifecycle.
- skills.sh installs
- 5.5K
- GitHub stars
- 365
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pixijs/pixijs-skills --skill pixijs-html-source --agent claude-codeInstalls into .claude/skills of the current project.
Files
Turns DOM elements into PixiJS textures using the experimental HTML-in-Canvas browser API. HTMLSource keeps the element live and interactive while mirroring its pixels to the GPU, ElementImageSource captures an immutable snapshot. You need the side-effect import and a feature-detection check since it's behind a browser flag. The element must be a direct child of the canvas with the layoutsubtree attribute set. Useful when you want a form, video, or animated HTML sitting inside your PixiJS scene instead of overlaid on top, though the experimental status means you're accepting API churn between minor releases. Covers autoRequestPaint for continuous animation and the usual texture source lifecycle.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/pixijs/pixijs-skills
- Categories
- Frontend Development, Testing & QA, Productivity & Planning, Automation & Workflows, Game Development
- First seen
- Jul 14, 2026
More from pixijs/pixijs-skills
All 26- Pixijs8K
- Pixijs Performance7.1K
- Pixijs Application7.1K
- Pixijs Scene Graphics7.1K
- Pixijs Core Concepts7.1K
- Pixijs Assets7K
- Pixijs Scene Sprite7K
- Pixijs Events7K
- Pixijs Scene Container7K
- Pixijs Math6.9K
- 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