keyframes
keyframes(options) creates an immutable seekable definition from at least two
values. Optional offsets must be nondecreasing and cover the values; easing may
be one function or one per segment. Numbers interpolate by default, while other
types require a PibblInterpolator.
Related types: PibblAnimationDefinition
and PibblKeyframesOptions.
API details from source
Section titled “API details from source”
Returns an opaque immutable keyframe definition.
keyframes: <T>(options: Readonly<PibblKeyframesOptions<T>>) => PibblAnimationDefinition<T>Related API: keyframes, PibblKeyframesOptions, PibblAnimationDefinition.
Parameters
Section titled “Parameters”options— Keyframe values, timing, easing, and interpolation settings. See PibblKeyframesOptions .
Returns
Section titled “Returns”An immutable animation definition sampling the keyframes. See PibblAnimationDefinition .
See also
Section titled “See also”View source — packages/core/src/lib/animation/definition.ts:589
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Animation and scheduling companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Compose keyframes and springs: Run two independent tracks together, then mark, wait, and repeat. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 2dccb19. ALPHA — NOT FOR PRODUCTION USE.