Jump to content
Search Community

New Widget - Timeline Splitter

ajhalls 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 got this idea from looking at one of Blake's codepen's (

See the Pen WRQjJx by osublake (@osublake) on CodePen

) to make it so multi step timeline additions could be manipulated visually. It was pretty easy to do one that would work for a single animation, but took a little time to get the bugs worked out to do multiples.

 

For each item in the incoming data array it will create a pane that can be slid with a handle that will automatically set the timing of that event, and give the one after it the time it should have had.

 

post-36693-0-93787300-1487023920_thumb.png

See the Pen egxpjv by ajhalls (@ajhalls) 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...