Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.
Type
HoloSceneParams
effects/src/holo.ts:206 ↗import type { HoloSceneParams } from "@vfx-js/effects";Shorthands for holo.spot scene settings: each writes its id(s) into settings where it is given, so later values
win, whichever way they are written. null removes the id (the default or the look's value applies again). Values
are checked like any setting: out of range is clamped, with a warning.
Properties
background
background: string | null
The page behind the element, which the lighting adapts to: "black", "white" or a #rgb / #rrggbb colour: scene.background, scene.bgColor.
bow
bow: number | null
The card's bow in mm, 0–2 (the sheet sags, so the light sweeps across it): card.bow.
exposure
exposure: number | null
Exposure in stops (EV), −3 to 3: display.ev.
glare
glare: number | null
Glow around bright points: the share of the light spread into it, 0–0.1: display.glare.
grain
grain: number | null
Film grain amplitude in display code values, 0–0.6; 0 turns it off: grain.amount and grain.on.
lens
lens: number | null
holospot's camera lens: focal length in mm on a 36 × 24 mm sensor, 24–200: dof.lens. It sets the field of
view (62 mm is the 22° camera; shorter is wider with stronger perspective); there is no blur.
pointer
pointer: HoloPointer | null
What the pointer does over the element: "tilt" tilts the card, "light" moves a flashlight over it, "flash"
puts the flashlight at the camera, "none" (the port's) ignores the pointer: motion.pointer.
pose
pose: HoloVec2 | null
Rest pose in degrees, −35 to 35: x turns the face to the right, y tips the top edge toward the viewer: motion.pose.
studio
studio: HoloStudio | null
Light rig: studio.preset. Its lights go over the earlier ones; single lights given later win.
tiltRange
tiltRange: number | null
How far the pointer tilts the card, in degrees, 5–35: motion.tiltRange. It is reached at the element's edge
and applies only while the pointer is over the element, unlike the tilt of GlassEffect and
SwirlParticleEffect (pointer: "tilt": 20° × pointerStrength, reached half a viewport from the element's
centre, wherever the pointer is on the page).
tone
tone: HoloTone | null
Tone curve: display.tone.
wobble
wobble: boolean | null
Slow automatic tilt while the pointer is away: motion.wobble.
wobbleAmp
wobbleAmp: number | null
The wobble's amplitude in degrees, 0–25: motion.wobbleAmp.