Code Monkey home page Code Monkey logo

abhixsliet / sorting-visuals Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 183 KB

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.

Home Page: https://sorting-visualizer-web.vercel.app/

License: MIT License

HTML 13.76% CSS 7.91% TypeScript 77.01% JavaScript 1.32%
react-typescript react-typescripts sorting-algorithms sorting-visualization sorting-visualized sorting-visualizer typescript typescript-react sorting-visuali

sorting-visuals's Introduction

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.


sorting-visuals's People

Contributors

abhixsliet avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.