Jump to content
Search Community

darkshines

Members
  • Posts

    1
  • Joined

  • Last visited

darkshines's Achievements

0

Reputation

  1. Hello guys, I have been working on this, as a test for me. I chose to do the animation with gsap because I have been using it for over a year now and it's awesome. My goal is to do this with multiple sorting algorithms, thus I have started with the easiest one, the bubble sort, but it seems that at some point the animation glitches when elements swap. I have tried multiple ways to do this, more timelines, no timelines or just tweens but it looks like it glitches at the same point (as you can see in the demo) even though some elements work fine. In the end the algorithms and DOM elements are sorted, but the animation is the problem. Am I missing something? Codepen here : https://codepen.io/mircea-bratu/pen/MWaEGrL Thanks !
×
×
  • Create New...