Jump to content
GreenSock

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

heavylifting

Members
  • Posts

    17
  • Joined

  • Last visited

heavylifting's Achievements

  1. That looks good, I'll have a go at that. Thank you.
  2. How can I have the following only becom active when the browser is a certain width, i.e. over 1024px? var actionBurger = gsap.fromTo('.burger', {autoAlpha: 0,}, {duration:0.3, autoAlpha: 1, ease:'power2.out', paused:true}); ScrollTrigger.create({ trigger: ".header", start: "6px top", onEnter: () => actionBurger.play(), onLeaveBack: () => actionBurger.reverse(), }); Thanks
  3. Afraid your example doesn't show up in my browser Mac - Chrome or FireFox?
  4. Thanks, I see what you mean. Though it's odd that when pine I use 'pin: true' it's quite smooth? The only issue then is because it is pined it doesn't stay in the browser frame? https://codepen.io/heavymessing/pen/JjGOapW
  5. Maybe it's a scale thing? At mobile size my version seems to work quite smoothly, at the large scale the jerkier it gets. https://codepen.io/heavymessing/pen/JjGOapW
  6. Sorry. I just didn't want to keep reposting this link over and over again. https://codepen.io/heavymessing/pen/JjGOapW
  7. In my latest version I cleaned up the SVG and paths and I can get it looking smooth on mobile view but not desktop?
  8. Ah! That's cool, and kind of what I'm after, I'll tinker around and see how I get on. Thank you! One thing the lines are very jerky when they come on fast is there a way around that? https://codepen.io/heavymessing/pen/JjGOapW
  9. I'm trying to get an array of paths to reveal themselves when the page is being scrolled down. As you can see from the pen I only have one and it isn't even in the middle of the browsers view. I was wondering if there is a way of doing this using Greensock? I would also prefer it if the edges of the lines where circles, would this be achievable if this were some kind big mask reveal? Thanks
  10. Thanks Point C, How do I skip the duration? If I take it and the tween durations then nothing shows up?
  11. I have the following: var secOne = new ScrollMagic.Scene({ triggerElement: '.section-a', triggerHook: 0, duration: $(window).height() - 100 }) .setTween( new TimelineMax() .add( TweenMax.fromTo(['.section-a .svg-a'], 0.5, { autoAlpha: 0 }, { autoAlpha: 1, force3D: false, ease:Power4.easeNone }) ) .add( TweenMax.fromTo(['.section-a .text-a'], 0.5, { autoAlpha: 0 }, { autoAlpha: 1, ease:Power4.easeNone } ) ) ) .setPin('.section-a') .addTo(controller); Which is fine apart from the fact that the animations have to come in smooth no matter how fast the user scrolling up or down. In this case if the user scrolls to fast then the animated parts suddenly show up. Is there a way to slow down the tween so that no matter if the user scrolling really fast they'll always get a smooth in out response from the animated tween? As you can see I have tried 'ease:Power4.easeNone' and that works to a degree but there's really nothing that stops it from zooming in on a fast scroll movement. Also I know scroll jacking is the work of Beelzebub but I'm being forced into this against better reasoning. Thanks
  12. Wow, thanks Manfred! That's awesome! I'll have a play around with that and see where it goes : ]
  13. Hey PointC Thanks for the links, I have seen the I hate tomatoes guy before but I am not familiar with Blake's work, I check it out. Thanks
×