Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
nattha

Deform Circle on mousemove depending on the velocity of the mouse movement

Go to solution Solved by OSUblake,

Recommended Posts

Hi all,

 

I want to recreate this Animation: https://res.cloudinary.com/delicious-cookie/video/upload/v1635782143/Screen_Recording_2021-11-01_at_16.55.02_pwhzt6.mov

 

I'm trying to deform the ball depending on the velocity / acceleration of the mouse. The quicker the movement the narrower the ball gets. Is there a GSAP Plugin that can help me with that?. 

 

muchas gracias in advance.

See the Pen XWazaKa by codekyt (@codekyt) on CodePen

Link to comment
Share on other sites

  • nattha changed the title to Deform Circle on mousemove depending on the velocity of the mouse movement
  • Solution

There's a demo in here that is pretty close to that. And no, you don't need to use React. 

 

 

  • Like 2
Link to comment
Share on other sites

Thank you for the quick response! Works gracefully. I just updated my pen.

  • Like 2
Link to comment
Share on other sites

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.
×