项目作者: Spellsweaver

项目描述 :
A simple dijkstra pathfinding library in lua, with demonstration program in love2d
高级语言: Lua
项目地址: git://github.com/Spellsweaver/Dijkstra-demonstration.git
创建时间: 2018-10-06T22:37:56Z
项目社区:https://github.com/Spellsweaver/Dijkstra-demonstration

开源协议:MIT License

下载


Djikstra’s algorithm graphical demonstration.

Created by Spellweaver (spellsweaver@gmail.com)

Controls:
Left click: add/remove source
Right click: add/remove wall
[C] enable/disable colors
[X] enable/disable ‘X’ marks on sources
[P] enable/disable path drawing
[D] enable/disable diagonal movement
[N] enable/disable numbers
[F] switch between normal and inverted Dijkstra’s maps
Inverted map searches for the path away from sources
[+]/[-] adjust inverted map’s constant
The lower it is, the closer are the places that are considered “safe”.