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.
- 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
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
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
- Clone the repository
git clone https://github.com/bhmuxkan/pathfinding-visualizer.git
cd pathfinding-visualizer
- Install dependencies
npm install
- Start the development server
npm start
- Open in browser
http://localhost:1234
If you love to build something, or just want to say hi β Iβd love to connect.
- LinkedIn β Muskan