Jump to content
Search Community

Wave effect with svg path

mrstevejobs test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I've seen this amazing website and I noticed a nice effect when mouving the mouse around the right or left sides of the page.

6LIrFx5.gif
They are animating an SVG path as if it was a liquid. In a wavy way.

Any tips to achieve this? I'm totally lost.
I have the path but I have no idea how to "guess" which values should I apply to it to create the wave effect:

https://jsfiddle.net/9o3f8vm4/

 

Thanks!

See the Pen by 9o3f8vm4 (@9o3f8vm4) on CodePen

Link to comment
Share on other sites

Hi mrstevejobs :)

 

Welcome to the GreenSock forum.

 

That seems similar to the waark website. We've had a few threads about that site and bouncy lines. Here are a couple that should help:

 

https://greensock.com/forums/topic/15119-how-to-make-a-bouncy-line-with-gsap/

https://greensock.com/forums/topic/15772-pull-svg-by-mouse-move/

 

Happy tweening.

:)

  • 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.
×
×
  • Create New...