Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to customize the speed of animation? #4

Open
dsron2 opened this issue Feb 3, 2023 · 4 comments
Open

Is there a way to customize the speed of animation? #4

dsron2 opened this issue Feb 3, 2023 · 4 comments
Labels
enquiry Questions about this app

Comments

@dsron2
Copy link

dsron2 commented Feb 3, 2023

Environment

What is expected?

What is actually happening?

@dsron2
Copy link
Author

dsron2 commented Feb 3, 2023

Hi, i am not a programmer but this name selector is nice. Well done ! i am curious as to why most name selectors select the name so quickly . Is there a way to extend the time it takes for the name to be selected to enhance the dramatics and possibly have an extended slow down period as the final name is revealed?

@icelam
Copy link
Owner

icelam commented Feb 3, 2023

Hi @dsron2, glad you like my work. The animation length is currently not open as an option for user to customize in the setting panel of the website. However it can be easily changed in the code level.

The following number can control how many items to be display in the reel:

const MAX_REEL_ITEMS = 40;

Where duration of the animation can be configured here:

duration: this.maxReelItems * 100, // 100ms for 1 item

It is currently default to 40 items * 100 millseconds = 4000ms (4 seconds).

I might consider extending this as an option in the app when I am free, however if you need this in a short period of time, you may downloading my code and modify it.

@icelam icelam changed the title Speed Is there a way to customize the speed of animation? Feb 3, 2023
@dsron2
Copy link
Author

dsron2 commented Feb 4, 2023 via email

@zinminoogit
Copy link

background color want to change #337AFF

@icelam icelam added the enquiry Questions about this app label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enquiry Questions about this app
Projects
None yet
Development

No branches or pull requests

3 participants