工作原理
For N frames at W×H pixels, the calculator finds the grid (cols × rows) whose total sheet is closest to square — a GPU-friendly layout.
VRAM footprint = sheet width × sheet height × (bit depth ÷ 8). It assumes uncompressed RGBA by default.
Animation duration = frame count ÷ FPS.