Jump to content
Search Community

radial stagger

ianben 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 haven't reached the codepen stage with this one but are there any suggestions for creating a stagger that displays the individual cells in the attached svg in a radial stagger mode? So, the animation starts at top centre and then works its way around the circle gradually building up the entire circle.

Radar_colour.svg

Link to comment
Share on other sites

Hi Manfred,


I'm not sure what the desired outcome is but to use the position parameter with a stagger just put it after the stagger amount.

In the code below the staggerFromTo() will start at a time of 0

 

var clockwise = new TimelineMax()
  .staggerTo('#Radar03 .cls-1',1,{autoAlpha:1},-0.4)
  .staggerFromTo('#Radar03 .cls-1',0.5,{scale:'1'},{scale:'0.8', repeat:1, yoyo:true, transformOrigin:"50% 50%"},-0.7, 0)

 

If you need something else please try to clarify what effect you want. Happy to help.

  • Like 2
Link to comment
Share on other sites

Thanks to both for the help. The outcome of all of this will be (I hope) an animated info graphic of an air defence system - so extremely complex, having your help eases the process somewhat! I really need a team on this but at the moment it's just me and, as you have gathered, I'm a novice at this level of animation. Oh well - onwards and upwards!

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