A rectangle packing layout engine, currently only supports images, scales and crops such as to optimize relative sizes and leaves no empty space
Want to see pretty graphs? Log in now!
npm install planepacker
|10||downloads in the last week|
|40||downloads in the last month|
|Last Published By|
|Version||0.0.10 last updated 10 months ago|
|Keywords||layout, planepacker, style, joelangeway, rectangle packing, joe|
|Dependencies||underscore, requirejs, amdefine|
planepacker.js is a rectangle packing layout engine. Its goal is to layout a set of images such that their relative sizes and their crops are optimal, while being visually appealing and not falling into boring rows or columns. Additionally, it should be able to adjust a layout without totally randomizing it.
It does not yet accomplish these goals, but the basic strategy is proved out.
You can use it. The license is the MIT license.
Documentation and tests will come some time after it is reasonably meeting its goals.