This project is a sorting visualizer built using React and TypeScript. It allows users to visualize different sorting algorithms in action, providing an interactive and educational experience.
- Multiple Sorting Algorithms: Visualizes various sorting algorithms like bubble sort, insertion sort, merge sort, quick sort, and more.
- Clear Visualization: Uses animated bars to represent elements, providing a visual representation of the sorting process.
-
Install Node.js: This project requires Node.js and npm (or yarn). If you haven't already, download and install Node.js from https://nodejs.org/.
-
Navigate to the Project Directory: Use your terminal or command prompt to navigate to the project directory.
-
Install Dependencies: Run the following command to install project dependencies:
npm install
or
yarn install
-
Start the Development Server: Run the following command to start the development server:
npm run dev
or
yarn dev
-
Open in Browser: The development server will open your default browser at http://localhost:5173/. You can now interact with the sorting visualizer.