Bouncing DVD Logo
bouncingdvdlogo.com
Bouncing DVD Logo
1–10 of 293 posts
Re: Bouncing DVD Logo
#2Re: Bouncing DVD Logo
#3Makes me think of this https://www.youtube.com/watch?v=QOtuX0jL85Y
Re: Bouncing DVD Logo
#4Re: Bouncing DVD Logo
#5Jesus it's 2020 at least use requestAnimationFrame!
Re: Bouncing DVD Logo
#6Re: Bouncing DVD Logo
#7Makes me think of this https://www.youtube.com/watch?v=QOtuX0jL85Y
I watched the site for a bit just to see if it would hit the corner.
Re: Bouncing DVD Logo
#8I was wondering why the animation was so stuttery and then I saw they are using setInterval for the animation... Jesus it's 2020 at least use requestAnimationFrame! https://flaviocopes.com/requestanimationframe/
Re: Bouncing DVD Logo
#9https://nikital.github.io/screensaver
(But then it would troll you just before hitting it)
Re: Bouncing DVD Logo
#10I was wondering why the animation was so stuttery and then I saw they are using setInterval for the animation... Jesus it's 2020 at least use requestAnimationFrame! https://flaviocopes.com/requestanimationframe/
setInterval isn't the problem. He's animating the CSS position (top, left), which triggers a full reflow and causes the stuttering. Always animate with translate3d, which is GPU accelerated.