> The author called it "Dijkstra Maps".
> Basically it's about generating a heatmap for all the squares on the level.
> You can start with 0 at player position, and from that point use a simple floodfill algorithm, putting down increasing numbers with each step.
I’ve always called this Lee’s algorithm https://en.m.wikipedia.org/wiki/Lee_algorithm