Pixel Grid Transform
Flip, rotate or shift an indexed pixel sprite without blur.
Try an example: Rotate a tiny sprite
How it works
Enter a compact pixel grid and HEX palette. Transform it with exact integer coordinates, optional wrapping and transparent pixels, then download an editable Flipline Pixel Studio project.
- Grid index 0 is transparent; 1–9 and A–W refer to palette entries 1–32. Rows must have equal width, at most 128 pixels per side.
- Rotation is clockwise and swaps width and height. Shift clips outside pixels or wraps them to the opposite edge. No interpolation or color changes.
- The same transform powers Pixel Studio. Open the downloaded .flipline-pixels.json file with the main Open button or Open sprite.
Sources
For scripts and AI agents
- JSON API:
POST https://fliplinepixeltransform.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://fliplinepixeltransform.usefulweb.site/mcp· tool nameflipline_pixel_transform
Example request
curl -s -X POST https://fliplinepixeltransform.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"rows":"1..\n.2.","palette":"#213b45,#65a87b","operation":"rotate"}'