
Description
pixijs-html-source is a PixiJS agent skill for rendering HTML and DOM elements as textures in PixiJS v8 using experimental HTML-in-Canvas browser APIs. HTMLSource mirrors a live element's pixels to the GPU while the element stays editable and clickable; ElementImageSource wraps a frozen snapshot that never repaints. Both come from pixi.js/html-source and act as texture sources, so they are shown through a Sprite, Texture or Mesh. The feature is marked experimental: the browser API must be enabled or rendering throws, the agent should feature-detect with canvas.requestPaint, the API may change between minor releases, and it does not work in Web Workers.…
Highlights
- Live DOM elements as PixiJS textures
- Frozen snapshots via ElementImageSource
- Use on Sprites, Textures or Meshes
- Feature detection with canvas.requestPaint
Ratings & Reviews
No ratings yet
Be the first to rate pixijs-html-source.
People also visit

pixijs-environments
Running PixiJS v8 outside a standard browser: Web Workers, OffscreenCanvas
pixijs-html-source FAQ
What is the difference between HTMLSource and ElementImageSource?
HTMLSource mirrors a live element, which stays interactive in the browser. ElementImageSource is an immutable snapshot that never repaints.
What is the install command?
Use `npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-html-source`. The skill is then available to your agent alongside your other skills.
Is this stable?
No. It relies on the experimental HTML-in-Canvas browser proposal, is marked EXPERIMENTAL in PixiJS v8, and may change between minor releases.
Does it work in Web Workers?
No. A worker has no DOM to capture.
Has the skill been security audited?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best pixijs-html-source alternatives?
Popular alternatives to pixijs-html-source include pixijs-scene-dom-container, pixijs and pixijs-environments. See all pixijs-html-source alternatives

