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

Custom speed/accuracy function for a scene #73

Open
pierreleripoll opened this issue Dec 4, 2018 · 1 comment
Open

Custom speed/accuracy function for a scene #73

pierreleripoll opened this issue Dec 4, 2018 · 1 comment

Comments

@pierreleripoll
Copy link

Hi ! First of all, great job, real cool stuff here.

I had an idea, could it be possible to add more customization for each scene ?
I mean when someones says something sad he's not supposed to have the same speed/rythm than when he says something happy or else...
As a way to handle this I was thinking of adding speed and accuracy for each scene instead of each character.
I was also thinking for even more customization could we passed functions for speed ?
Like if I say speed = function(time) { return time2}, and then the character would speed up during the scene following a y=x2 rule. What do you think ?

I would be more than happy to help btw !

@zhouzi
Copy link
Owner

zhouzi commented Dec 9, 2018

@pierreleripoll thanks for the kind words! ☺️ It is indeed a great idea and I'd be happy to have such feature in TheaterJS. I haven't played with the code for a long time now but as far as I remember, the current implementation is not quite ready for it. It'd probably involve a lot of work but feel free to give it a try!

@zhouzi zhouzi changed the title Speed by function Custom speed/accuracy function for a scene Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants