/spritesheet

Primary LanguageTypeScriptMIT LicenseMIT

🍋Spritesheet

Pack a set of images into a single spritesheet along with its json description file.

Credits

Original author: GMartigny

Original repository: pencil-js/spritesheet

MIT

Usage

Put images in an images directory in the project root: ./images

Run

npm start

Get spritesheet from ./images/out

Planned features

  • support for animations
  • use the maxrects-packer packing algorithm
  • cli support
  • use sharp instead of canvas