An open API service indexing awesome lists of open source software.

https://github.com/oleh-kliapko/ui-blocks-packing

Functional that efficiently places rectangular blocks in rectangular 2D container
https://github.com/oleh-kliapko/ui-blocks-packing

canvas pure-javascript

Last synced: over 1 year ago
JSON representation

Functional that efficiently places rectangular blocks in rectangular 2D container

Awesome Lists containing this project

README

          

# Blocks are packed (using Canvas)

## Functional that efficiently places rectangular blocks in rectangular 2D container.

The location of the blocks in the container is as dense as possible in order to rationally use the space of the container.

## For running:

- install dependencies - `npm i`
- run script using `lite-server` - `npm start`
- open page - http://localhost:3000