I think Sahil's way is quite good. When you get new values, rebuild all the animations. For performance and optimization reasons tweens record starting and ending values so that they don't have to keep checking on repeats / restarts.   It would probably be good to throttle or debounce the resize event as they can fire many times a second. In the real world I don't think users spend a lot of time resizing their browser windows when they are viewing a site.    Below is a t
    • Like
    4