Function – makeAtlas
const makeAtlas: (
) => Atlas
Tight 2D packing texture atlas.
- For optimal performance, feed items that are sorted large to small, e.g. by area.
- Will still produce high quality packing otherwise, but performance will degrade significantly.
packages / core / src / atlas.ts