mapbox

mapbox/potpack

A tiny rectangle packing JavaScript library (for sprite layouts)

JavaScript
355
24
ISC License

Potpack is a JavaScript library for efficiently packing 2D rectangles into a near-square container, primarily used for generating CSS sprites and WebGL textures. It's designed for developers working on sprite layouts or texture atlasing who need a static, space-efficient packing solution. The library is lightweight, easy to use, and optimized for modern browsers and Node.js environments.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mapbox/potpack

Account's avatar
A packing algorithm for 2D bin packing. Largely based on code and a blog post by Jake Gordon.
Account's avatar
A strict ESLint config for my JavaScript projects
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

mourner's profile
mourner
26 contributions
SuperLlama88888's profile
SuperLlama88888
2 contributions
mbullington's profile
mbullington
1 contributions
mapbox-metahub[bot]'s profile
mapbox-metahub[bot]
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet