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

Type

DatamoshParams

effects/src/datamosh.ts:303 ↗
import type { DatamoshParams } from "@vfx-js/effects";

Properties

blockSize

blockSize: number

Motion-estimation block size in px.

chromaGain

chromaGain: number

Chroma saturation boost (YCbCr output). 1 = unchanged.

colorSpace

colorSpace: DatamoshColorSpace

Color model. "ycbcr" is 4:2:0 (half-res chroma w/ truncated MV).

dup

dup: number

P-frame duplication: re-apply the frame's motion this many extra times per frame, dragging the accumulator further along the field (the bloom/smear amplifier). 0 = one normal application.

healRate

healRate: number

Chance per block per frame to refresh from the clean frame (0..1). Ramp up to heal the mosh gradually. Works with healThreshold: a block refreshes if either one hits.

healThreshold

healThreshold: number

Refresh blocks whose best motion match is worse than this. Mean abs diff per channel (0..1); 1 = never.

searchRange

searchRange: number

Motion search radius, in steps. Coverage = searchRange * searchStep px.

searchStep

searchStep: number

Pixels per search step. Widens coverage at a fixed candidate count.

useResidual

useResidual: boolean

Add the residual during decode (off = pure motion).

view

view: DatamoshView

Stage shown on the canvas.