Pixel art fire animation: campfire and torch sprite sheets in your browser

These fire animations are Pixelbolt recipes: short JSON files that render to the same pixels every time. The campfire and the torch come from a small simulation of heat and smoke; the flame after them is drawn by hand in four frames.

Open one in the Pixelbolt playground, change a value or two, and download a sprite sheet, an atlas for your engine or a GIF. It is free and runs in your browser, with nothing to install.

Pixelbolt 0.9.1 · 25 October 2026 · On this page: Campfire · Torch · A hand-drawn flame

Reading the field names below: an effect's settings sit under effects → its name. An emitter (a source of heat, smoke, liquid or particles) is one entry in its emitters list, found by its "name" where it has one. Frames count from 0 (the playground's frame counter starts at 1), and x and y are pixels from the top-left corner.

Campfire

Pixel art campfire with rising embers and smoke

Flames rise from crossed logs, embers drift up and grey smoke curls away.

32 × 48 pixels, 24 frames of 70 ms, looping. Shown at 4×.

Open the campfire in the playground

Make it yours

These sit under effects → campfire in the recipe.

Torch

Pixel art torch with a flickering flame

A small flame flickers on a wooden handle with a metal cup and throws the odd ember.

16 × 32 pixels, 16 frames of 70 ms, looping. Shown at 4×.

Open the torch in the playground

Make it yours

These sit under effects → torch, except palette, which is at the top of the recipe.

A hand-drawn flame

Pixel art flame drawn by hand in four frames

Not every fire needs a simulation. This flame is one shape written as rows of text, then stamped, edited and mirrored across four frames. The playground lists it as Embers.

24 × 24 pixels, 4 frames of 80 to 120 ms, looping. Shown at 4×.

Open the hand-drawn flame in the playground

Make it yours

This is a plain recipe: frames, palette, animations and sheet are at the top level.

Make your sprite sheet in four steps

  1. Open an effect above with its Open … in the playground button. The link carries the whole recipe and names Pixelbolt 0.9.1, and the playground renders it in your browser. There is nothing to install and no account.
  2. Change a value in the Recipe JSON box. The preview renders again after each edit. If the JSON breaks, it says what is wrong, usually with the line number.
  3. Choose a scale for the frame PNG and the GIF, from 1× to 16×. The sheet and atlas stay at the art's own size (see below).
  4. Download the files you need (listed below). Copy link makes a link to your edited version.

Export for your game engine

Sheets come at the art's own size, one pixel per pixel. For a bigger sheet, set "scale" in the recipe's top-level "sheet" (add "sheet": { "scale": 4 } if it has none; whole numbers from 1 to 16), or scale it in your engine with nearest-neighbour filtering. Every PNG the playground exports carries its recipe, so you can open it in the playground later (Open file, or drop it on the page) and carry on editing.

The same from the command line

With Node.js 20 or newer, save the recipe (the playground's Recipe JSON button saves it as campfire.fluid.json, or open it from the 0.9.1 package and save it), then run:

npx -y pixelbolt@0.9.1 compile campfire.fluid.json --out campfire.json
npx -y pixelbolt@0.9.1 gif campfire.json --scale 4 --out campfire.gif
npx -y pixelbolt@0.9.1 render campfire.json --out campfire

Run them in the folder where you saved the recipe; Pixelbolt won't overwrite existing files unless you add --force. compile runs the simulation and writes the result as an ordinary recipe of frames. gif writes the animation as a GIF. render writes a folder with the sprite sheet, its atlas JSON, every frame as a PNG, an animated PNG, CSS classes, a small Canvas player, a preview page and the recipe. The same commands work for torch.fluid.json. The hand-drawn flame is already a plain recipe, so it skips compile. Save ember.json (or use ember.pixel.json if you saved it from the playground) and run:

npx -y pixelbolt@0.9.1 gif ember.json --scale 4 --out ember.gif

For AI agents: Pixelbolt also runs as a local MCP server, whose pixel_compile tool compiles these recipes. See Connect an agent through MCP in the README.

Licence

Pixelbolt is free and open source under the MIT licence. The example recipes on this page ship in its MIT-licensed npm package, and its README says the included artwork is original and covered by the same licence.

Want them ready-made?

Elemental FX is a pack of 27 animated pixel-art effects made with Pixelbolt: elemental powers, impacts, fire, smoke, goo, lava and magic, as transparent sprite sheets with JSON atlases and Godot 4 SpriteFrames files. $4.99 or more on Gumroad.

More pixel art effect guides

All guides · The playground · Pixelbolt home

Comparing effect tools? See Pixel FX Designer alternatives: 7 pixel-art effect tools compared. For agents: pixel art MCP servers compared.