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

Class

DatamoshEffect

effects/src/datamosh.ts:356 ↗
import { DatamoshEffect } from "@vfx-js/effects";

Pseudo-datamosh via a faked H.264 block codec. Passes the input through until enable(), then holds a motion-compensated accumulator so motion smears stale texture around. Mutate params directly or via setParams; toggle the mosh with enable() / disable().

Implements
Effect
Interface members
enableddisposerender

Constructors

new DatamoshEffect()

new DatamoshEffect(initial?: Partial<DatamoshParams> = {}): DatamoshEffect

Properties

params

params: DatamoshParams

Methods

disable

disable(): void

enable

enable(): void

setParams

setParams(partial: Partial<DatamoshParams>): void