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

Type

DuotoneParams

effects/src/duotone.ts:42 ↗
import type { DuotoneParams } from "@vfx-js/effects";

Properties

color1

color1: Rgba

First tone (shadows).

color2

color2: Rgba

Second tone (highlights).

speed

speed: number

Gradient cycling speed. 0 keeps the mapping static.