you need to achieve an animation effect similar to the iPhone X home page of Apple"s official website, that is, the scroll bar gradually enlarges a picture and continues to scroll to show the text. The canvas, used on Apple"s official website does not have too many ideas about how to write it. Most demo are scrolled, that is, they scroll to a certain point to perform the animation until they are finished, but it is not the desired effect. It needs to be scrolled frame by frame with the scroll bar. If the scroll bar scrolls in the opposite direction, the animation is executed in the opposite direction, and the animation stops if you stop scrolling. How to achieve animation effects like this, plug-ins or native js are also available. I hope Daniel will not hesitate to give us advice.