Skip to content

stepper

Read as Markdown

stepper(options) defines fixed-step state such as acceleration, velocity, or constraints. Each playback owns its integration state. Elapsed input is clamped and consumed in fixed increments; seeking recreates the same step sequence.

Related types: PibblAnimationDefinition and PibblStepperOptions.

Returns an opaque immutable stepper definition. Steppers are evaluated by the playback engine, not by the seekable sampler.

stepper: <State, T>(options: Readonly<PibblStepperOptions<State, T>>) => PibblAnimationDefinition<T>

Related API: stepper, PibblStepperOptions, PibblAnimationDefinition.

  • options — Initial state, fixed-step integration, value reader, and completion predicate. See PibblStepperOptions .

A stateful animation definition advanced by fixed simulation steps. See PibblAnimationDefinition .

PibblStepperOptions

PibblAnimationDefinition

View source — packages/core/src/lib/animation/definition.ts:672

Read the Animation and scheduling companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.

Documentation built with @pibbl/core 0.0.2, revision 272a94a. ALPHA — NOT FOR PRODUCTION USE.