nickraps Posted February 5 Share Posted February 5 Hi, is there a way to build the highlight and pan-to effects like in this one: https://www.air.org/magnifying-teachers-successes The graphic and highlight in this one happens purely in a single Canvas element. So it's hard to tell how the calculation is done to highlight the exact element. This one is made with https://shorthand.com/ Is it possible to achieve the same effects with GSAP (or with an additional library)? What's the general approach? Thanks. Link to comment Share on other sites More sharing options...
Rodrigo Posted February 5 Share Posted February 5 Hi, Absolutely is mostly about scaling and positioning more than anything, I'd use transforms for the whole thing in order to have better performance. I'd strongly recommend you to get started without ScrollTrigger and once you have an animation that actually works the way you intend you can add ScrollTrigger back to the mix. Happy Tweening! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now