Skip to content

A Responsive Sorting Application for Visualizing various sorting algorithms created using React library.

Notifications You must be signed in to change notification settings

sayihhamza/SortingVisualizer

Repository files navigation

SortingVisualizer

A Responsive sorting application for visualizing various sorting algorithms created using React library.

Databay showcase gif Databay showcase gif















This repo is an attempt to help in learning popular sorting algorithms by visualization

Helps to
  • understand the working of sorting algorithm
  • check total swaps required
  • check total comparisions
  • compare algorithms side by side
  • know the time taken (time is just an approximate unit for comparision)

Features

  • Sort any given array of 2 digits positive integers
  • Alter the speed of execution
  • Start, pause and reset the execution
  • Generate random array of numbers of sorting

Technologies

Features built using

  • Animations are done using FLIP principle
  • Flex is used for array display and manipulation of positions (flex order property)
  • JavaScript async generators are used heavily for the controlled execution of algorithms

Run in your local

  • git clone https://github.com/sayihhamza/SortingVisualizer.git
  • npm install (after navigating inside the directory)
  • npm start