Thank you for the link. I saw it before I even created this post. I can't adjust the height of the step in that version. Firefox will have one height, Chrome will have another height, and Edge will have a third height. This is due to the fact that it does not work with wheel(), but with scroll().
It's okay for me to have a screen that goes beyond that. It's just a beta version)))))
I shot a video showing animation on my website and animation on maxlepinskih. I put my code on his site.
The essence of the video is that in its version, if you scroll quickly, but the screen scrolls the distance you need, that is, the sum of all the steps will be summed up. And in my case, if you scroll quickly, the previous animation ends and a new one starts. That is, it is not summed up, and there are jumps. In my video it is visible. When I open my website and try to spin quickly, it seems that I spin the wheel very slowly, like jumps, although I spin the mouse wheel very quickly.
How do I make a second mouse wheel just prolong the distance?
https://yadi.sk/i/2uJ8dPQ_4CvoZw