Back to ProjectsEducation

Real-Time Sorting Algorithms

Visualizes and compares sorting algorithms in real time with animated bars.

Tech Stack

PythonHTML

Overview

An educational visualization tool that animates popular sorting algorithms — Bubble Sort, Merge Sort, Quick Sort, Insertion Sort, and Selection Sort — in real time. Users can adjust array size and speed, and compare algorithms side by side.

Key Highlights

  • Real-time animated bar visualization
  • 5 sorting algorithms
  • Adjustable speed and array size
  • Side-by-side comparison mode

How I Built It

Python backend generates sorting steps as a sequence of array states. The HTML/JS frontend animates the steps as colored bar charts, with controls for speed and algorithm selection.

Future Vision

Add more algorithms (Heap Sort, Radix Sort), complexity analysis display, and a step-by-step explanation panel.

Links