pixi-reels
All questions

Anticipation

How do I make the anticipation reel speed up briefly before slowing?

Give the tease a curve whose first segment is a surge above 1: setAnticipation(reels, { curve: [{ speed: 1.4, duration: 200 }, { speed: 0.2, duration: 600 }] }) speeds the reel up before it slows. A profile's accelerationEase and accelerationDuration shape the wind-up at the start of the spin, not the tease.

More in Anticipation