Jump to content
Search Community

Elastic drag menu item on hover

redfawx
Moderator Tag

Recommended Posts

Posted

Hi Team,

 

   I've noticed that some modern design agencies are implementing an interaction feature where items will elastically drag from their origin when the mouse hovers over them. Is this something that can be accomplished when using GSAP? If so can someone show me how? I noticed this effect on the desktop menu at https://cuberto.com/

ZachSaucier
Posted

Hey redfawx and welcome.

 

Yes, this sort of effect can be done using GSAP. Here's a thread about it:

 

Here's a canvas implementation: 

 

Another approach:

 

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...