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

Type

VFXCaptureRect

vfx-js/src/types.ts:595 ↗
import type { VFXCaptureRect } from "@vfx-js/core";

Where a captured element is. CSS px, relative to the viewport, like getBoundingClientRect().

x / y are measured at the start of every rendered frame. width / height are the element's size when the current texture was captured, so the texture is never stretched after a resize.

Properties

height

readonly height: number

width

readonly width: number

x

readonly x: number

y

readonly y: number