{
  "params": {
    "species": {
      "type": "choice",
      "options": [
        "monarch",
        "morpho",
        "white",
        "swallowtail"
      ],
      "default": "monarch",
      "label": "Pattern",
      "describe": "Wing pattern: monarch (orange with black veins and a dotted black border, 9.5 cm), morpho (bright blue with a black border and a brown underside, 13 cm), white (cabbage-white cream with grey tips and black spots, 5.5 cm), swallowtail (yellow with black tiger bars, a blue-and-orange hind band and tailed hindwings, 10 cm)."
    },
    "spots": {
      "type": "toggle",
      "default": true,
      "label": "Border dots",
      "describe": "Rows of pale dots (dark spots on the white) in the wing border. Off gives clean, plain borders."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 99,
      "step": 1,
      "default": 1,
      "label": "Seed",
      "describe": "Varies the wing outline a little and the tone of each wing cell, so a swarm of the same pattern does not look cloned."
    },
    "size": {
      "type": "range",
      "min": 1,
      "max": 30,
      "step": 0.5,
      "default": 1,
      "label": "Size",
      "describe": "Uniform scale. 1 is real size (9.5 cm wingspan for the monarch pattern); 10 is a 1 m fairy-garden butterfly; 30 is a rideable fantasy giant."
    }
  },
  "presets": {
    "monarch": {
      "species": "monarch"
    },
    "blue morpho": {
      "species": "morpho",
      "spots": true
    },
    "tiger swallowtail": {
      "species": "swallowtail",
      "seed": 7
    }
  },
  "night": null
}