gaps.js Algorithm for computing a useful set of measure lines between rectangles Try the interactive demo Licensed under MIT License