47-tile terrain
One scene picture in. A ground tile set that fits any shape of level out.

sunpetal-crossing-scene.png

ground.png · 1.3 MB
A 47-tile set is what lets ground take any shape in a tile-based level: floors, floating ledges, steps, hollows and holes, with every edge and corner finished the right way. Painting one by hand means drawing all 47 variations so that each joins every other without a seam. FX Games holds that as a few steps of one graph. A locked template already has the right structure for every tile; the image model repaints it in the look of your scene in a single call, keeping each tile's finished sides exactly where they were. The sheet is then cut on fixed lines, checked for seams and holes, and packed into an atlas a game engine loads directly.
Try it
Make a 47-tile ground atlas that matches
1this scene, using FX Games' side-view terrain atlas in docs/spec/terrain-atlas.md. The picture is my own artwork. Start from a copy of the Bellweather package in godot/games/bellweather/inputs/default, and give one map's ground this scene as its reference, asking for warm cream paving, moss-softened edges and darker soil beneath.
Plan it first. Then build the world part live, and show me the atlas and the level laid out with it.
Paste it into an agent that can use this repository, and attach your own files where the prompt refers to them.
cd godot/games/bellweather uv run python -m grida.fx plan pipeline/workflow.py:build --arg package=inputs/my-game --arg part=world
uv run python -m grida.fx run pipeline/workflow.py:build --arg package=inputs/my-game --arg part=world \ --live --max-usd 30
inputs/my-game is a copy of inputs/default in the game's folder whose map names your scene under [ground]. The world part also paints that map's backgrounds. Needs OpenAI and OpenRouter keys.
Draw with it
Click or drag to add or take away ground. Each cell looks at its eight neighbours and takes one of the 47 tiles; point at a cell to see which one in the atlas below.

How the template holds the shape


Another scene, same template

amberbell-forest-scene.png

ground.png · 1.4 MB
The forest map asked for broad paving woven with old roots, amber leaves and dark forest soil. It was painted over the same template, passed the same checks, and fits the same levels.
What you get
| Name | Size | Kind |
|---|---|---|
| maps | 94.5 MB | Folder, 115 files |
| sunpetal-crossing | 39.6 MB | Folder, 59 files |
| ground.png | 1.3 MB | The atlas: 47 tiles of 120 pixels, 12 by 4, with one reserved cell left empty |
| ground.validation.json | 11 KB | The checks it passed, and which tile each test shape used |
| ground.evidence.png | 794 KB | The level laid out with the atlas |
| ground.raw.png | 4.1 MB | The painted sheet as the model returned it |
| terrain.json | 1 KB | The level as a grid of solid and empty cells |
| execution-summary.json | 42 KB | How the run ended, step by step |
| and 5 more files the pipeline keeps for recovery and auditing | ||
Where it works
Works well
- A scene picture that shows the ground you want: paving, soil, rock, grass
- Side-view levels on a square grid: floors, floating ledges, steps, hollows and holes
- One material per atlas, with its own finish along the top
- Engines that use 3×3 minimal terrain, such as Godot's terrain sets
Not expected to work
- Smooth slopes: steps are square, and a slope needs its own tiles and collision
- Two materials meeting, such as grass giving way to sand
- Pixel art: the finish is hand-painted
- Top-down maps
Good to know
- The tiles are admitted by measurement, not by a reviewer. Draw a few shapes with them before you use them.
- Busy ground shows its repeats. A course of slabs reads as a wall; a single bright pebble reads as a copy.
- For now the atlas is made as part of a platformer's world preparation, which also paints that map's backgrounds.
What goes wrong by hand
| By hand | In the graph | How |
|---|---|---|
| Described in words, tile edges come back as the words: grooves for a grid, gaps where an underside is mentioned. | The model repaints a template that already has every finished side and corner. It is never asked to draw structure from a description. | |
| Tiles that look right alone show a line where they meet. | Every join the tiles can make is measured, and a sheet with a visible step in tone is drawn again, within six tries. | |
| A tile carries a hole or a strip of the guide line into the game. | The sheet is cut on fixed lines inside the fence, and a tile with any transparent pixel is refused. | |
| A level shape turns up that no tile was drawn for. | The lookup of 47 neighbour patterns is fixed and checked complete, so every shape a level can take has a tile. |
Models and tools
| GPT-5.6 Sol | OpenRouter | Language model |
| GPT Image 2.5 Sunburst | OpenAI | Image model |
| Pillow | local | Cuts the sheet on fixed lines, measures every join and packs the atlas |