Jump to content
Search Community

Ahnaf Ahmed

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Ahnaf Ahmed

  1. 59 minutes ago, mvaneijgen said:

    Hi @Ahnaf Ahmed second post in two years! Can you please keep the post to a minimum, it is a bit much 🤣

     

    Why not create one timeline with one ScrollTrigger? Seems much easier to manage in my opinion and next items can never start before the others have moved. I've moved some of your HTML around and removed the fixed properties from your CSS, so that ScrollTrigger can handle all the pinning for you and thus release them when  you want it to.

     

     

     

     

    You of course want to change something based on the text that is coming in. That you can do by using some clever timing and adding some extra tweens to your timeline. Check it out here I animate the clip-path of the .polygon element each taking 1 second and because there are 4 items and the duration of the last tween is 4 seconds it will exactly line up with the scroll tween that start at second 0 using the position parameter. Hope it helps and happy tweening! 

     

     

     

    @mvaneijgenThis is what I have been trying to create. Thanks for the big help!

    • Like 1
  2. I am trying to recreate the list of works section from the site: https://hanzo.es/

    I found a something similar in the forums and have mentioned the codepen, but I want the list to have a smooth scrub animation as I scroll and need to be able to scroll normally after the end of the section as I will have normal content below it.

    I have attached a screenshot of the section I am trying to recreate from the reference site.

    hanzo.png

    See the Pen poeBgJO by mikeK (@mikeK) on CodePen

  3. Hello,

    I am trying to create an animation where the overlapping pinned sections will do a fade in and out transition with full scroll. I've been searching all over the forums and tried myself but unfortunately not being able to create what I want. Here is a minimal demohttps://codesandbox.io/s/elated-nova-bt0fl4?file=/src/App.js

    By "full scroll", I mean waiting for the transition to complete even if the user forces the scroll to an in-between spot. Similar to how FullPage.js works but with fade transition instead of sliding. 

    In the minimal demo, the transition happens too quickly. However, I also want to achieve a more delayed and smooth transition that is pleasing to the eye, just like every other cool animations created using GSAP!

    Looking forward to some help from the community. 

    Some of the threads from the forums that I have already tried taking help from which are close to what I am trying to achieve are:

     


    I have also attached a screen recording of what I've come up with till now

     

     

     

     

    See the Pen App.js by s (@s) on CodePen

×
×
  • Create New...