Here’s the problem:
my animation should be played out at different speeds according to variable values.
it’s about the flow speed of water in a tube. if i set the value to 10, the animation should last 10 seconds. if i set 1, the whole animation should be played in 1 second.
i used an interval function to control the timeline per js. which works so far, but the performance is terrible afterwards.
does anyone have an idea?