{
  "params": {
    "piece": {
      "type": "choice",
      "options": [
        "straight",
        "corner-out",
        "corner-in"
      ],
      "default": "straight",
      "label": "Piece",
      "describe": "straight (land at -Z, sea at +Z), corner-out (a headland: land only in the back-left, sea wraps round from the W edge to the N edge), corner-in (a cove: sea only in the front-right, the shore bends from the S edge to the E edge). Rotate in 90 degree steps."
    },
    "biome": {
      "type": "choice",
      "options": [
        "grass",
        "desert",
        "snow",
        "rock",
        "volcanic",
        "alien"
      ],
      "default": "desert",
      "label": "Biome",
      "describe": "Shared by every Terrain piece: grass (pale sand under a turf back edge, blue sea), desert (golden sand, turquoise lagoon), snow (grey shingle, icy water with floes), rock (pebble beach), volcanic (black sand against a glowing lava sea), alien (pink sand, glowing teal sea)."
    },
    "shells": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.1,
      "default": 0.6,
      "label": "Shells",
      "describe": "Amount of beach scatter: shells, starfish, pebbles and a piece of driftwood. 0 gives clean sand."
    },
    "foam": {
      "type": "toggle",
      "default": true,
      "label": "Foam",
      "describe": "White foam lines on the water at the shore; they wash in and out in a loop."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 50,
      "step": 1,
      "default": 2,
      "label": "Seed",
      "describe": "Moves the scatter and the ripples in the sand. Edges match for every seed."
    }
  },
  "presets": {
    "tropical lagoon": {
      "biome": "desert",
      "shells": 0.9
    },
    "black sand cove": {
      "biome": "volcanic",
      "piece": "corner-in"
    },
    "shingle headland": {
      "biome": "rock",
      "piece": "corner-out",
      "shells": 0.4
    }
  },
  "night": {
    "lava": {
      "zone": "lava",
      "color": "#ff7a1a",
      "intensity": 1.6,
      "describe": "Lava (volcanic biome) and ember cracks glow orange."
    },
    "glow": {
      "zone": "glow",
      "intensity": 1.2,
      "describe": "Alien liquid, bulb plants and crystals glow in their own teal and pink."
    }
  }
}