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.git
Go to the project directory
cd sorting_visualization
Install dependencies
npm install
Start the server
npm run dev
Contributions are always welcome!!