Quick experiment porting Data.Graph.AStar
to Elm.
Using a local 0.18-upgraded version of elm-pairing-heap for the priority queue.
Just for learning; see krisajenkins/elm-astar for a usable Elm package.
View the online demo or run it yourself with npm install
then npm start
.
You’ll see an editable grid with a path that will automatically route around the walls you build.