Skip to content

Commit

Permalink
Merge 3fa18c0 into 09fbb73
Browse files Browse the repository at this point in the history
  • Loading branch information
yudonglin committed Jul 1, 2022
2 parents 09fbb73 + 3fa18c0 commit d8bb74c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ array([[0, 0],
[3, 3],
[4, 4]])
```
Note that all grid points are represented as `(i, j)` coordinates. An example
of using `pyastar2d` to solve a maze is given in `examples/maze_solver.py`.

Note that all grid points are represented as `(i, j)` coordinates.
An example of using `pyastar2d` to solve a maze is given in `examples/maze_solver.py`. However, you will need to install the [imageio](https://pypi.org/project/imageio/) package in order to run this example. You can install it by using the command:
```bash
pip install imageio
````
## Example Results
<a name="example-results"></a>
To test the implementation, I grabbed two nasty mazes from Wikipedia. They are
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
imageio
pytest
pytest-cov
pytest-pep8
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
imageio
numpy

0 comments on commit d8bb74c

Please sign in to comment.