Skip to content

Possibility of a closing animation #90

Description

@pisi

@IsraelThompson had a nice idea of having also a closing animation to complement the opening one in #49. He had some problems implementing it and might have had tapped a bug. But interesting idea indeed, let's discuss it, shall we.

Having a closing animation would expand the options API with:

  • definition of number of spins to be played back in order for the closing animation to happen,
  • definition of closing animation duration. Possibly in seconds, just like the opening option,
  • and maybe even definition of closing-specific speed to use instead of the normal speed.

All very nice. But I'm not sure about the usage scenarios. With the speed, opening and entry options , Reel already empowers you with two independent phases of animation, which both can reel in opposite directions. The first phase limited in duration and the second phase being a neverending self-resuming spin. From my point of view, by adding the closing, instead of having one duration-limited and one unlimited, we would be having three duration-limited phases.

That may look like a gain, but it's an overkill I'm afraid. What I recon instead in this issue is a need to define some sort of limit of how long the regular animation can play at once after "play" has been triggered. So that we can make the second animation phase duration-limited.

Or do we really need 3 phases when there are only 2 possible directions of playback?

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions