Pegbar Buy Pro, £9

Sprite sheet maker

A sprite sheet maker for frames you draw yourself

Pegbar is a hand-drawn animation studio that runs in a browser tab. Draw a run, a walk or an idle cycle one frame at a time, then export every drawing into one PNG, with a JSON atlas that says where each frame sits.

Free to try. Pro is £9 once and takes the mark off the sheet.

A sprite sheet of six stick-figure run poses in a grid three cells wide and two rows deep.
A six-drawing run cycle exported from Pegbar as one 1440 by 540 PNG: three cells across and two rows, each cell 480 by 270. It was exported on the free tier, so each cell carries the small mark.

What comes out

A sprite sheet from Pegbar is one PNG with a cell for every drawing in the film, laid out left to right and top to bottom. Beside it is a JSON atlas with the position and size of every cell and the number of frames each drawing is held for, so a game can play the cycle with the timing you set.

The sheet
One PNG. The grid is as close to square as the count allows: 6 drawings make 3 by 2, 8 make 3 by 3 with one cell empty, and 12 make 4 by 3.
A cell
One for each drawing while the camera is still. A drawing held for several frames gets one cell, and the atlas says how many frames it is held for. A scene with camera moves gets a cell for every frame.
Cell size
The whole field at the export size: Quarter is 480 by 270, Half is 960 by 540, Two-thirds is 1280 by 720 and Field size is 1920 by 1080. Cells sit edge to edge with no padding.
Background
Set Background to Transparent and everything you have not drawn on is clear. Paper puts the colour of the light table behind each cell, and White a plain white.
The atlas
JSON: x, y, w and h for each cell, the first film frame it shows and the number of frames it lasts.

Make a sprite sheet in Pegbar

  1. 01

    Open the studio

    The walk cycle sheet opens with eight blank drawings on twos at 12 frames a second, and a ground line and a construction figure in blue behind them. A blank film opens with one empty sheet at 24 frames a second. Open a blank studio if you would rather start there.

  2. 02

    Draw the first pose

    The pencil is in hand, and P picks it up again after another tool. Draw the pose on the paper. E is the eraser and F is Fill, which drops flat colour into a closed shape.

  3. 03

    Draw the next pose

    On the walk cycle sheet, . steps to the next drawing. On a blank film, N adds a new sheet and D duplicates the drawing you are on. The light table shows the poses either side through the paper in two tints, and L turns it on and off.

  4. 04

    Set the timing

    H holds a drawing for one more frame, and the Add frames box on the exposure sheet takes any number. Space plays the cycle in a loop. The frame rate is beside the film strip: 12, 24, 25 or 30 frames a second.

  5. 05

    Take the guides off

    On the walk cycle sheet the ground line and the construction figure are a plane of their own, called Ground, and they would be drawn into every cell. Click the Ground column at the top of the exposure sheet, open Planes under the sheet and choose Remove plane.

  6. 06

    Export the sheet

    Press Export at the top right to open the menu. Choose Sprite sheet in the Format list and pick an Export size. Set Background to Transparent if the game draws its own. Press the Export button in the menu and the PNG downloads.

  7. 07

    Download the atlas

    Open the Export menu again and press Atlas JSON, beside the Export button. It downloads the atlas for the sheet you have just exported.

The Pegbar studio with a stick-figure run pose on the paper, the Export menu open at the top right and the film strip along the bottom.
The run cycle in the studio, with the Export menu open on Sprite sheet at Quarter, 480 by 270. The film strip along the bottom shows the six drawings, A1 to A6, each held for two frames.The first pose of the run cycle on the paper in the studio. The line under the paper reads frame 1 of 12, drawing A1.

Reading the atlas

{
  "frames": [
    { "frame": 0, "frames": 2, "h": 270, "index": 0, "scene": 1, "w": 480, "x": 0, "y": 0 },
    { "frame": 2, "frames": 2, "h": 270, "index": 1, "scene": 1, "w": 480, "x": 480, "y": 0 },
    { "frame": 6, "frames": 2, "h": 270, "index": 3, "scene": 1, "w": 480, "x": 0, "y": 270 }
  ],
  "height": 540,
  "image": "sheet.png",
  "width": 1440
}

The atlas for the run cycle at the top of this page, with three of its six cells shown.

x, y, w and h are the cell’s rectangle in pixels. frame is the first film frame the cell shows, counting from 0, and frames is how many film frames the drawing is held for: at 24 frames a second, a cell with frames 2 lasts a twelfth of a second. index is the cell’s place in the order and scene is the scene it came from.

The image field always reads sheet.png. The PNG itself downloads under the film’s title, so rename the file or change that field to match.

Free and Pro

Free

£0 to start

The whole studio, with no account and no time limit. Exports are up to 720 pixels high, which on the standard 1920 by 1080 field means Two-thirds (1280 by 720), Half (960 by 540) or Quarter (480 by 270), and they carry a small “Made with Pegbar” mark in the corner.

A sprite sheet exports with cells up to 1280 by 720, and every cell carries the mark. That is enough to try the art in your game.

Pro

£9 once

One payment. The mark comes off, and exports go up to 2160 pixels high: Field size (1920 by 1080) and Double (3840 by 2160). The licence key arrives by email after checkout and goes into the Licence panel in the studio’s Film tab.

Cells go up to 1920 by 1080 or 3840 by 2160, and no cell has a mark.

Buy Pro, £9 once

Draw the first pose.

The walk cycle sheet opens in the studio with its guides in place. Six or eight drawings make a cycle.