Skip to content

Explore the Sorting Visualizer project – showcasing sorting algorithms in action. Built with React.js and TypeScript, unveiling the magic of bringing order to chaotic arrays.

License

Notifications You must be signed in to change notification settings

abhiXsliet/sorting-visuals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

Overview

The Sorting Visualizer is a web application built using React.js and TypeScript that allows you to visualize various sorting algorithms in action. It provides an interactive interface for sorting a random array of numbers and observing the step-by-step process of how different sorting algorithms work.

Explore Sorting Visualizer 🙂

Features

  • Visualize popular sorting algorithms, including Insertion Sort, Merge Sort, Quick Sort and more.
  • Adjustable array size and sorting speed to customize your visualizations.
  • Step through the sorting process or watch the algorithm sort the array in real-time.
  • Clear and intuitive user interface for easy interaction.

Getting Started

  1. Clone the Repository: Start by forking and cloning the repository to your local machine:

    git clone https://github.com/abhixsliet/sorting-visualizer.git
  2. Navigate to the Project Directory:

    cd sorting-visualizer
  3. Install Dependencies:

    npm install
  4. Start the Development Server:

    npm start
  5. Open in Your Browser: Open your web browser and go to http://localhost:3000 to see the Sorting Visualizer in action.

How to Use

  1. Click on a sorting algorithm from the navbar.
  2. Adjust the array size using the slider.
  3. Set the sorting speed (in milliseconds per step) using the slider.
  4. Click the "Sort" button to start the selected sorting algorithm.
  5. Observe the bars in the array container as they move and swap positions during sorting.

Contributions

This is a personal project created for educational and learning purposes. While it was initially developed as a personal project, contributions and collaborations from the community are welcome and highly encouraged.

If you find any issues, want to add new features, or have suggestions for improvements, please consider contributing to this project. Here's how you can get involved:

  1. Fork the Repository: Start by forking this repository to your own GitHub account. This will create a copy of the project that you can freely experiment with.

  2. Clone the Repository: Clone your forked repository to your local machine and make the desired changes.

    git clone https://github.com/your-username/sorting-visualizer.git
  3. Create a New Branch: Create a new branch for your contributions to keep your work isolated from the main codebase.

    git checkout -b feature/my-new-feature
  4. Make Changes: Implement your desired changes and ensure the code is well-documented and follows best practices.

  5. Test: Test your changes to make sure they work as intended.

  6. Commit Changes: Commit your changes with clear and descriptive commit messages.

    git commit -m "Add a new feature: My New Feature"
  7. Push Changes: Push your changes to your GitHub repository.

    git push origin feature/my-new-feature
  8. Create a Pull Request: Open a Pull Request (PR) from your forked repository to the main repository. Provide a clear description of the changes you've made.

  9. Review and Collaborate: Participate in discussions on your PR, address any feedback, and collaborate with the maintainers to get your changes merged into the project.

Your contributions can help improve and expand this project, making it even more valuable to the community. Thank you for your interest and support!

Future Possibilities

Here are some ideas for future enhancements and features:

  • Add more sorting algorithms to the visualizer.
  • Enhance the user interface with additional customization options.
  • Add educational content and explanations about how each sorting algorithm works.

Feel free to contribute, provide feedback, or suggest new features to make the Sorting Visualizer even better!

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

Explore the Sorting Visualizer project – showcasing sorting algorithms in action. Built with React.js and TypeScript, unveiling the magic of bringing order to chaotic arrays.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages