Sprite Sheet Layout Planner
Plan an animation atlas with exact frame rectangles and padding.
Try an example: Twelve sprites in four columns
How it works
Calculate a sprite sheet canvas and the pixel coordinates of every drawing. Use the JSON rectangles in a game or export the actual sheet from Flipline.
- Frames are placed in row-major order with padding around the sheet and between cells.
- Width = columns × frame width + (columns + 1) × padding. Height uses the ceiling of drawing count / columns.
- Columns are capped at the drawing count. Canvas limit: 16 MP and 16000 px per side. This planner returns coordinates, not an image.
Sources
For scripts and AI agents
- JSON API:
POST https://fliplinespritesheet.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://fliplinespritesheet.usefulweb.site/mcp· tool nameflipline_sprite_sheet
Example request
curl -s -X POST https://fliplinespritesheet.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"count":12,"width":256,"height":256,"columns":4,"padding":2}'