Jump to content
Search Community

Infinite Elements using GSAP

ebinabo test
Moderator Tag

Recommended Posts

Hey ebinabo. First off, when creating edits of demos that you've posted in these forums, please make sure to use the "fork" button so that the previous version is retained. That way we have context. Right now your attempt is gone because you've been playing with things.

 

There are two ways to create this sort of effect: 

  1. Do it like the demo that you show does it: you duplicate the content and then use code similar to what you had originally. Just make sure the animation moves all the content but only goes to far enough to where the duplicate is in the exact position as the start - then loop.
  2. Use the modifiers plugin like Shrug suggested. In this case it'd be best to break up each line into its own element (perhaps SplitText would be helpful for that). Then use an approach similar to the one in this thread.
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...