A web-based pathfinding visualizer built with Next.js, React, and Tailwind CSS.
Visualize popular pathfinding algorithms such as Dijkstra, A*, BFS, and DFS with interactive controls and animations.
- Interactive Grid
- Click and drag to create walls.
- Move start and target nodes.
- Algorithms
- Dijkstra
- A*
- Breadth-First Search (BFS)
- Depth-First Search (DFS)
- Visualization Controls
- Adjustable animation speed.
- Clear paths or reset the grid.
- Random maze generation.
- Stop current algorithm and start a new one immediately.
- Performance Tracking
- Displays time taken for the algorithm to reach the target.
- Responsive UI
- Tailwind CSS styling with active button highlighting.
- Footer with links and information.
- Clone the repository:
git clone https://github.com/yourusername/pathfinding-visualizer.git
cd pathfinding-visualizer
npm run dev
# or
yarn dev