Pathfinding Algorithm GUI
Welcome to the graphical user interface (GUI) for our advanced pathfinding algorithm. This interface empowers users to dynamically visualize and manipulate a matrix representing a floor plan or grid.
Key Features
- Matrix Configuration: Easily configure the program using default values stored in the
config.json
file.
Table of Contents
Installation
- Dependencies are automatically installed for your convenience.
Usage
- Run the main script:
python ./src/main.py
-
Usage:
- Left-click on the canvas to update the color of a square.
- Right-click on the canvas to delete a square.
Interactive Buttons:
-
Run Algorithm in 3D: Experience the algorithm in a three-dimensional perspective.
-
Run Dijkstra: Execute the Dijkstra pathfinding algorithm.
-
Load New Image: Import a new image to update the floor plan.
-
Clear Bitmap: Remove all elements from the bitmap.
-
Toggle Gradient: Switch between gradient modes for enhanced visualization.
-
Display Help: Access helpful information about the application.
-
Add New Floor: Include a new floor in the floor plan.
-
Remove Floor: Eliminate an existing floor from the plan.
-
Clear Path: Reset the path on the floor plan.
-
Save Bitmap: Save your current configuration for future use.
Contributing
We welcome and appreciate contributions! If you'd like to contribute to the enhancement of this pathfinding algorithm GUI, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure that the code is well-documented.
- Test your changes thoroughly.
- Create a pull request, explaining the purpose of your changes.