Skip to content

akorotky/sorting-visualizer

Repository files navigation

About

Sorting visualizer is a tool for visualizing array sorting algorithms.
I made this project to help me and others learn more about sorting algorithms and to better understand how they work.

Tech Stack

  • Language: Typescript
  • Libraries: React, Redux
  • Build tool: Vite

Sorting algorithms

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Heapsort
  • Mergesort
  • Quicksort
  • Counting Sort
  • Introsort (3 variants)
  • Shellsort
  • Cocktail Shaker Sort
  • Bitonic Sort

Project Features

  • Can choose different sorting algorithms
  • Can shuffle the array to randomize the bars after sorting
  • Can speed up/slow down the sorting animation
  • Can pause or cancel the sorting

Installation

  1. git clone https://github.com/skorotky/sorting-visualizer.git
  2. cd sorting-visualizer
  3. npm install
  4. Run npm run dev to start the development environment at http://localhost:5173/.