Welcome to the Code-Flow Visualizer! This web application provides an interactive platform to visualize various sorting algorithms. It is built using HTML, CSS, and JavaScript, ensuring a responsive design that allows users to seamlessly switch between light and dark modes. Link Text
-
Sorting Algorithms: Visualize popular sorting algorithms, including:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
-
Interactive Interface: Understand the sorting process step by step with a dynamic and intuitive interface. Witness the algorithm in action as it sorts through data.
-
Responsive Design: The application is designed to work flawlessly across various devices, ensuring a consistent user experience on desktops, tablets, and smartphones.
-
Light and Dark Modes: Customize your viewing experience by toggling between light and dark modes. Choose the mode that suits your preferences and reduces eye strain.
1.HTML: The structure of the web application is defined using HTML, providing a foundation for content presentation.
-
CSS: Cascading Style Sheets are utilized for styling and layout, ensuring an aesthetically pleasing and user-friendly interface.
-
JavaScript: The application's logic and interactivity are powered by JavaScript, enabling real-time visualization of sorting algorithms.
1.Clone this repository to your local machine.
git clone https://github.com/divyamehrotra/Code-Flow-Visualizer
-
Open the index.html file in your preferred web browser.
-
Explore the different sorting algorithms and customize your visual experience with light and dark modes.
-
Algorithm Selection: Choose a sorting algorithm from the provided list.
-
Array Generation: Generate a random array or input your own array to sort.
-
Visualize Sorting: Click the "Sort" button to start the visualization. Observe how the chosen algorithm sorts the array step by step.
-
Speed Control: Adjust the speed of the visualization to better understand the sorting process.
-
Toggle Modes: Switch between light and dark modes using the mode toggle button.
If you'd like to contribute to the Sorting Algorithm Visualizer, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix.
-
Make your changes and submit a pull request.
-
Ensure your code passes any existing tests.
-
Update the README with details of your changes if necessary.
Happy sorting! 🚀