Function: emphasizeRegion()
emphasizeRegion(
emphasizeStart,emphasizeEnd,normalSpeed,emphasizedSpeed):SpeedFunction
Defined in: animation/speed/index.ts:254
Speed that emphasizes (slows down) a specific portion of the animation.
Parameters
emphasizeStart
number
Start of the emphasized region (0-1)
emphasizeEnd
number
End of the emphasized region (0-1)
normalSpeed
number = 2
Speed outside the emphasized region
emphasizedSpeed
number = 0.5
Speed during the emphasized region (typically < normalSpeed)