Real-time algorithm visualization with educational interaction controls.

Sorting Visualizer demonstrates how classic sorting algorithms behave through animated comparisons and swaps.
Designed as a teaching tool where users can tweak speed, dataset size, and algorithm choice live.
Algorithm concepts are often hard to internalize from static code alone.
Learners need to see how each step transforms the same input under different strategies.
Render performance
Frequent bar updates can cause frame drops if state updates are not carefully managed.
Algorithm correctness
Visualization logic had to stay aligned with true algorithm semantics.
Control ergonomics
Users needed clear control over speed and reset actions without confusing states.
Step-sequenced animations
Represented operations as ordered steps so UI updates map directly to algorithm events.
Shared dataset lifecycle
Created a consistent generation/reset pipeline to make algorithm comparisons fair.
Control-safe execution
Added guard conditions to prevent conflicting actions during active runs.