---
title: "Godot fire particles from a simulated flipbook | Spatial Compiler"
description: "Get a looping campfire flipbook for Godot from the hosted API for $0.10: 64 simulated frames lit from six directions, played on one quad or on GPUParticles3D."
canonical: https://appliedmanifold.com/use-cases/fire-and-smoke/godot-fire-particles/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Use cases](https://appliedmanifold.com/use-cases/)
3.  [Fire and smoke](https://appliedmanifold.com/use-cases/fire-and-smoke/)
4.  Godot fire

# Add a looping fire to your Godot scene

Describe the fire in a sentence. Your agent writes the spec, Spatial Compiler simulates it on the hosted API and you get a 64-frame looping flipbook that one quad in your scene plays, lit from your light's direction.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys&job=fire-flipbook) [Start with your agent](https://appliedmanifold.com/use-cases/fire-and-smoke/godot-fire-particles/#get-started)

Campfire in Godot, 64-frame loop

-   **64**frames that loop every 2 s
-   **6**lighting directions stored in the sheets
-   **$0.10**per full-quality compile
-   **About 1 min**from spec to sheets

Rendered in Godot from the compiled sheets, with a six-way shader on one quad and a flickering light. The logs and stones are Godot meshes. Compiled on the hosted API on 3 December 2026.

## Simulated fire on one card

Fire built from a few hundred small particles and a soft dot texture looks like glowing confetti up close, and tuning it takes an afternoon.

A simulated flipbook gives the flames real shape and motion, and one card draws it from a single set of textures.

## What the terms mean

-   ### Flipbook

    A grid of frames in one image that the engine plays in order.

    One card with one material gives you a moving fire.

-   ### Six-way lighting

    Six pictures of the smoke, each lit from one side.

    Your shader mixes them by your light's direction, so the smoke matches your scene.

-   ### Loop

    The last frame flows straight into the first.

    The fire burns for as long as the scene runs, with no jump.

## How it works

1.  ### Describe the fire

    Tell your agent the size and setting, such as a campfire on three crossed logs about 1 m tall.

2.  ### See the price, then compile

    A full-quality compile costs $0.10. Repeat compiles of the same spec are free.

3.  ### Play it in Godot

    Put the sheets and layout file on a quad or a GPUParticles3D node, then add an OmniLight3D for the glow.

[Play a flipbook on GPUParticles3D](https://appliedmanifold.com/guides/godot-flipbook-gpuparticles3d/)

## Questions

### Can GPUParticles3D play the flipbook?

Yes. Give the particles a material that reads the sheets and steps the frame over each particle's life. One quad is enough for a single campfire.

### Does the fire light the scene?

The sheets carry the flame's light for the card itself. For the ground and props around it, add an OmniLight3D and flicker its energy.

[All use cases](https://appliedmanifold.com/use-cases/)

## Use with your agent

Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with four flipbook sheets, a layout file and a preview of the looping campfire.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys&job=fire-flipbook) [Try it in the Playground →](https://console.appliedmanifold.com/playground?module=pyrofx&item=campfire_logs)

New accounts start with $5 of usage, and you see the price of each job before it runs.

Agent prompt

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use pyrofx to compile a looping campfire about 1 m tall on three crossed logs, at full quality, and save the sheets and layout file in my Godot project's effects folder. Start with a draft right away and ask before running a final compile.

Or add the server yourself in Claude Code:

`claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp`

[Set it up in Cursor, Codex or another agent](https://appliedmanifold.com/docs/mcp/)

Once connected, your agent can call the `starter` tool. It returns a ready fire Draft spec and the exact call that runs it. Your first 100 fire Drafts are free with the $5 signup credit.
