What is happening?
Each bar represents a value. The selected algorithm compares values and moves them into ascending order. The highlighted bars are the current comparison or insertion position; the speed slider changes how many operations are executed per animation frame.