/elm-astar

A* Pathfinding in Elm

Primary LanguageElm

A* Pathfinding in Elm

Example of a path found between two points

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.

Demo

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.