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
- Host: GitHub
- URL: https://github.com/oleh-kliapko/ui-blocks-packing
- Owner: Oleh-Kliapko
- Created: 2023-12-19T12:16:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T14:36:54.000Z (over 2 years ago)
- Last Synced: 2024-04-15T10:27:36.637Z (about 2 years ago)
- Topics: canvas, pure-javascript
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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