Six numbers are sorted using bubble sort, with each pass comparing neighboring values and swapping them when the left is larger, gradually pushing the largest remaining value to its correct position on the right. A running swap counter tracks total operations, and the animation highlights how the algorithm detects a pass with zero swaps to exit early. Useful for students learning basic sorting algorithms and time complexity intuition.
16:9 · every frame verified for overlaps, spacing and edges before rendering
Six values sorted by bubble sort: each pass compares neighbours and swaps when the left is bigger, floating the largest to the right; swap counter and early exit when a pass makes no swaps.