layers.mount
mount(name: string, factory: () => LayerRenderer<C>, config: C, opts?: object): voidname | string | |
factory | () => LayerRenderer<C> | |
config | C | |
opts | object |
Returns: void
- Cinematic flythrough — animation as a reading tool
- Custom node layer — author your own LayerRenderer, inject via api.layers
- Custom node shape — replace the node dot with your own shader
- Audio-reactive nodes — spectrum as a texture, not as uniforms
- Media components — video, images and audio with no shader
- Image mosaic — N image URLs, one draw call
- Sci-fi HUD — holographic dossier panels and reticles, two draw calls
- Broadcast monitors — a few nodes play video, the rest don't
- Node dossiers — a whole record as the node