@flighthq/binpack
v0.6.0
Published
2D rectangle bin-packing — MaxRects placement with padding/border, optional power-of-two/square/rotation, and a fixed or growable bin; plain-data rectangles in, placements + used extent + unpacked out
Downloads
39,176
Readme
@flighthq/binpack
2D rectangle bin-packing — MaxRects placement with padding/border, optional power-of-two/square/rotation, and a fixed or growable bin; plain-data rectangles in, placements + used extent + unpacked out
Install
npm install @flighthq/binpackImport the supported application-facing API from @flighthq/binpack. The @flighthq/binpack/contract export is the wider package-to-package contract used to compose Flight itself.
This package is part of the locked-version Flight SDK graph. Applications may instead install and import @flighthq/sdk when package-level tree shaking is sufficient.
