Jump to content
Search Community

Ocean Wave

BT2142
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

Posted

Hey,

 

I found a example for creating waves. However it seems a bit odd to create a new timeline for each segement. See the codepen.

 

Anyone knows its possible to archieve the rame result using a single timeline?

See the Pen XaEgxx by BulleTTime (@BulleTTime) on CodePen.

Posted

Thanks for the demo. Not 100% sure how it all works, but took a stab at this:

See the Pen YxLzjm?editors=1100 by GreenSock (@GreenSock) on CodePen.

 

 

press the runwave button to toggle the paused state of master

  • Like 5
Posted

thanks for the idea of using a master timeline. 

 

the final result:

 

See the Pen ZJozLG by BulleTTime (@BulleTTime) on CodePen.

 

 

 

 

 

 

 

 

  • Like 3

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