# (How to) transform a playing field into a great map?

> Source: <https://discuss.huggingface.co/t/how-to-transform-a-playing-field-into-a-great-map/180564#post_1>
> Published: 2026-09-17 11:56:22+00:00

Hi. I have developed a generator that creates a map that defines the terrain of a playing field in 30x20 squares. I think you can guess what the symbols and colors mean. Example:

The map is generated anew each time, so it shouldn’t repeat itself.

I’ll need a minimap for the briefing later on, though the map doesn’t look all that great—it’s rather informal.

I also have a style sheet that is to be used:

The map should look like this, but with the terrain information passed from the generated map.

The AI needs to run locally on a computer and be able to complete the task within 1–2 minutes.

I currently use ComfyDesktop with SDXL and IPAdapter for this:

As you can see, despite the precise task description in the positive prompt, the result is still far from matching the map in terms of both quality and accuracy:

The map needs to be quite precise. Currently, it consists of a 30x20 grid

(though there will likely be more squares later); the properties of these squares, as well as the course of the river, etc., must be clearly and accurately represented.

I still have the map in a sort of text format—basically just as the computer generated it—though I’m not sure if that helps?:

Could someone help me figure out how to implement this?

That would be absolutely fantastic!

Best regards,

Toby
