← Project history & credits

Browser adaptation · 2026

Sorting, in motion

Follow each comparison and swap in quicksort, heapsort, and bubble sort.

Your browser needs canvas support to draw the visualization.

Loading interactive controls…

How to explore

Use one array for all three algorithms. Step forward or back, or play at your own pace. Blue bars mark the current comparison or swap. Counters show actual operations, not wall-clock benchmarks.

About this version

Small fixed datasets make individual operations visible. These operation counts are educational, not a performance benchmark.

New visualizations of algorithms explored in the 2017 Python/Tkinter project by Andrés Brenes, Axel Fernández, and Iván López. Bubble sort is added as a comparison.

Read about the original project · All demos