{
  "params": {
    "type": {
      "type": "choice",
      "options": [
        "mix",
        "branching",
        "brain",
        "fan",
        "tube"
      ],
      "default": "mix",
      "label": "Coral type",
      "describe": "mix (a varied reef patch), branching (antler-like staghorn), brain (round grooved domes), fan (flat lacy sea fans) or tube (clusters of hollow tube sponges)."
    },
    "palette": {
      "type": "choice",
      "options": [
        "reef",
        "pastel",
        "deep",
        "bleached"
      ],
      "default": "reef",
      "label": "Palette",
      "describe": "Colour scheme: reef (warm tropical pinks, oranges, purple and yellow), pastel (soft candy tones), deep (blues and violets of deeper water) or bleached (bone white, a dying reef)."
    },
    "size": {
      "type": "range",
      "min": 0.5,
      "max": 2.5,
      "step": 0.1,
      "default": 1.2,
      "label": "Size",
      "describe": "Width of the rock and its coral in metres. Bigger clusters also carry more corals."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 50,
      "step": 1,
      "default": 5,
      "label": "Seed",
      "describe": "Changes the rock shape and where each coral grows. Scatter with different seeds so no two clusters match."
    }
  },
  "presets": {
    "tropical reef": {
      "type": "mix",
      "palette": "reef",
      "size": 1.6
    },
    "twilight fans": {
      "type": "fan",
      "palette": "deep",
      "seed": 12
    },
    "bleached reef": {
      "type": "mix",
      "palette": "bleached",
      "seed": 21
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "intensity": 1,
      "describe": "Branch tips and tube rims glow softly in their own colours, like fluorescent coral."
    }
  }
}