mirror of
https://github.com/sbuffkin/hexmaker.git
synced 2026-07-22 14:30:24 +00:00
Adds per-overlay pattern fills so factions and regions can be visually distinguished when they overlap (issue #25). Each faction note and each region note now carries a pattern, scale, and opacity in its frontmatter, edited via the existing FactionEditor / GeoRegionEditor modals (dropdown + sliders + live preview swatch). Pattern set (10 total): solid (the existing flat fill, default), diagonal stripes ↗ / ↖, crosshatch, polka dots, grid, zigzag, triangles, scales, checker. On screen: SVG <pattern> defs are deduped per (key,color,scale) and referenced from each overlay path's fill. Stroke stays solid color so blob boundaries remain crisp. Per-overlay opacity replaces the hardcoded 0.45 group opacity. PNG export: mirrored via Canvas patterns built from an offscreen tile per (key,color,scale), cached for the render pass. Backwards compatible — overlays without the new frontmatter keys fall back to solid + 0.45 opacity, matching pre-1.3.0 behavior.
13 lines
No EOL
462 B
JSON
13 lines
No EOL
462 B
JSON
{
|
|
"id": "hexmaker",
|
|
"name": "Hexmap World Creator",
|
|
"version": "1.3.0",
|
|
"minAppVersion": "1.12.0",
|
|
"description": "Create a hex map and a guidebook level wiki for your setting with minimal fuss. Hex crawl worldbuilding toolbox. System agnostic, ready for any TRPG you care to run in it.",
|
|
"author": "morkdev",
|
|
"authorUrl": "https://github.com/sbuffkin",
|
|
"fundingUrl": {
|
|
"Buy Me a Coffee": "https://buymeacoffee.com/morkdev"
|
|
},
|
|
"isDesktopOnly": true
|
|
} |