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

Type

EffectGeometry

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

Custom geometry for ctx.draw({ geometry }).

Properties

attributes

attributes: Record<string, EffectAttributeDescriptor>

Vertex attributes keyed by name. Names must match the attribute / in declarations in your vertex shader ("position" is conventional).

drawRange

drawRange?: { count?: number; start?: number }

Restrict the draw call to a sub-range of vertices/indices.

indices

indices?: Uint16Array | Uint32Array

Optional index buffer for indexed drawing.

instanceCount

instanceCount?: number

Number of instances for instanced drawing.

mode

mode?: "triangles" | "lines" | "lineStrip" | "points"

Primitive type to draw. (Default: "triangles")