DampedTransitioner

constructor(timer: Timer, scheduler: AnimationScheduler, decelerationTime: Measure<Time> = 1 * seconds, dampLevel: Measure<InverseUnits<Time>> = 10 / seconds)(source)

Parameters

timer

used to track current time

scheduler

used to manage animation

decelerationTime

indicating how quickly stops should decelerate to 0 velocity

dampLevel

indicating how much critical damping should be applied during stopping