Jump to content
Search Community

Can gsap be used to implement a similar scroll animation on a site?

.mdl test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

  • Solution

Great! This looks like a fun starter project to get a good understanding of SVG shapes.

I would start off by either hand coding the shapes or using a graphics editor to put the graphic together.

Once you have the pieces then you'll need to animate their x and y position and hook it up to scrollTrigger, like so

See the Pen BaRryNg by GreenSock (@GreenSock) on CodePen



Hope this helps, Happy tweening!

  • Like 4
Link to comment
Share on other sites

7 minutes ago, Cassie said:

Great! This looks like a fun starter project to get a good understanding of SVG shapes.

I would start off by either hand coding the shapes or using a graphics editor to put the graphic together.

Once you have the pieces then you'll need to animate their x and y position and hook it up to scrollTrigger, like so
 

 


Hope this helps, Happy tweening!

 

@Cassie Thank you very much for this example, now I understand where to go.

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