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

Type

BubbleParams

effects/src/bubble.ts:101 ↗
import type { BubbleParams } from "@vfx-js/effects";

Params of BubbleEffect: the foam's own, and the camera's (OrbitCameraParams). All are read every frame. The placement params (depth, bevel, cellSize, cellSizeRandomness, roundness, seed, minSize) place the bubbles again on the CPU, in a worker, when they change: about 30 ms at the defaults on a desktop, and up to seconds for a deep shape (depth 1 or more) or a small minSize. wobble and containment rebuild the grid over them, which is quicker. The last foam is drawn until the new one is ready. Without workers (e.g. a CSP that blocks blob: URLs) the page stalls for that long.

type BubbleParams = OrbitCameraParams & {
    antialias: boolean;
    backdrop: BackdropPatternName | BackdropImageSource;
    backdropAround: boolean;
    backdropColors: BackdropPaletteName | readonly string[];
    backdropDistance: number;
    backdropRatio: number;
    backdropScale: number;
    backdropSoftness: number;
    backdropSpeed: number;
    backdropVisible: boolean;
    bevel: number;
    borderHighlight: number;
    borderWidth: number;
    cellSize: number;
    cellSizeRandomness: number;
    color: string;
    containment: number;
    debug: BubbleDebugView;
    depth: number;
    drain: number;
    iridescence: number;
    lightIntensity: number;
    lightSoftness: number;
    maxLayers: number;
    minSize: number;
    opacity: number;
    pad: number | "fullscreen";
    pointer: BubblePointer;
    reflection: number;
    resolution: number;
    rim: number;
    roundness: number;
    seed: number;
    sourceChannel: SourceChannel;
    speed: number;
    swirlScale: number;
    swirlSpeed: number;
    thickness: number;
    thicknessVariation: number;
    tint: string;
    tintStrength: number;
    wobble: number;
}