Jump to content
Search Community

Stagger Animation: Loop Through Elements by Column

foxacid test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi all,

 

first post here, so please bear with me.

 

I've adapted the Advanced Staggers demo from the docs to create a "Streamline" effect. Everything works as expected but what I want to do is modify this bit so that the initial line rotation is gradually increased by column instead of flow layout:

 

rotation: i => i * 0.5,

 

Any help on this is much appreciated.

Cheers!

 

 

See the Pen PoWMgOx by foxacid (@foxacid) on CodePen

Link to comment
Share on other sites

Amazing, that's it! I knew you guys had something up your sleeves for this task 😉

 

I see that an easing curve can be applied to the distribute function but I'm wondering if it be possible to reverse direction of the animated property (i.e. a sinusoidal motion with a zero crossing)?

 

Thank you!

Link to comment
Share on other sites

13 minutes ago, OSUblake said:

 

Not sure what you mean, can explain that in more detail?

 

What I meant was that the rotation is zero in the center and goes clockwise towards one edge and anticlockwise to the other.

Actually from: center doesn't quite cut it since the direction is not reversed.

 

See here:

See the Pen NWpxyQE by foxacid (@foxacid) on CodePen

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