ComfyUI Node
Battlemap Generator
Generates a top-down battlemap as a 2D array of RGB colors and a corresponding heightmap for 3D rendering pipelines. The output is pure Python data (lists of lists) that can be easily converted to images by downstream nodes or external tools.
Battlemap Generator
- map_image
- heightmap
◄width10►
◄height10►
◄cell_size32►
◄style▾►
◄seed42►
CategoryParametric/3D
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 101–100 | Width in pixels. From 1 to 100. Default 10. |
| height | INT | 101–100 | Height in pixels. From 1 to 100. Default 10. |
| cell_size | INT | 321–256 | Cell size. From 1 to 256. Default 32. |
| style | COMBO | Style. One of 3 choices. | |
| seed | INT | 420–4294967295 | Random seed: the same seed repeats the same result. From 0 to 4.29497e+09. Default 42. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| map_image | MAP_DATA | — |
| heightmap | HEIGHTMAP_DATA | — |