path.io is a pathfinding visualization tool that demonstrates various pathfinding algorithms, including the A* (A-star) algorithm. It is designed to help users understand how these algorithms work by providing a visual representation of the pathfinding process.
- Visualization of the
- A*
- breadth First Search
- Depth First Search
- Depth Limited Search
- Greedy Best First Search
- Iterative Deepening Depth First Search
- Display of the shortest path found by the algorithm.
- Customizable obstacles.
To install and run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/path.io.git
-
Navigate to the project directory:
cd path.io
-
Install the dependencies:
npm install
-
Start the development server:
npm start
- Open your web browser and navigate to
http://localhost:3000
. - The interface will set the start and end points on the grid.
- Add obstacles by clicking on the grid cells.
- Click the "Start" button to visualize the algorithm of your choice.
- Compare results between all algorithms by using the compare functionality.