Jump to content
GreenSock

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

misterjworth

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Newbie

About misterjworth

  • Rank
    Newbie
  1. Thanks Carl! Glad it was just something simple amidst all the other complexity. I really appreciate you taking the time to comb through it.
  2. Hey! I'm working on a time visualizer that uses a set of rings to indicate different time increments. There's still a lot of work to do, but I hit a snag I can't figure out. If you look at the codepen, you'll see the animation is looping pretty well in the forward direction (just a small glitch) but if you click anywhere, the animation will reverse, then eventually stop. I can't figure out how to keep it going. As suggested in other threads, I'm using the onReverseComplete to restart the animation, but the function never gets called. I also changed my 0 second animations to 0.0001 seconds
  3. Wow! Thanks so much for taking the time to help. I had a feeling I was taking the long way around the problem. I'll spend some time studying what you did there. What a great lesson!
  4. I'm trying to create an interactive illustration that requires a bunch of coins to be flipped when a button is clicked. I managed to hack together something that works and builds a new timeline every click, but I can't figure out why the very last coin in the series won't animate. I'm new to GSAP and a javascript novice, so it could easily be something very simple. Any insights would be appreciated. http://codepen.io/misterjworth/pen/EjGrGL?editors=001
  5. Thanks for the help! I'm gonna give Diaco's solution a try.
  6. I'm trying to get an animation to use different property values every time it plays. I've put the values into variables and everything works fine using the default values the first time, but I can't figure out how to get the animation to read the new values that are created when you click a button. var jumpHeight = 100; var jumpTime = 1; var boxcolor = "#00ff00"; var jumpBox = new TweenMax("#redbox", jumpTime, {y:(-jumpHeight), backgroundColor:boxcolor, ease: Power1.easeOut, repeat:1, yoyo:true}); //called when you click a button function rePlay(){ jumpHeight = jumpHeight+24; jumpTime
×