Skip to content

About

Full-stack Django app visualizing 9 classic algorithms - 5 sorting, 2 searching, BFS/DFS - each implemented from scratch, with step-by-step animations.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Algorithm Visualizer

Python Django JavaScript HTML CSS SQLite

An interactive web application that visualizes 9 classic algorithms — 5 sorting, 2 searching, and 2 graph traversal — each implemented from scratch rather than called from a library, with real-time step-by-step animations.

Built with a Django backend handling algorithm logic and execution state, and a JavaScript/HTML/CSS frontend rendering each step as it happens. Developed as the Major Project at MVSR Engineering College.


🚀 Overview

Choose an algorithm, configure the input, and watch the logic unfold one step at a time. Because every algorithm is written from scratch, each intermediate state — every comparison, swap, and visit — is exposed to the frontend rather than hidden inside a library call.


🧠 Features

  • Step-by-step visualization of algorithm execution
  • Real-time animations for sorting, searching, and graph traversal
  • All 9 algorithms implemented from scratch
  • Django backend for algorithm logic and state
  • Clean, responsive interface
  • Modular structure for adding new algorithms

📚 Algorithms Implemented

Sorting (5) Bubble Sort · Selection Sort · Insertion Sort · Merge Sort · Quick Sort

Searching (2) Linear Search · Binary Search

Graph Traversal (2) Breadth-First Search (BFS) · Depth-First Search (DFS)


🛠️ Tech Stack

Layer Technology
Frontend HTML, CSS, JavaScript
Backend Python, Django
Database SQLite
Tools Git, GitHub

▶️ Running the Project

# Clone the repository
git clone https://github.com/affaniqbal9/Algorithm-Visualizer

# Navigate into the project directory
cd Algorithm-Visualizer

# Install dependencies
pip install -r requirements.txt

# Start the development server
python manage.py runserver

Then open http://127.0.0.1:8000/ in your browser.


👤 Author

Affan Iqbal — LinkedIn · GitHub

About

Full-stack Django app visualizing 9 classic algorithms - 5 sorting, 2 searching, BFS/DFS - each implemented from scratch, with step-by-step animations.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages