@alexbol99/collision_distance (npm): Algorithm to calculate one-dimensional collision distance between two shapes
Keywords: collision|distance|flatten-js