get distance between two points code example Example: get all coordinates between two points (x - 10) / (y - 5) = (15 - 10) / (90 - 5)