Jump to content
Search Community

ZachSaucier last won the day on October 22 2023

ZachSaucier had the most liked content!

ZachSaucier

Moderators
  • Posts

    7,502
  • Joined

  • Last visited

  • Days Won

    202

Posts posted by ZachSaucier

  1. 6 hours ago, AnandP said:

    We are trying to use that hover only for a section not the whole page. How do we do that?

    You can put the element to follow the hover inside of that section and have overflow: hidden on the section. You might want to still keep the pointer move listener on the window.

     

    If you are having trouble, please make a new thread with a minimal demo showing the issue and someone will be sure to help out :) 

    • Like 2
  2. Hey AwSick and welcome to the GreenSock forums.

     

    Which delay are you trying to reduce? I'm guessing the big change in scale at the end of your timeline? 

     

    You're using a set numerical value as the position parameter, which put the tween at the given second in time of the timeline. It's useful in some circumstances but usually other methods of positioning using the position parameter are more help, especially ones that let you position tweens relative to other tweens in the timeline. I strongly recommend going through the position parameter post. I also suggest going through the most common GSAP mistakes as you're making a couple of them.

    • Like 2
  3. 10 minutes ago, echorley said:

    depending on what the user has selected/completed

    So it's a configurator of sorts then. That means that either:

    1. You have a different video (or GIF) for each possible configuration. Then you swap out which one is shown based on the selection. Or
    2. You have a WebGL model (or models) where you can toggle the display of various parts depending on what the user selected.

    In both cases, most of the work will probably be before any code is written. Most of the work is setting up the models and other assets. It'd probably be best to use a program like Blender to create the models. If you haven't done something like this before, it might be worth hiring someone to help you with the models.

     

    In any case, it doesn't seem like you have clear enough requirements for hiring a software developer right now :) 

  4. Hey DoPhuongAnh and welcome to the GreenSock forums.

     

    Here's how I'd break down this effect:

    • Position all of the text, one after another, around a circle. You've already done most of this! The text will overlap at this point.
    • Select all of the parts of the text for each segment (in the case of the site you linked that means each person's name). Store this for reference.
    • Keep a reference of which part is currently active.
    • Whenever the active segment changes, rotate the circle so that the active one is where you want it. Also animate the transparency of all of the segments that are off screen to 0. Animate the transparency of the segments next to the active one to a value like 0.7 or so. Animate the transparency of the active segment to 1.

    Hopefully that will help you get a bit further than where you are now :) 

    • Like 7
  5. Hey Marc. This is simply because of how your CSS is set up. Each line has the overflow hidden, but some characters go more than the current line height. You can see that it's the issue if you remove your CSS for the line height.

     

    There's not a simple fix for that sort of situation. One solution is to use the default line height and translate the lines minorly instead. Then when SplitText is done and you revert the HTML you could add back in your line height.

    • Like 4
  6. 11 minutes ago, TurdFerguson said:

    Is there something with the authentication that I'm missing?

    No, there's no client-side authentication for GSAP files.

     

    Currently your site is giving a 404 for the DrawSVG file (the current URL it's looking at is /ektest/content/gsap-simply-green/esm/DrawSVGPlugin.js which I found using the Network tab in the dev tools). I'm guessing the path is wrong. But you also want to be using the minified, non-modules version, not the ESM version as Jack said.

    • Like 2
  7. Hey joaooliva and welcome to the GreenSock forums.

     

    Have you gotten what you wanted working in a minimal form first? If so, then the issue is just converting it to Webflow. If not, please try to make a minimal demo first :) If you still have a question let us know.

    • Like 2
  8. Hey informanimated and welcome to the GreenSock forums.

     

    13 minutes ago, informanimated said:

    How can the animation direction be reversed?

    You'd need to position it so that one copy is to the left of the viewport instead of to the right, making sure that the wrapping is happening for the updated positioning. You'd also need to change the sign of the x value in the animation. 

    • Like 5
×
×
  • Create New...