Replies: 1 comment 6 replies
-
Hi @evdevru, I think the const output = document.getElementById("output");
const duration = 5000;
const tweenable = tween({
from: { number: 0 },
to: { number: 100 },
duration,
render: ({ number }) => {
output.innerHTML = Math.round(number);
}
});
tweenable.seek(0.25 * duration); The thing to keep in mind is that you'll need to call |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have counter from 1 to 100. I want to start from easing on state 25 with expired time. I dont no how to calculate executed time if easing is not linear. How can i do it ?
Beta Was this translation helpful? Give feedback.
All reactions