Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
lance1572

Slide Presentation with animations

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

Hi all!

 

I come from using TweenMax for AS and have now been tasked with creating a slide presentation with audio without using Flash so it can be viewed on ipads etc.

 

Here are my tasks. I have a narrator discussing different slides much like a powerpoint presentation. Each slide could potentially have its own bulleted animations synced with the audio. Each slide progress automatically. The user can scrub forward or backwards and there is a time-code.

 

I have built one already using timesheets.js but it only allows for slide to slide animations not animations within a particular slide or at least thats what I'm getting.

 

i guess its a two-fold question.

 

Can GSAP be integrated with timesheets

 

Or can I build something like I mentioned above with GSAP alone?

 

Many thanks!

 

Lance

 

 

 

 

Link to comment
Share on other sites

Hi lance,

 

I think you'll be better off working with GSAP alone. I can't assume that you could have conflicts with timesheets.js, but since you can build the entire stuff in GreenSock I don't see the need of adding another library.

 

John Polacek made a very slick presentation last year, I can't find the actual slides, but there's a repository in John's Github page with that and a jQuery plugin He created for it. It includes the example mentioned above:

 

https://github.com/johnpolacek/open-source-for-fame-and-fortune

 

That is a very sweet example of a slide presentation.

 

Another solid example is the Jump Started guide made by Carl:

 

http://www.greensock.com/jump-start-js/

 

As you can see you can controll all the events associated with your presentation, including audio, with the great set of event callbacks the engine has and in a slide presentation the use of labels is something you can also take full advantage of.

 

Rodrigo.

  • Like 1
Link to comment
Share on other sites

Whoa! thanks Rodrigo!!! I'll give it a look!!!! Very much appreciated!  I was messing with Toolkitjs for Flash but that seems buggy to me.

Link to comment
Share on other sites

Yeah, I'd probably steer clear of timesheets because:

  1. It seems pretty limited. Like you have to either sequence OR have things run in parallel, but what if you want to have animations overlap or have precise control of the timing? What if you want to animate the timeScale or stagger start times, etc. - these are things that are trivial with GSAP but from my limited understanding of timesheets.js, that'd be impossible.
  2. It seems to not have been updated for around 3 years (stagnant)
  3. GSAP can do everything you're talking about, so there's no need for timesheets.js. 

Disclaimer: I had never even heard of timesheets.js before today when I read your post, so I am certainly no expert on it. Maybe it can do everything you need, but I kinda doubt it. I can say confidently, though, that GSAP can.

 

Here's a CodePen that shows the animation I built for the home page: http://codepen.io/GreenSock/pen/b9133e0af7101adb4d7517f10b34c3ed It's probably more advanced than you're looking for, but my point is that you should be able to accomplish whatever you need with GSAP. 

 

Happy tweening!

  • Like 1
Link to comment
Share on other sites

Yeah, as soon as I read this thread, John Polacek's slides came to mind, but again Rodrigo beat me to it.

 

Here is the direct link to a demo incase you haven't downloaded from github yet:

http://johnpolacek.github.io/open-source-for-fame-and-fortune/

 

It does what it is supposed to do VERY well, and that is allow you to click through many custom slide transitions in a linear fashion. Not only can you click (or scroll) from slide to slide... but you can click through incremental builds of each slide... like each bullet point coming in individually. Furthermore, once you understand how its built, you pretty much just build a bunch of timelines using pure GSAP code and his plugin hooks in all the interactivity / navigation behind the scenes. 

 

It is a great demo illustrating the variety of animation tasks GSAP handles with ease.

 

Just one word of caution, the way his slide show is currently built would make it difficult to add any non-linear navigation. Currently most of his slide-out animations overlap with slide-in animations... So if you are on Slide 4 and you build a nav to jump to Slide 8, when Slide 8 comes in you would see Slide 7 animate out (which would appear awkward).

 

Again, this is just a limitation of how his particular slideshow is currently set up. There are probably dozens of ways to architect something like this and GSAP would give you complete freedom to animate anything at anytime any way you want.

  • Like 1
Link to comment
Share on other sites

Thank you for the response gentlemen! I'm definitely rusty on this since I really havent touched TweenMax AS for sometime (been doing more CSS - Sass responsive dev etc...). So I am ready to jump back in. It seems that I have been missing out on a lot!! Technology goes so fast!!!

 

I remember building out interactive banners and small applications with TweenMax AS and LOVED every minute of it. I know that JS is 'somewhat similar' so it shouldn't be too tough to pick it up. I have a pretty good understanding of JQuery so far.

 

My only hesitation was the audio part. After searching here, I had only found maybe one or two posts on audio and those were saying that audio was limited.

 

 

As far as timesheets go... I had to grab something an go :-D . The deadline put on me for that was unbelievable. :twisted:

 

I'd prefer to ditch that in favor of this!!

 

 

Many thanks!!!

 

Sad I cannot go to NYC for the training!

 

best,

Lance

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