Skip to content

fearless23/Visualize_Sorting_Methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VISUALIZE SORTING

Netlify Status contributions welcome HitCount

Dependencies

  • Bulma npm version

Dev Dependencies

  • Parcel Bundler npm version
  • TypeScript npm version

Visualize different sorting techniques used in software engineering.

  • Choose a Speed, Size, Sorting method and click RUN
  • After that you have 3 controls viz: Resume, Play, Stop

Colors in Canvas (LEGEND)

  • Blue: Normal
  • Green: Base Pointer(s)
  • Violet: Comparing to (can be thought as other pointer)
  • Grey: Already sorted Elements
  • Orange: While comparing, some element is found swap worthy. Green Orange are usually swapped.
  • Light Orange: To show left side of merge sort and quick sort.
  • Dark Orange (Reddish Orange): To show right side of merge sort and quick sort.
const colors = {
  pointer: "#0b6623",
  comparing: "#7f00ff",
  normal: "#44a6c6",
  sorted: "#d0d0d0",
  swap: "orange",
  swapLeft: "#FF9F00",
  swapRight: "#FF4F00"
};

Developed by: Jaspreet Singh(@fearless23)

Check Github Repo for code.

Website on Netlify

Contributing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published