Skip to content
m4bwav edited this page Nov 16, 2026 · 2 revisions

render, legend, label and sheet take --style NAME. style NAME prints a look's palette as JSON.

python scripts/mpw.py style --list
atlas              biome colours, soft hillshade, flat sea, serif labels
blueprint          white line work on blueprint blue, monospace
ink-and-parchment  parchment land, ink lines, old serif
satellite          dark natural colour with strong relief, white labels
star-chart         night palette with a star field (palette only for now)
topographic        hypsometric tints, hillshade, depth-tinted sea

Legends follow the style

atlas colours land by biome, so its legend lists biome swatches; topographic colours by height, so it lists height bands. Only symbols on this map are listed.

python scripts/mpw.py legend isles.map --style topographic -o legend.svg
swatch 0-200 m
swatch 200-500 m
swatch 500-1000 m
swatch 1000-2000 m
swatch 2000-3000 m
swatch 3000-4500 m
swatch 4500 m+
swatch sea
line   coast
line   river
swatch lake
line   major road
line   minor road
dot    city
dot    town
dot    village

Comparing looks

python scripts/mpw.py sheet isles.map --styles atlas,blueprint,star-chart -o pick.png
wrote pick.png: 3 maps

Notes

  • Same folder and style give byte-identical SVG.
  • star-chart is a palette and a star field; it draws no catalogue stars yet.
  • Labels use the style's font list. The widths come from a shipped table at least as wide as Georgia, Arial, Palatino and Times, or from a TTF passed with --font.
  • City, dungeon and battle maps take ink-and-parchment or blueprint only.
  • A painted look comes from aistyle (since 0.8.0) on your own ComfyUI server: four looks over a code style, with the labels and symbols set in code afterwards. See Commands.

Clone this wiki locally