A visual implementation of Dijkstra and A*, side by side, written in golang with Ebitengine.
The project is compatible with Windows, Linux and macOS.
To use it, simply download the latest release binary file and execute it.
To make the downloaded binary executable, run:
chmod +x pathfinding_<rest of the file>
In newer versions of macOS, you might need to run xattr -c pathfinding_<rest of the filename>
if you get an error message while opening the app.
Then, you can open it running:
./pathfinding_<rest of the file>
You can compile the app in Windows directly without a C compiler. Just run:
go mod tidy
go build -o pathfinding.exe
Add an icon (optional. Requires go-winres)
go-winres simply --icon assets/icons/greenFlag.png --manifest gui
go build -o pathfinding.exe -ldflags -H=windowsgui
Compiling an Ebitengine app in linux and macOS requires having a c compiler installed. Check ebitengine dependencies. Once done, simply run:
go mod tidy
go build -o pathfinding
This project is open source under the terms of the MIT License
Made by keelus ✌️