SVG that follows scroll

Hi! Not sure if this is the right place for this, but I would LOVE to recreate something the following

I know how to create the SVG animation, but not sure about how to ‘produce’ the animation while the user is scrolling down.

Maybe anyone has experience with something similar or know something which would point me in the right direction.

Thanks a lot!

Found a solution here for anyone interested!