Skip to content

bhmuxkan/pathfinding-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧭 Pathfinding Visualizer – Interactive Algorithm Playground

React Parcel Algorithms UI License: MIT Status Built with ❀️

A simple and interactive tool to explore how pathfinding algorithms work. Built with React and Parcel, it lets you visualize popular algorithms like Dijkstra, A*, BFS, and DFS on a responsive, customizable grid. You can add walls, drag start/end nodes, and see how the algorithm finds the shortest path in real-time.

Click. Drag. Visualize. Done.


✨ What You Can Do

  • Visualize Dijkstra, A*, BFS, and DFS algorithms
  • Click to add or remove walls on the grid
  • Drag start and end nodes to reposition them
  • Switch algorithms and re-run instantly
  • Enjoy a clean, responsive UI with smooth interaction

πŸ’» Tech Stack

Language:
Β Β Β Β JavaScript (ES6+)

Framework & Bundler:
Β Β Β Β β€’ React β€” component-based UI
Β Β Β Β β€’ Parcel β€” blazing fast bundler

Core Logic:
Β Β Β Β β€’ Custom implementations of Dijkstra, A*, BFS, and DFS
Β Β Β Β β€’ Grid utilities for pathfinding logic

Interface & Styling:
Β Β Β Β β€’ Responsive layout with HTML & CSS
Β Β Β Β β€’ Clean UI built using React components


πŸ“‚ Project Structure

pathfinding-visualizer/
β”œβ”€β”€ public/               # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ algorithms/       # Dijkstra, A*, BFS, DFS implementations
β”‚   β”œβ”€β”€ components/       # React components
β”‚   β”œβ”€β”€ utils/            # Grid logic 
β”‚   β”œβ”€β”€ App.jsx           # Main App component
β”‚   β”œβ”€β”€ index.jsx         # Entry point
β”‚   └── index.css         # Styling
β”œβ”€β”€ package.json
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md

βš™οΈ How to Run

  1. Clone the repository
git clone https://github.com/bhmuxkan/pathfinding-visualizer.git
cd pathfinding-visualizer
  1. Install dependencies
npm install
  1. Start the development server
npm start
  1. Open in browser
http://localhost:1234

πŸ“¬ Connect With Me

If you love to build something, or just want to say hi β€” I’d love to connect.


Releases

No releases published

Packages

No packages published