Skip to content

Sequence runtime

component · /sequence

ImmersiveSequencePlayer

Headless component that applies sampled snapshots to model, camera, controls, renderer exposure, environment intensity, and optional lights.

Key props

PropTypeDescription
sequenceSequenceInputSequence config or payload
modelRefobject refPivot root to animate
controlsRefcontrols refOrbitControls-compatible target/update API
playbooleanTime-based playback
progressnumberDeterministic progress
loopbooleanLoop override
speednumberPlayback speed
startTimenumberInitial seconds
progressRefmutable refPer-frame normalized progress output
onFramecallbackThrottled snapshot callback
onCompletecallbackNon-looping completion callback

Utilities

FunctionPurpose
captureSnapshot(config)Build a keyframe snapshot
applySnapshot(config, snapshot)Merge snapshot into config
sampleSequence(sequence, time)Interpolate at seconds
upsertKeyframe(sequence, config)Add or replace current-time keyframe
createFovWarpSequence(config)Generate starter warp timeline
resolveSequence(input)Unwrap config or payload
sequenceProgressToTime(sequence, progress)Map normalized progress to seconds
sortedKeyframes(sequence)Stable time ordering

Released under the MIT License.