{
  "region_density_patterns": {
    "version": "2.0",
    "description": "Density distribution patterns within resource regions - randomly assigned per region",

    "available_patterns": [
      "concentrated",
      "uniform",
      "ring",
      "clustered",
      "gradient"
    ],

    "pattern_definitions": {
      "concentrated": {
        "description": "High feature density near region center, low at edges",
        "density_center": 1.0,
        "density_edge": 0.2,
        "effective_radius_percent": 50,
        "use_cases": "Rich ore bodies, primary deposits"
      },

      "uniform": {
        "description": "Equal feature density throughout entire region",
        "density_center": 1.0,
        "density_edge": 1.0,
        "effective_radius_percent": 100,
        "use_cases": "Sedimentary layers, widespread deposits"
      },

      "ring": {
        "description": "Feature density concentrated in annular zone",
        "density_center": 0.1,
        "density_ring_start": 0.6,
        "density_ring_peak": 1.0,
        "density_edge": 0.3,
        "use_cases": "Contact metamorphism, intrusion margins"
      },

      "clustered": {
        "description": "Multiple high-density sub-zones within region",
        "cluster_count": {"min": 2, "max": 4},
        "density_in_cluster": 1.0,
        "density_between_clusters": 0.2,
        "use_cases": "Pod formations, scattered deposits"
      },

      "gradient": {
        "description": "Smooth density decrease from center to edge",
        "density_center": 1.0,
        "density_edge": 0.4,
        "gradient_function": "logarithmic",
        "use_cases": "Diffusion halos, weathering profiles"
      }
    },

    "pattern_assignment": {
      "method": "random_selection",
      "equal_probability": true,
      "description": "Each region gets a random pattern from available_patterns"
    },

    "feature_placement_workflow": {
      "1": "Region created with random pattern",
      "2": "Pattern determines density distribution within region",
      "3": "For each tile needing feature placement:",
      "4": "  - Check region mass (strength)",
      "5": "  - Check local biome",
      "6": "  - Select compatible feature based on mass + biome",
      "7": "  - Place feature if density allows"
    }
  }
}