Hello, is there a way to integrate such an effect with GSAP?
I know I can achieve this effect with css transform translations, but in my case I need to use background-position to animate the movement related to the mouse position.
an idea/approach about what I'm thinking:
.. //
TweenMax.to(".top-image", 1, {backgroundPosition: newvalueX+"px "+newvalueY+"px", ease:Power4.easeInOut})
// ..
ps: The pen is just a preview example for what I'm trying to achieve.
Hope some GSAP guru' drop some knowledge or show me a solution , I'm a newbie in the field...
Thank you,
Best regards!
Alex