gif

Pathfinding Algorithm Visualizer

Overview

This project is a 2D pathfinding algorithm visualizer using Python, Pygame, and OpenGL. It demonstrates the working of different pathfinding algorithms like A*, Dijkstra, BFS, and DFS. Some features include an adjustable grid size and maze dimensions as well as real-time animation of the algorithm’s traversal.

Usage

Press the spacebar to start the selected algorithm. (A* selected initially by default)

Press ‘1’ to select the A* algorithm.

Press ‘2’ to select Dijkstra’s algorithm.

Press ‘3’ to select the BFS algorithm.

Press ‘4’ to select the DFS algorithm.

first image of your project. second image of your project.