You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Animations where elements move from one place to another have the same duration as any other animation in JSAV. Therefore, when two elements that are beside each other are swapped, they move very slowly. Similarly, when two elements on each end of an array are swapped, they move very fast.
It would be nice if the average moving speed of these animations were equal instead of their durations.
The text was updated successfully, but these errors were encountered:
Yes, it would be nice. But implementing this gets easily complicated. It would be somewhat simple to adjust the duration of the moves to be relative to the distance. However, where it gets complicated is timing the effects with other effects in the animation. If one move takes long, I think other effects (such as highlights, color changes, etc) should take equally long in that step. Or what do you think?
Animations where elements move from one place to another have the same duration as any other animation in JSAV. Therefore, when two elements that are beside each other are swapped, they move very slowly. Similarly, when two elements on each end of an array are swapped, they move very fast.
It would be nice if the average moving speed of these animations were equal instead of their durations.
The text was updated successfully, but these errors were encountered: