Jump to content
GreenSock

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

Andy1708

ShockinglyGreen
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

1 Newbie

About Andy1708

  • Rank
    Member

Recent Profile Visitors

1,192 profile views
  1. Hello i would like to repat the doHeart function on every blinkEye So on the blinkEyeTween, i set onStart:doHeart, onRepeat: doHeart It work onStart but not onRepeat What am i doing wrong ? Thaks
  2. Sorry Zack, i thought i was lost in the flow… i try to set the video's current time inside the scrollTrigger but it doesn't work ! any idea ? Thanks Andy
  3. Hello, Can you tell me if it is the best way to play the animation with Scrolltriger, gsap and react. Is there another way to acheive this ? I have attached a codepen demo. Thanks in advanced
  4. Andy1708

    Timing animation

    Hello again starting the mainFishTL on my project (see on the codepen). the mouthScaleTween (a scale of the mouth with a yoyo) , the moveFishTween ( a slight up and down movement) and the switchFishTween run after each other and not at the same time… what am i doing wrong ? Thanks for your answer Yves
  5. Yes that make sense for me. But it is possible to repeat 3 time a child timeline (octopusTween timeline) and repeat -1 the mainTL ? i have modified the codepen in this direction. Have a look. Yves
  6. I try the MotionPathPlugin to move the octopus along this path but it seems not to be perfectly synchronize every time in the loop animation. what am i doing wrong ? I put a white stroke to see the path. You can fork the codepen if you want and comment each animation on the mainTl (eyeTween, octopusTween, movePathTween) to see what's happened behind the scene. Thanks for your answer Yves
  7. Andy1708

    gsap utils random

    Thanks for cloning and take time to rewrite and improve the code Jack. hope It will help some other people too !!! you're the best i will show you the whole animation when it's over… Yves
  8. Andy1708

    gsap utils random

    Hi there, i have create this anemone animation with GSAP 3 and morphSVG plugin (codepen URL). I would like to random the movement to make it more natural. I have created this function to create 4 random value between 0.1 and 0.4 : function onRepeat () { var random1 = gsap.utils.random(0.1, 0.4) var random2 = gsap.utils.random(0.1, 0.4) var random3 = gsap.utils.random(0.1, 0.4) var random4 = gsap.utils.random(0.1, 0.4) console.log( random1, random2, random3, random4) } and i would like to use them with my 'start' label in my timeline like this : 'start+={random1}'. How can i do that ? mabe there is another way to achieve that ? Thanks for your answer Yves
  9. Hello, i have this problem with react and splitText... I have replace all the files in the gsap/node_modules from my 'bonus-files-for-npm-users' and import like this : import {TweenMax, Sine, SplitText, ease, Back} from 'gsap'; How can i fix it ? thanks Yves
×