Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.

Type

RgbShiftParams

effects/src/rgb-shift.ts:57 ↗
import type { RgbShiftParams } from "@vfx-js/effects";

Properties

amount

amount: number

Maximum horizontal channel shift, in CSS px.

speed

speed: number

Time scale applied to the animation.