Painting a 100-megapixel world

A fantasy map 12,000 pixels wide, painted in 81 pieces by a model that can only paint 1,536 pixels at a time. How it works, and how to make your own.

Completed9 min readexperiments, generative, world-building

The complete Lantern Sea world map, with a small gold rectangle on the royal capital and an inset in the lower right showing that rectangle at full size: a castle with blue roofs above a walled town, a river and fields.
The Lantern Sea. The inset shows the small gold rectangle at full size.
Explore the full map

Zoom from whole continents down to individual houses.

I’ve always liked maps. I like the old ones with compass roses and sea monsters, the hand-drawn ones at the front of fantasy novels, and the road atlases my parents spread across the front of the car on family holidays. A good map makes you want to follow a road with your finger to see where it goes. I’ve tried making my own a few times, with tools like Inkarnate and Dungeondraft, but never got one I was happy with.

When GPT-6 Astra came out with a new image model, I wanted another go.

Ten days, 433 turns with the agent and 300 million tokens later, I have one. It’s 12,276 by 8,184 pixels, painted in 81 overlapping pieces. It isn’t perfect. A few cities are slightly warped, and some tiles still don’t quite line up. But it’s closer to the map in my head than anything I’ve made before, and almost every part of it is worth zooming into.

The observatory on the northern rim of Asterfall’s crater lake: a domed telescope house and bell tower among cypresses, walled terraces dropping to cliffs, a compass rose faintly drawn in the deep blue water below, and open sea behind.
The observatory at Asterfall. On the map it is smaller than a fingernail.

Finding the look

Two models share the work. Astra plans the map, writes the prompts and checks the results. GPT Image 2 does the painting. The first job is to settle on a style. The agent paints a few versions in different styles and you pick one. Every tile after that follows your choice, so it’s worth taking your time over it.

I spent an afternoon on this, and the early attempts looked like satellite photographs.

Three early generated continents in a satellite-photograph style: snowy peaks, green lowlands and an ochre desert, with faint road lines and a title reading The Known Lands.
Continents from that first afternoon. Realistic, but with nowhere to visit.

They aren’t bad. The coastlines are sharp and the mountains look real. But the roads are faint scratches and the towns are smudges. Nothing suggests that anyone lives there, so there’s nothing to go and look at.

So I told Astra about the things I did want to look at: roads and rivers, how a town sits in the land, the feel of the place. By the evening it had painted the first version of the Lantern Sea.

The first hand-painted Lantern Sea map: two continents, Eldervane and Sarthuun, either side of a central sea, with snowy northern mountains, a desert basin in the southwest, volcanic islands in the southeast and a scattering of labelled cities.
The first Lantern Sea, painted in a single generation on the first evening. Two continents, a dozen cities, one enormous castle per people.

This one has individual trees. The towns have proper roofs and sit on slopes and shores. You can follow a river from the mountains down to a sea that glows. This painting set the look for everything that followed.

Who lives here

A map is more fun to explore when its places have a reason to be there. So the next step is the world itself: the peoples and their realms, where each keeps its capital and its smaller towns, how they build, and the roads between them. All of it is planned on top of the land, so each road leads somewhere and each port has a reason to exist.

Bring as much of this as you like. When you run out of ideas, the agent can fill the gaps. I asked it to take inspiration from Dungeons & Dragons and to make room for all the variety in that setting. It came back with twenty-eight realms. The layout of the world had also changed since that first evening, and the realms are drawn on the later version.

The painted map overlaid with 28 numbered, colour-coded territory outlines, titled Room for countries, not just landmarks.
Twenty-eight realms, up from a dozen castles.

Too big for one picture

GPT Image 2 paints at most 1,536 by 1,024 pixels. The first Lantern Sea, the whole world, is one picture that size.

The finished map is 12,276 by 8,184 pixels, nearly eight times wider. That’s just over 100 million pixels, about 64 times as many as the model can paint at once.

Couldn’t you paint it small and scale it up?

You could, but scaling a picture up makes it bigger without adding any detail. A town that was a smudge becomes a larger smudge.

So the map is painted in pieces instead: a nine-by-nine grid of tiles, each one the full 1,536 by 1,024.

The world map divided by a nine-by-nine grid of tiles. Four tiles in the western kingdom are highlighted in green as painted, four to their north are outlined in gold as next, and the rest are dimmed.
The plan, four tiles in. Green is painted, gold is next.

Painting a single tile is straightforward. The trouble starts where two tiles meet. Paint them separately and a river can leave one tile at a different place, width and colour from where it enters the next.

Two things fix most of that. Each tile overlaps its neighbours, by about 190 pixels side to side and 130 top to bottom, so every join is painted twice. That overlap is why the map takes 81 tiles rather than 64. And before the agent paints a new tile, it copies in the finished edges of the tiles already beside it, so the model can see what it has to match.

The first tile

Before the loop starts, one tile is painted on its own. This is the tile that tells you whether the whole approach will work, so re-roll it until you’re happy. It’s also where you decide how places are drawn: a handful of roofs, a marker, or something in between. Every later tile copies what you choose here.

I went with cities as landmarks. Each city is painted into the land so it belongs there, but drawn bigger and bolder than it would really be, so you can still pick it out from far away. You can spot the castle from the whole-world view, then zoom in to find the town around it.

The capital Crownmere at full resolution: a castle with blue slate roofs on a rise above a river bend, a walled town below it, a bridge, quays with boats, and fields and hedgerows all around.
Crownmere, the royal capital. The castle is drawn oversized so it works as a marker.

The other eighty

From here the agent repeats the same loop for every tile. It draws a rough guide, copies in the painted edges of any finished neighbours, and paints. Then it checks that every river and road carries on across the joins, and repaints anything that’s broken.

Here is one tile going through that loop.

Two panels. Top: a flat schematic guide with a blue river, pale roads and two numbered settlement markers, with strips of finished painting along its top and left edges. Bottom: the painted tile that came back, with the river, a bridge town, a walled fortress and forested hills.
One tile. The guide going in, and the painting that came back.

The guide is deliberately crude. It has shaded relief, a blue line for the river, a pale line for each road and a numbered marker where each settlement goes, all taken from the world plan. The rock, the roofs and the folds in the land are left for the model to invent.

The strips of painting along its top and left edges are the copied edges of finished tiles. They show the model the river at its true width and the light it has to match. What came back has a bridge town, a walled fortress and forested hills along the river.

A few joins still don’t line up, but most look like this strip across one, shown at full size.

A native-resolution strip across the boundary between two tiles, with the shared band marked by two dashed lines. A walled town sits in the tile above, a road runs down through the band into the tile below, and a fortress with red banners stands at the bottom right.
The dashed lines mark the band both tiles painted.

Both tiles painted the band between the dashed lines. The road leaves the walled town in the upper tile, crosses the band and carries on into the lower tile without a kink. The fields line up too.

Because the map grows outward from where it started, most tiles have two painted sides to match, not one. Here are four together, as they sit in the finished map.

Four adjacent tiles of the finished map with their outlines drawn in gold, overlapping at the edges. A castle town at the top left, farmland and a river running down through all four, a marsh with a stockade at the bottom left, and a harbour town on a rocky coast at the bottom right.
Four tiles, from the capital down to the coast. The gold lines are the tile edges.

Repeat that eighty times and the map is finished.

Here it is laid over that later whole-world painting, one tile after another, until all 81 are in place.

A later whole-world reference map, showing the planned coasts and regions before the full-resolution tile painting.0 / 81 tiles
A later whole-world reference stays underneath as the finished painting appears, tile by tile. This uses the finished overview to illustrate the assembly; it does not show the original render order or every intermediate version.

Labels last

The names go on at the very end, as a separate layer over the painting. Keeping them off the tiles means you can rename a place or move a label without repainting anything.

The Crownmere region with its castle, river, roads and farms, without place names.
Painting only
Same painting, with a separate layer of names. Turn the names on and off without changing the artwork.

Explore the world

Here’s the whole map. Drag to wander, pinch to get closer, or hold Ctrl (⌘ on a Mac) and scroll to zoom. “Actual detail” takes you down to the houses, boats and footpaths. Turn off “Place names” to see just the painting, and “Fit map” brings the whole world back into view.

From continents to individual houses.Open the full explorer ↗

The explorer loads small pieces as you move, so you can look around without downloading the huge original image.

Make your own

The process on this page is in a kit in my experiments repository: the skills the agent follows, the templates and a working example. Its own helper builds smaller maps, up to about 16 megapixels. A map this size needs its own renderer, and the kit’s notes on scaling explain what that involves. To get just that folder:

git clone --filter=blob:none --sparse https://github.com/ryannel/experiments.git experiments
cd experiments
git sparse-checkout set map_creation

Open it in Codex as its own project. It should default to GPT-6 Astra on High, which gave me the best results. Type $map-director and describe the world you have in mind. The director skill takes you through the same steps as this page: the look, the world, the first tile, the rest of the tiles, and the labels.

It took me ten days. Most of that went on working out the process, and that part is now written down.

Links