image-layout
image-layout copied to clipboard
A collection of deterministic image layout algorithms written in pure javascript.
Hi, What I basically want to achieve, is make it horizontally scrollable, using fixed-partition layout. How would I go about adding maximum rows to display, or "cut" it up to...
With the following set up, the algorithm yield the results display below: ``` js import layout from 'image-layout/layouts/fixed-partition' const elements = [ {"width":800,"height":536}, {"width":708,"height":800}, {"width":800,"height":536} ] const result = layout(elements,...