A web application that visualizes multiple sorting algorithms, allowing users to observe their step-by-step execution.
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
Live Demo: sorting.korazza.com
- Algorithm Visualization: Visualize multiple sorting algorithms including Bubble Sort, Insertion Sort, Merge Sort, and Quick Sort.
- Animation Control:
- Control the speed of the animation.
- Step through the algorithm execution frame by frame (forward and backward).
- Play, pause, and reset the animation at any point.
- Responsive Design: The application is designed to work smoothly on various screen sizes, from mobile devices to desktops.
- Theme Support: Includes both Dark and Light theme options for user preference.
This project is built with a modern web development stack:
- Core:
- React - A JavaScript library for building user interfaces.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- Vite - A fast build tool and development server.
- Styling & UI:
- Tailwind CSS - A utility-first CSS framework for rapid UI development.
- Framer Motion - A production-ready motion library for React.
- Lucide React - A simply beautiful and consistent icon toolkit.
- Testing & Linting:
- Package Management:
- pnpm - Fast, disk space efficient package manager.
In the project directory, you can run the following commands:
-
pnpm dev
Starts the development server onhttp://localhost:5173
(or the next available port). -
pnpm build
Builds the application for production to thedist
folder. It correctly bundles React in production mode and optimizes the build for the best performance. -
pnpm lint
Lints the codebase using ESLint to identify and fix problematic patterns in the code. -
pnpm test
Runs unit tests using Vitest in watch mode. -
pnpm test --coverage
Runs unit tests and generates a coverage report located in the./coverage
directory. -
pnpm preview
Serves the production build from thedist
folder locally for previewing before deployment.
This README was last updated on 2025-06-05