A dynamic and interactive tool for visualizing the inner workings of various sorting algorithms, built with Vite + React. Watch algorithms come to life with real-time animations and intuitive controls!
- 🌀 Multiple Sorting Algorithms: Visualize Bubble Sort, Quick Sort, Merge Sort, and more.
- 🎥 Real-Time Visualization: Step-by-step sorting process displayed live.
- ⚡ Adjustable Speed and Array Size: Control the pace and difficulty of the visualizer.
- 🧩 Parallel Row Sorting: Experience simultaneous sorting for added fun!
- 🌈 Rainbow Color Visualization: A vibrant and colorful experience.
Follow these steps to set up and explore the Sorting Algorithm Visualizer:
Ensure you have the following installed:
- Node.js (v14 or higher) 🌟
- npm or yarn (Package manager of your choice) 📦
-
Clone the Repository
git clone https://github.com/The-Research-Scientist-Pod/sorting-visualizer.git cd sorting-visualizer
-
Install Dependencies
npm install
-
Start the Development Server
npm run dev
The application will open in your default browser, typically at
http://localhost:5173
.
src/components/
: Reusable React componentssrc/algorithms/
: Sorting algorithm implementationssrc/utils/
: Helper functions for arrays, colors, and more
npm run dev
: Start the development server 🚀npm run build
: Build the project for production 🏗npm run preview
: Preview the production build locally 🔍npm test
: Run the test suite ✅
Dive deeper into sorting algorithms like Quick Sort, Merge Sort, and others by visiting our documentation at The Research Scientist Pod 🌐. Explore algorithm explanations, performance comparisons, and pseudocode to boost your understanding and coding skills.
By integrating knowledge from our Sorting Algorithms Documentation, you’ll master both the theory and practice of sorting! 💡
We welcome contributions from the community! To get started:
- Fork the Repository
- Create Your Feature Branch
git checkout -b feature/AmazingFeature
- Commit Your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request 🛠
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to suggest further improvements or share your thoughts. Let’s make sorting visual and fun! 🚀🌟