Jump to content
Search Community

petya

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

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

petya's Achievements

  1. Hi again @mvaneijgen and thanks so much for your help! I updated the code a little bit and things generally look ok. I am a bit confused about a couple of things: how can I set up the SCRUB only for the tracker line and not for the fade-in sections? Seems like I can't do that if I'm using 1 ScrollTrigger. Can I create 2 separate ScrollTrigger instances to handle that? is it ok to create to also create a separate ScrollTrigger for the PIN element? If I don't, the footer section overlaps. on-screen resize the whole animation breaks - are. Do you have an idea why this happens? Here is the updated codepen: https://codepen.io/petia182/pen/XWGEVZg
  2. Hello! I'm trying to create an animated content using ScrollTrigger. I have 4 sections that fade in/out on scroll and I have a progress bar that animates when each section fades in. The issue that I'm having is trying to animate a curved SVG line and trying to match the start and end animation with the fading in of the first section. Any help would be much appreciated!
  3. I had this suspicion as well. I will definitely try out without Swiper. Thank you for your help, Zach!
  4. Hi Zach, thank you for the fast reply! It's a good sign that you don't see the lag. On retina I tried Google Chrome - not as laggy (but still worse than the normal display), but Safari and Firefox are definitely laggy. Indeed, I tried removing the black rectangles, but the performance issue is still there (it does get a tiny bit better, but going from min 4.90fps to min 6.31fps, which is still very low). I recorded the performance with Firefox debugger. You can see on the screenshots below that the difference is minimal ...
  5. Hello everyone! I need help with animation performance on RETINA display I have a swiper slider and on slideTranasitionStart I'm animating a mask (covering the whole slider). The animation is very smooth in all browsers. I'm using an external monitor for work but as soon as I drag the browser window to my retina display (MacBook Pro -Retina, 13-inch, Early 2015, macOS Mojave) the animation looks very laggy (lowest fps is around 5-6!) ! I tried 2 main options to do the animation: Adding classes to transform the mask (and only using the most performant css properties transform and opacity on the animated elements). For this option I tried adding will-change property on the animated elements, I replaced translateX with translate3d, I only added transition on the transform property. Using morphSVG plugin to achieve the transforming of the mask (in the codepen demo I'm using this option as it's way less code) Unfortunately both options are still laggy on retina display. Nothing seems to improve the performance on the retina display and I'm running out of options. I'd be very grateful if someone can help out! Thank you
×
×
  • Create New...