immy77 Posted November 13, 2019 Share Posted November 13, 2019 Hi, How can i create this sort of effect with gsap https://perficientdigitallabs.com/work Thanks Link to comment Share on other sites More sharing options...
ZachSaucier Posted November 13, 2019 Share Posted November 13, 2019 Hey immy and welcome to the GreenSock forums. This sort of effect will take some custom logic. How I would approach it: Record the x and y distances of each circle in respect to each other on load (and recalculate them every resize). When one circle is hovered, move each of the other circles away from the hovered one based on the x and y distances that you have recorded. Does that make sense? 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