I recently saw theprimeageans video about bubblesort and it linked to a blog article with a linked visualization of how bubble sort works. I was wondering, how would other sorting algorithms look with the same animation style? And so the idea for this short was born.
I created the video with remotion in react. The animation tracks all the swaps an algorithm makes and than allocates 2.5 seconds for them to be visualized. This ensures that logical swaps are batched together in frames and the animation is still smooth.
Top comments (0)