Jump to content
Search Community

DW92

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by DW92

  1. Hi. I'm trying to utilize helper function "seamlessLoop".

    I'm trying to use this example: , but have some problems, with that:

    1. When I use  const boxes = gsap.utils.toArray(".box"); and passing that constant to horizontalLoop() function, this happens:
    image.thumb.png.f84a6d938eb8a8866efcf2a7724eb133.png
    but when I pass html selectors directly '.js--pelion-reviews-tape .wrapper .box' it works fine as a loop/marquee.

    The problem I get here is that onChange method doesn't work (doesn't add and remove "active" class).

    Here is my code:

    See the Pen oNVRqJb by DW922 (@DW922) on CodePen



    The only thing I want to achieve here is to have a "marquee", with "active" (center I guess) element highlighted.
     

     

    Thanks for all your help :)

    See the Pen gOvvJee by GreenSock (@GreenSock) on CodePen

  2. Hi!

    I wonder why my animation based on ScrollTrigger, that animates heigh from 0px to "auto" is not affected by duration.

    I am making accordion, that expands on scrollTrigger action, but I can't alter the animation time while the accordion is expanding.

    On the other hand, when I use CSS "transition" property, my expanding animation "jumps" instead of smooth execution, but collapse animation (other way) seems to be working just fine.

    Can you explain to me why is that? And can I do anything to make this work?

    See the Pen NWLOpRY by DW922 (@DW922) on CodePen

  3. Hi,

     

    I have a problem, that some of my co-workers experience lagging and stuttering while browsing a website, that was made using GSAP (ScrollSmoother, ScrollTrigger included).

    The most problematic part is the Hero section with 3 parallax effects, so I included it, as a codepen here. It's just simply a code and some random pictures from the web, because I can't share my own assets on free CodePen plan, but the html/css/js structure is exactly the same, as in my project.

    Can you please take a look and tell me, what can I do to optimize it, as much as I can, in terms of GSAP parameters? I am going a little blind here, because this works perfect on all of my machines (from newest to oldest, with dedicated GPU and integrated one), and all I have is someone else's experience.

    The assets are optimised as well. I made sure, that the pictures are as small and lightweight as they can be, so I'm out of ideas now...

     

    Thanks!

    See the Pen GRXqxZe by DW922 (@DW922) on CodePen

  4. Hi,

     

    I have a problem while using ScrollSmoother and ScrollTrigger together. My animations that depends on ScrollTrigger are broken - part of the animation fires without any transition. E.g. I have an animated text, where I animate it letter, by letter, via Timeline. The problem is - first or even second letter sometimes appear immediately, without any duration.

    Is that a known bug or something that happens only to me?

  5. Hi!

     

    I have an svg with pretty complidated font

    1384480421_Screenshot2023-02-19at16_13_49.png.8999c931866640db258bfb904e4ce89a.png

     

    I would like to make an animation, that imitated handwriting effect.

    i've encountered this topic:


    And as far as I can see there are two ways of doing it - one mentioned is - doing it with multiple masks on svg, and the other one is with open paths method (so I guess I'm gonna need Adobe Illustrator knowledge to do it).

    Can you please explain it to me - how the multiple masks method works? Can you share some tutorials on this topic?

    Is it even possible to do it with a font like that?

    PS. Font name is "Manila" btw.

     

    Thanks!

×
×
  • Create New...