rectpackr-layout
A web component that creates layouts by packing HTML elements as rectangles using a best-fit 2D strip-packing algorithm. Automatically measures dimensions and handles mixed content.
best-fit-strip-pack
A TypeScript implementation of the online best-fit algorithm for the 2D rectangular strip packing problem.