Calculate the Euclidean distance been two points in 2D/3D/nD space.
github.com/zeke/euclidean-distance
zeke/euclidean-distance