potpack demo

Potpack is a tiny and fast JavaScript library for packing boxes of varying size into a near-square container, which is useful for generating CSS sprites and WebGL textures. GitHub: mapbox/potpack