Skip to content

Commit aa9d421

Browse files
new ui
1 parent de69dd6 commit aa9d421

26 files changed

Lines changed: 1327 additions & 826 deletions

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1-
# Sorting_Visualizer
1+
# Algorithms Visualizer :-
22
Website :- https://avinashvermaaa.github.io/Sorting_Visualizer/
3-
* It helps to Visualize the sorting algorithms like ( BUBBLE SORT, INSERTION SORT, SELECTION SORT, QUICK SORT, HEAP SORT, SHELL SORT )
3+
4+
It's a high-performance, visually stunning web application designed to help students and developers visualize the inner workings of common sorting algorithms. Built with a modern **Glassmorphism** aesthetic, it provides real-time feedback on comparisons, swaps, and sorted states.
5+
6+
7+
## 🚀 Supported Algorithms
8+
- **Bubble Sort**: Simple comparison-based sorting.
9+
- **Insertion Sort**: Build a sorted array one element at a time.
10+
- **Selection Sort**: Find the minimum and move it to the start.
11+
- **Quick Sort**: Efficient divide-and-conquer with pivoting.
12+
- **Heap Sort**: Binary tree-based sorting structure.
13+
- **Merge Sort**: Stable divide-and-conquer via recursive merging.
14+
- **Shell Sort**: Optimized version of insertion sort.
15+
16+
17+
## ✨ Key Features
18+
- **Modern UI**: Dark-themed glassmorphism design with neon cyan accents.
19+
- **Dynamic Sizing**: Automatically calculates the number of bars based on your screen size to prevent overflow.
20+
- **Real-Time Visualization**: Uses `async/await` to provide smooth, adjustable animations.
21+
- **Responsive Design**: Adapts to any screen size, from mobile phones to ultra-wide monitors.
22+
- **State Coloring**:
23+
- <kbd>Teal (#39A6A3)</kbd>: Elements currently being compared.
24+
- <kbd>Yellow (#FFE268)</kbd>: Elements in their correct relative positions.
25+
- <kbd>Gold (#FFC93C)</kbd>: Final verified sorted state.
26+
27+
28+
29+
30+
## 🛠️ Technical Stack
31+
- **HTML5**: Semantic structure.
32+
- **CSS3**: Custom properties (variables), Flexbox, and Glassmorphism (backdrop-blur).
33+
- **Vanilla JavaScript**: Pure logic with no heavy frameworks.
34+
- **Bootstrap 5**: Used for the off-canvas navigation and layout grid.
35+
36+
37+
## 📂 Project Structure
38+
```text
39+
├── index.html # Landing Page
40+
├── shared.style.css # Modern UI styles used across all pages
41+
├── shared.js # Core logic (generate array, disable buttons)
42+
├── sorting algorithms/
43+
│ ├── all algos # separate folder for all algos
44+
└── assets/ # Icons and images

bubble.html

Lines changed: 0 additions & 33 deletions
This file was deleted.

heap.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

index.html

Lines changed: 108 additions & 162 deletions
Large diffs are not rendered by default.

insertion.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

quick.html

Lines changed: 0 additions & 33 deletions
This file was deleted.

script.js

Lines changed: 0 additions & 328 deletions
This file was deleted.

0 commit comments

Comments
 (0)