Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.
Class
ChromaticEffect
effects/src/chromatic.ts:60 ↗import { ChromaticEffect } from "@vfx-js/effects";Effect interface.
Lifecycle hooks:
init: called once on effect registerupdate: called every frame, beforerenderrender: called every frame. Bypassed if omitteddispose: called once on removal
outputRect declares the rect this stage writes into, in
element-local physical px. Defaults to the source rect (no growth).
Constructors
new ChromaticEffect()
new ChromaticEffect(initial?: Partial<ChromaticParams> = {}): ChromaticEffect
Properties
params
params: ChromaticParams
Methods
setParams
setParams(updates: Partial<ChromaticParams>): void