Lightlines
By pixijs

pixijs-html-source

pixijs3.4k installs

Render live or frozen DOM elements as PixiJS textures.

What it does

Renders live DOM elements or immutable snapshots as PixiJS texture sources for sprites, textures, and meshes.

When to use it

Use when rendering DOM elements or snapshots as textures through the experimental HTML-in-Canvas APIs.

How to use it

It changes how the agent implements PixiJS textures backed by live DOM elements or immutable snapshots.

What you provide

  • An existing project

Latest review

What you need · 2

Requires PixiJS v8 and imports the texture sources from pixi.js/html-source.

Requires the experimental browser API to be enabled in a DOM-capable browser; it is unavailable in Web Workers.


Access · 0

No additional actions listed.