Welcome, to our QuickSort Visualizer.
When we first encountered sorting Algorithms, QuickSort was the first Algo that really fascinated us. But the flow behind the scenes was difficult to visualize since QuickSort uses recursive approach to implement Divide and conquer Technique.
So here is our project QuickSort Visualizer which is a visual representation of how QuickSort Algorithm works behind the scenes.
- HTML5
- CSS3
- Bootstrap
- p5 JavaScript
Blue color indicates the elements in comparision.
Red Color indicates the pivot element.
Green Color indicates the element is in sorted positon.
Here you can provide your custom array. The format for input is elements with "," in between. Example : 53,20,11,9.
This is an optional field to generate an array with size specified here , and then filled with random elements.
-
If size of array is specified in Random input section, then it generates array of that size .
Otherwise, It will generate an array of random size filled with random values .
-
Shuffles the elements within the array which is displayed on screen.
-
This is the button(backbone) of the visualizer tool, when clicked visualization get started .
-
To control the speed of the visualization , low implies decreament in spped and high implies increment in speed .
- For Quick-Sort Algorithm : QuickSort Algorithm
- For learning P5.js : p5.js Tutorial