Skip to content

2D bin packing algorithm for haskell. (useful for creating texture atlases)

License

Notifications You must be signed in to change notification settings

chaueve/hs-binpack2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binpack2d

Provides a bin packing algorithm. The algorithm used is bottom left skyline algorithm from which all wasted space is fed to a modified guillotine algorithm. The modification allows the guillotine to combine adjacent cells of the same base and height.

Originally created to make texture atlases, but useful for any situation where you need to pack axis aligned rectangles with integer dimensions to another (bigger) axis aligned rectangle with integer dimensions.

About

2D bin packing algorithm for haskell. (useful for creating texture atlases)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published