A lightweight web application to visualize pathfinding algorithms in a grid.
- Visual grid editor to toggle walls
- Start and end points
- Pathing algorithm server-side in Python
- A*
- Dijkstra
- Breadth-First Search
- Depth-First Search
- Lee Algorithm
- Interactive visualization of the path
- Python (3.8+)
- Docker - Container for Demo
- Flask – lightweight web server
- HTML/CSS/JavaScript – frontend grid UI
- uv – fast Python dependency manager
docker build -t pathfinding-visualizer .
docker run -p 5050:5050 pathfinding-visualizer
http://127.0.0.1:5050
git clone https://github.com/yourusername/pathfinding-visualizer.git
cd pathfinding-visualizer
pip install uv
If you are using pyproject.toml
:
uv pip install -e .
Or if you prefer a requirements file:
uv pip install -r requirements.txt
python pathing/app.py
Visit:
http://127.0.0.1:5050/
- Flask was chosen for simplicity and clarity.
- uv was selected for reproducible and fast dependency installs.
- A implementation* is minimal and well-commented to highlight understanding.
- Frontend grid visualization is interactive and built with vanilla JavaScript.
- The project is modular: you can easily extend it with other pathfinding algorithms.
This project is open-source and available under the GPL-3 License.
✅ This project is intended as a portfolio showcase to demonstrate:
- visualization of pathfinding logic
- Frontend and backend integration