Jump to content
Search Community

mib32

Members
  • Posts

    3
  • Joined

  • Last visited

mib32's Achievements

0

Reputation

  1. mib32

    CPU Usage

    Project url is http://okcity.pro This codepen pretty accurately shows the situation on my website - http://codepen.io/MAW/pen/KpjJyB I'll try to post exact codepen if and as soon as i can! Thanks!
  2. mib32

    CPU Usage

    Hi Diaco! Well, i couldn't get significant CPU improvement, but your snippet is still wonderful, it teached me how to get rid of callbacks with repeat: -1, and how to get rid of hardcoding the width, thank you very much for that! It reduced the usage of cpu approximately in a half. I doubt anything could be done more than that. I wonder how its hard for modern CPUs to do such a work. Maybe i should do GIF instead here...
  3. mib32

    CPU Usage

    Hello! I use GSAP to make infinite animation in the header of http://okcity.pro with TweenLite window.cloudsTween = TweenLite.to(clouds, 100, {'background-position-x': "-1739px", ease: Power0.easeNone, onComplete: window.animateClouds}) But i get 50% cpu usage when i view that page. It is better than with CSS animation and jquery, but still is a lot. Could you suggest a method to speed this infinite animation up?
×
×
  • Create New...