A web app that visualizes every step in popular sorting algorithms. Has play/pause and speed control options as well. The rendering library can be decoupled to use with any standard sorting algorithms.
addRenderData| Parameter | Type | Description |
|---|---|---|
array |
array of numbers |
Required. To be called after each iteration of the outer loop with the latest array reference |
drawToScreen| Parameter | Type | Description |
|---|---|---|
options |
object |
Optional. Object describing the drawing instructions, custom CSS classes |
Clone the project
git clone https://github.com/msx47/sorting_visualization.gitGo to the project directory
cd sorting_visualizationInstall dependencies
npm installStart the server
npm run devContributions are always welcome!!