Skip to content

Pack rectangles closely together. Useful for texture atlases and sprite sheets.

License

Notifications You must be signed in to change notification settings

elm-review-bot/elm-box-packing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-box-packing

Efficiently pack 2D boxes together.

This is useful for creating texture atlases, sprite sheets, or just making some neat generative artwork.

Generative artwork

This is implemented with binary tree bin packing. In the tests I've run this uses on average 80% of the space available. Pull requests are welcome if you want to improve upon this!

About

Pack rectangles closely together. Useful for texture atlases and sprite sheets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elm 100.0%