The callback is as an argument the elapsed times:
The first time this callback is called both of these will be 0 unless seed values were provided.
The callback must return true if it wants to animate again on the next frame and false if done.
true
false
v1.2.0
The callback is as an argument the elapsed times:
The first time this callback is called both of these will be 0 unless seed values were provided.
The callback must return
true
if it wants to animate again on the next frame andfalse
if done.