costdistance.js costdistance.js is a JavaScript implementation of a standard cost-distance algorithm. Much inspiration taken from Esri and GRASS.