@aperveil/element
v0.2.4
Published
Custom elements for the Aperveil WebGPU runtime: plain HTML, WordPress and any framework.
Readme
@aperveil/element
Aperveil shaders as custom elements, for plain HTML, WordPress or any
framework. defineShaderElement(tag, definition) registers a shader; every
parameter is an attribute (color-a="#7af0ff") and a property. The element
fires ready and failed, holds its frame with paused, and shows its
slot="fallback" content where WebGPU is unavailable.
