Welcome to Sorting Visualizer, a web application designed to help you understand and visualize various sorting algorithms. This project was created to provide an interactive and engaging way to learn about sorting algorithms and their inner workings.
-
1. User Interaction:
- The user writes or selects a sorting algorithm in the code compiler.
- The user selects the algorithm from the drop-down box.
- Upon clicking "Run Code," the code is executed, and the selected algorithm is visualized.
-
2. Code Execution:
- Capture the code input and run it using a JavaScript engine like WebAssembly or a backend service for other languages.
- Ensure that the execution outputs the required data to be visualized.
-
3. Visualization:
- Based on the selected algorithm, the visualization area animates the sorting process in real-time, displaying each step clearly.