Jump to content
Search Community

Androlax

Members
  • Posts

    28
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Androlax's Achievements

  1. Thank you a lot for your answers @Windpixel & @GreenSock. I didn't knew about a lot of methods you just used, I'll keep that in mind for later. @GreenSock What would be the main benefits of going for the complex scenario you mentioned ? What is the benefits over the solution you just made ?
  2. Thank you for your answer, I kinda thought of using timeline, but the problem is, I still want the line to be used as a scroll trigger as you can see in my example. To have that effect of "reading" the text while scrolling down. If It's too hard / impossible to do what I want, the solution I've is to have an animation to "read" all the lines that are visible on screen and lock the scroll till the animation is completed. The main thing needed in my case was to be able to kinda "separate" the logic in two blocks : - What is visible, - What is not, The - What is not part is the easiest one, and already made. The - What is visible part is the hardest one, the ideal scenario would be to : - Start scrolling, - "Pin" the first visible lines and make it "read" the lines - When all those lines has been "read", continue with the normal flow I tried a lot with pin and stuff like that, but I was continuously into the problem of : I still need the lines to be triggered by the scroll, so you could scroll in the pinned element, but it should take into account the amount you scroll and calculate which line you should be read
  3. Hello, I've made a basic animation which reveal text when scrolling. My issue is, when you are just coming to the page, the text is already revealed, but I would like to be able to scroll through the first paragraphs, and then continue on the others one. Here is the codepen as the example : https://codepen.io/androlax2/pen/KKEzdoa Basically, the main issue is, when arriving to the page, as the scroll trigger is triggered by the top of the .line and when the bottom of the viewport reach that top of the .line, it starts the animation. The problem is, when coming first to the page, it should be triggered by the top of the viewport to the top of the first .line classe and then, when animation of reveal are ended on those .line, it should scroll down to the others .line which are working fine. I tried a lot of stuffs, pinning the first paragraphs visible in the paragraph in a div, etc... But it don't works as expected 😕
  4. By the way, if you want something from me (money or anything else) to thank you for your time it would be my pleasure @akapowl
  5. Great, thank you very much, I will look at this in my project and see what it looks like, however, I can put the section in 100vh to make it easier. Thank you again for the help, unfortunately I still know very little about GSAP so I'm quickly limited as I don't have the full spectrum of how it can work, the limitations etc... If ever I can't get what I want, or at least a working version, I'll go to the freelance side (GSAP & Freelance), I've noted everything that has been said. Thanks again!
  6. Hey @akapowl, Of course I understand. I tried my best to find a solution with this parallax section, I feel like it will be kinda complicated I tried to remove the 'overlay reveal effect' effect, to do this horizontal scrolling thing but It bug for some reason. It is obviously possible for me to pay someone (how much?) to help me with this problem. You have already helped me a lot, if you are interested, it would be nice to be able to return the favor
  7. Hey, got another little problem. You will find it on the codepen, I want to have a horizontal scrolling section (you will find it in pink in the codepen), but when the scroll is on the pink section, the little red boxes start to translate to fake the horizontal scrolling but the pinned pink section does not stop. If I pin the horizontal scrolling to the pin of the section it does strange thing. Is there a thing to make both works ? So when the scroll is on the pink section, it scroll horizontally and then the pink section will stay there and wait for the user to scroll completely horizontally. Thanks you again GSAP for your help ❤️
  8. Alright you are a genius ! (That was the easiest thing and did not even think about it aha)! Thanks you a lot again !
  9. Thanks you a lot @akapowl, For the `start: bottom bottom`, It will break only if the section is not `100vh`. I updated your pen there : https://codepen.io/th-o-benoit/pen/PoJBewR You can take a look at the green section, when we scroll to it, it works well, but when the section is ended, the text inside the section is translating too. Is there a way to resolve that ? Again, thanks you for your time ❤️
  10. Yeah of course you can't see it without a little demo aha, I made up a little minimal demo : https://codepen.io/th-o-benoit/pen/ExwpQee As you can see I changed the `start: top top` to `start: bottom bottom` => It breaks if there is a little section (look at the green section), it moves the text inside And another one, I have a section on top with an image on right, and texts on left, I want the image to be pinned till the text is scrolled down entirely (It make it break so) Do you see the problem ? (there are both problem I guess, because the second one is not working even with the `start: top top` Edit: Maybe it has something to do with the `pinnedContainer` option?
  11. Alright, it works pretty well, thanks you. Got a problem on a real world example, if the section have some more content, It will not work properly, I presume I will have to adapt the `end` option ?
  12. Hello @akapowl I updated the codepen : https://codepen.io/th-o-benoit/pen/QWqBame I misunderstand how this can working there ? I think I don't quite understand how everything works here
  13. Hey, I have a problematic with LocomotiveScroll & GSAP, I would like each section to show on top of each other while scrolling basically like this https://codepen.io/JackiePaper/pen/mdPvGPK?editors=1010 It's working well with the ScrollTrigger.create(xxx) if I remove `data-scroll-section` on each section with LocomotiveScroll (because this one manage the transform of the section). A website have done it pretty well there : https://clar.dev/ I tried to reverse engineer this, but could not find for now how they did this. If you have any idea on this problematic
  14. Hey GSAP ! I have a little question. On the codepen the scrollTrigger is not triggered properly after the section scrolling horizontally. I feel like it's triggering while scrolling to bottom when we are in the horizontal section because scrollTrigger is "thinking" we are at the start point to trigger the animation of the next animation "My super title". I imagine I have do calculate more precisely with something like : `start: 'xxx xxx+={OUR CALCULATION HERE}` But I don't know what the `{OUR CALCULATION HERE}` or if there is any other way to do that. Thanks for your help.
×
×
  • Create New...