Sort Visualizer

Sort Visualizer

Taught merge, insertion, and bubble sort through an interactive visualization

March 2020
Python

Project Overview

This sorting algorithms visualizer, created with PyGame, displays the merge, insertion, and bubble sort algorithms in action. It was used as a teaching tool in an AP Computer Science class to help students understand these sorting algorithms, particularly the recursive merge sort.

Key Features

  1. Multiple Algorithms: Visualizes merge, insertion, and bubble sort
  2. Step-by-Step Visualization: Can pause after each "step" of the sorting algorithm for clearer understanding
  3. Educational Tool: Used in classroom settings to teach sorting algorithms

Technical Implementation

  • Built using PyGame for graphics and animation
  • Implemented sorting algorithms with visualization hooks
  • Created a pause/resume feature for step-by-step analysis

Demo Video

Future Improvements

  • Add more sorting algorithms (e.g., quicksort, heapsort)
  • Implement comparison mode to show multiple algorithms side-by-side
  • Add interactive features allowing users to create custom datasets