This is an implementation of breadth-first search of a numpy ndarray with the goal of generating a heatmap that NPCs in a roguelike can use for navigation. _cmap.c and cmap.py are covered by LICENSE.txt original.py was not authored by me, so it's not.