Sprite Animator screenshot

Sprite Animator

Compute the frame rectangle and display window for every frame of a sprite sheet at a chosen frame rate.

Privacy First
0 Runs
Updated 2026-11-06
No upload

The schedule a frame player needs

The page divides the sheet width by the column count to get the frame width, and the sheet height by the rows the frames need — ceil(frames ÷ columns) — to get the frame height. Each frame prints its source rectangle and the millisecond window it should be shown in, from i × 1000/fps to (i+1) × 1000/fps.

The sheet width must divide exactly by the column count and the sheet height by the rows, because a remainder would leave a sliver across a frame boundary; a non-exact division is refused with the two numbers. Frames run 1 to 64, columns 1 to 16, and the rate 1 to 60 fps. The page does not draw or animate anything: it prints the geometry and timing for a renderer or a sprite tool to use.

There is no randomness here, so the same sheet size, frame count and rate always print the same schedule. Nothing is uploaded and no image is read.

Computes each frame's source rectangle and its millisecond display window from the sheet size, frame count and frame rate.

It prints a schedule, not a preview: the page reads no image and draws nothing.

How to use it

Enter the sheet size, the frame count, the column count and a rate, then press Run. Frame one prints first, each line carrying x, y, w, h and the window in milliseconds.

The rows are derived, not entered: ceil(frames ÷ columns) is how many rows the frames occupy, and the sheet height has to divide by that number exactly.

What to Expect

Best for

  • wiring a frame player
  • checking a sprite sheet layout
  • handing timings to an artist

What this tool keeps

  • an exact source rectangle per frame
  • a millisecond window per frame
  • the derived row count

Frequently asked questions

How do I use the sprite animator?

Enter the sheet width and height, the frame count, columns and frame rate, then press Run. Each frame prints its source rectangle and its display window in milliseconds.

Is anything uploaded or stored when I press Run?

No. The draw happens in this tab with JavaScript: no request leaves the page, nothing is stored and a reload clears the form.

What are the limits and bounds?

The sheet width must divide exactly by the column count and the height by the derived row count, frames must be 1 to 64, columns 1 to 16 and the rate 1 to 60 fps; a remainder is refused.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.