Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.
Class
LightStreakEffect
effects/src/light-streak.ts:309 ↗import { LightStreakEffect } from "@vfx-js/effects";Light-streak effect (anamorphic flare / aperture starburst) built from
instanced streak sprites. Mutate params directly or via setParams;
uniforms are read live each frame, so a reactive UI (e.g. Tweakpane)
can bind straight to effect.params.
- Implements
-
Effect - Interface members
-
disposeoutputRectrender
Constructors
new LightStreakEffect()
new LightStreakEffect(initial?: Partial<LightStreakParams> = {}): LightStreakEffect
Properties
params
params: LightStreakParams
Methods
setParams
setParams(updates: Partial<LightStreakParams>): void