{
 "app": "Comp Studio",
 "site": "https://compstud.io",
 "documentVersion": 12,
 "nodeTypes": [
  {
   "type": "image",
   "menu": "Input",
   "ports": {
    "in": [],
    "out": [
     null
    ]
   },
   "fields": "name, width, height (the picture comes from the user, or a media data URL; see document-format.md)",
   "summary": "A still picture from a file."
  },
  {
   "type": "imageSet",
   "menu": "Input",
   "ports": {
    "in": [],
    "out": [
     null
    ]
   },
   "fields": "items: [{ id, name, width, height }]",
   "summary": "Several pictures on one wire, run through the graph one after another as a batch."
  },
  {
   "type": "video",
   "menu": "Input",
   "ports": {
    "in": [
     "param:speed"
    ],
    "out": [
     null,
     "sound"
    ]
   },
   "fields": "name, width, height, duration, speed (1), loop (true), muted (true)",
   "summary": "A video file, with its sound."
  },
  {
   "type": "audio",
   "menu": "Input",
   "ports": {
    "in": [
     "param:gain"
    ],
    "out": [
     "sound"
    ]
   },
   "fields": "name, duration, gain (1; keyable, wirable), offset (0), loop, muted; or synth: { kind: 'noise' | 'tone', seed, params }",
   "summary": "A sound file, to hear in viewers, export with the video or drive parameters."
  },
  {
   "type": "soundMix",
   "menu": "Module → Audio",
   "ports": {
    "in": [
     "sound:0 … sound:15",
     "param:layer0.gain … layer15.gain"
    ],
    "out": [
     "sound"
    ]
   },
   "fields": "layers: [{ gain (1; keyable as layerN.gain, wirable), pan (-1..1), mute, solo }] (one per input, in port order), limiter (true). Wire sounds into sound:0, sound:1, … (any audio, a video's sound or another soundMix); it renders them over the comp into one sound that plays and exports like an Audio node's.",
   "summary": "Mixes several sounds into one, each with its own Gain, Pan, Mute and Solo."
  },
  {
   "type": "text",
   "menu": "Input → Text (labelled Prompt)",
   "ports": {
    "in": [],
    "out": [
     "text"
    ]
   },
   "fields": "text",
   "summary": "Words to feed into AI modules, Text Mask or a Text module."
  },
  {
   "type": "describe",
   "menu": "AI",
   "ports": {
    "in": [
     "reference"
    ],
    "out": [
     "text"
    ]
   },
   "fields": "task (1), text",
   "summary": "Writes a caption for a picture, to use as a prompt."
  },
  {
   "type": "aiImage",
   "menu": "AI",
   "ports": {
    "in": [
     "text:prompt",
     "reference"
    ],
    "out": [
     null
    ]
   },
   "fields": "provider ('openrouter' | 'google'), model, aspectRatio, resolution (generated only when the user clicks Generate, with their own key)",
   "summary": "Makes a picture from a prompt, a picture, or both, with an online model and your own key."
  },
  {
   "type": "renderOutput",
   "menu": "Output → Viewer",
   "ports": {
    "in": [
     null,
     "sound"
    ],
    "out": [
     null
    ]
   },
   "fields": "width (card width in px, e.g. 360)",
   "summary": "A live view of the picture."
  },
  {
   "type": "backgroundOutput",
   "menu": "Output → Background",
   "ports": {
    "in": [
     null
    ],
    "out": [
     null
    ]
   },
   "fields": "enabled, fit ('cover'), opacity",
   "summary": "Shows the picture full screen behind the canvas."
  },
  {
   "type": "scope",
   "menu": "Output",
   "ports": {
    "in": [
     null
    ],
    "out": []
   },
   "fields": "mode (0 waveform, 1 parade, 2 vectorscope, 3 histogram)",
   "summary": "Measures the picture: waveform, RGB parade, vectorscope or histogram."
  },
  {
   "type": "projector",
   "menu": "Output",
   "ports": {
    "in": [
     null,
     "sound"
    ],
    "out": []
   },
   "fields": "fit ('contain' | 'cover')",
   "summary": "Shows the picture alone in its own window, for a second screen or a projector."
  },
  {
   "type": "render",
   "menu": "Output → Renderer",
   "ports": {
    "in": [
     null,
     "sound"
    ],
    "out": [
     "render"
    ]
   },
   "fields": "format ('png' | 'jpg' | 'webp' | 'gif' | 'mp4' | 'webm' | 'pngseq'), quality, scale, time, duration, fps, range ('comp'), filename",
   "summary": "Exports the picture to an image, a GIF, a video or a PNG sequence."
  },
  {
   "type": "recorder",
   "menu": "Output",
   "ports": {
    "in": [
     null,
     "sound"
    ],
    "out": [
     "render"
    ]
   },
   "fields": "format ('mp4' | 'webm'), quality, fps, scale",
   "summary": "Records what plays in real time to a video file, and passes the take on to a Viewer."
  },
  {
   "type": "comment",
   "menu": "C on the canvas",
   "ports": {
    "in": [],
    "out": []
   },
   "fields": "width, height, text, locked: a frame with words behind the modules it explains",
   "summary": ""
  },
  {
   "type": "effect",
   "menu": "Module → Custom → Code",
   "ports": {
    "in": [
     null,
     "<@input key>",
     "param:<@param key>",
     "sound"
    ],
    "out": [
     null,
     "<@output key>"
    ]
   },
   "fields": "effectId: \"code:\" (any; made again from the source on load), params, code: { source } — GLSL. Header comment lines declare the card: // @param float|int|bool|enum|color|vec2 key …, // @input key picture|sound, // @output key, // @name, // @mode shader. Pixel mode (default) reads r g b a, luma, uv, time, params by name; see modules-doc.md \"Code\" for every line and name. For a trait no module covers.",
   "summary": "Your own GLSL on the card, run on every pixel, with its own sliders, inputs and sound."
  },
  {
   "type": "modulator",
   "menu": "Module → Math → Formula",
   "ports": {
    "in": [
     "param:a",
     "param:b",
     "param:c",
     "param:d"
    ],
    "out": [
     "mod"
    ]
   },
   "fields": "modulatorId: \"formula:\" (any; made again from the expression on load), params { a, b, c, d }, formula: { expression } — e.g. \"sin(t * 2) * a + b\"; t is time in seconds; see modules-doc.md \"Formula\" for the operators and functions.",
   "summary": "A number from an expression you write, like sin(t * 2) * a + b, with four inputs."
  }
 ],
 "modules": [
  {
   "id": "solid",
   "label": "Solid Color",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Fills the frame with one colour, or nothing: a plate to build on.",
   "traits": [
    "background colour",
    "plate",
    "flat colour"
   ],
   "animated": false,
   "params": [
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "opacity",
     "label": "Opacity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:color",
     "param:opacity"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "shape",
   "label": "Shape",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws one flat shape: circle, rectangle, polygon, star, cross or heart.",
   "traits": [
    "circle",
    "rectangle",
    "star",
    "heart",
    "polygon",
    "frame",
    "sun"
   ],
   "animated": false,
   "params": [
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Circle",
      "Rectangle",
      "Triangle",
      "Polygon",
      "Star",
      "Cross",
      "Heart"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "sides",
     "label": "Sides / Points",
     "kind": "int",
     "default": 5,
     "min": 3,
     "max": 16,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "shapeWidth",
     "label": "Width",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shapeHeight",
     "label": "Height",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fill",
     "label": "Fill",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "outline",
     "label": "Outline",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "inner",
     "label": "Inner Radius",
     "kind": "float",
     "default": 0.45,
     "min": 0.05,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "armWidth",
     "label": "Arm Width",
     "kind": "float",
     "default": 0.33,
     "min": 0.02,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "roundness",
     "label": "Roundness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "transparent",
     "label": "Transparent Background",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:shape",
     "param:sides",
     "param:shapeWidth",
     "param:shapeHeight",
     "param:center",
     "param:rotation",
     "param:fill",
     "param:outline",
     "param:inner",
     "param:armWidth",
     "param:roundness",
     "param:softness",
     "param:background",
     "param:transparent"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "ramp",
   "label": "Gradient",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws a gradient: linear, radial, angular or diamond.",
   "traits": [
    "ramp",
    "sky",
    "fade",
    "radial gradient"
   ],
   "animated": false,
   "params": [
    {
     "key": "type",
     "label": "Type",
     "kind": "enum",
     "default": 0,
     "options": [
      "Linear",
      "Radial",
      "Angle",
      "Diamond"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "interpolation",
     "label": "Interpolation",
     "kind": "enum",
     "default": 1,
     "options": [
      "Linear",
      "Smooth",
      "Step"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "extend",
     "label": "Extend",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Repeat",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "stopCount",
     "label": "Stops",
     "kind": "int",
     "default": 3,
     "min": 2,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos0",
     "label": "Pos 1",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color0",
     "label": "Color 1",
     "kind": "color",
     "default": [
      0.06,
      0.05,
      0.18
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha0",
     "label": "Opacity 1",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos1",
     "label": "Pos 2",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color1",
     "label": "Color 2",
     "kind": "color",
     "default": [
      0.92,
      0.22,
      0.54
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha1",
     "label": "Opacity 2",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos2",
     "label": "Pos 3",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color2",
     "label": "Color 3",
     "kind": "color",
     "default": [
      0.98,
      0.78,
      0.25
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha2",
     "label": "Opacity 3",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos3",
     "label": "Pos 4",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color3",
     "label": "Color 4",
     "kind": "color",
     "default": [
      0.2,
      0.8,
      0.9
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha3",
     "label": "Opacity 4",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos4",
     "label": "Pos 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color4",
     "label": "Color 5",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha4",
     "label": "Opacity 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos5",
     "label": "Pos 6",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color5",
     "label": "Color 6",
     "kind": "color",
     "default": [
      0.5,
      0.5,
      0.5
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha5",
     "label": "Opacity 6",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos6",
     "label": "Pos 7",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color6",
     "label": "Color 7",
     "kind": "color",
     "default": [
      0.3,
      0.3,
      0.3
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha6",
     "label": "Opacity 7",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pos7",
     "label": "Pos 8",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color7",
     "label": "Color 8",
     "kind": "color",
     "default": [
      0.1,
      0.1,
      0.1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "alpha7",
     "label": "Opacity 8",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:type",
     "param:angle",
     "param:interpolation",
     "param:extend",
     "param:stopCount",
     "param:pos0",
     "param:color0",
     "param:alpha0",
     "param:pos1",
     "param:color1",
     "param:alpha1",
     "param:pos2",
     "param:color2",
     "param:alpha2",
     "param:pos3",
     "param:color3",
     "param:alpha3",
     "param:pos4",
     "param:color4",
     "param:alpha4",
     "param:pos5",
     "param:color5",
     "param:alpha5",
     "param:pos6",
     "param:color6",
     "param:alpha6",
     "param:pos7",
     "param:color7",
     "param:alpha7"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "noise",
   "label": "Noise",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws noise: smooth clouds, blocky values or cells.",
   "traits": [
    "clouds",
    "fog",
    "smoke",
    "texture",
    "perlin"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "noiseType",
     "label": "Type",
     "kind": "enum",
     "default": 0,
     "options": [
      "Perlin",
      "Value",
      "Worley",
      "Simplex",
      "Random"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "period",
     "label": "Period",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 10,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0.1,
     "max": 10,
     "step": 0.01,
     "field": true,
     "keyable": true
    },
    {
     "key": "harmonics",
     "label": "Harmonics",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "monochrome",
     "label": "Monochrome",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "motion",
     "label": "Motion",
     "kind": "enum",
     "default": 0,
     "options": [
      "Drift",
      "Evolve"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "translateMode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Offset",
      "Replace"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "translate",
     "label": "Translate",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "translateAmount",
     "label": "Amount",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 20,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spread",
     "label": "Harmonic Spread",
     "kind": "float",
     "default": 2.02,
     "min": 1.1,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "roughness",
     "label": "Harmonic Gain",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1.5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.02,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "exponent",
     "label": "Exponent",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "aspect",
     "label": "Aspect Correct",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "noiseSeed",
     "label": "Seed",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 100,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "direction",
     "label": "Direction (°)",
     "kind": "float",
     "default": 30,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:noiseType",
     "param:period",
     "param:scale",
     "param:harmonics",
     "param:contrast",
     "param:monochrome",
     "param:speed",
     "param:motion",
     "param:translateMode",
     "param:translate",
     "param:translateAmount",
     "param:spread",
     "param:roughness",
     "param:offset",
     "param:exponent",
     "param:aspect",
     "param:noiseSeed",
     "param:direction"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "plasma",
   "label": "Plasma",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws a moving plasma of colour, the demoscene classic.",
   "traits": [
    "demoscene",
    "psychedelic",
    "lava lamp",
    "abstract background"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1.5,
     "min": 0.1,
     "max": 10,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.1,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "complexity",
     "label": "Complexity",
     "kind": "int",
     "default": 4,
     "min": 1,
     "max": 4,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "warp",
     "label": "Warp",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "palette",
     "label": "Palette",
     "kind": "enum",
     "default": 0,
     "options": [
      "Rainbow",
      "Fire",
      "Ocean",
      "Neon",
      "Mono"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "shift",
     "label": "Shift",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:scale",
     "param:speed",
     "param:complexity",
     "param:warp",
     "param:palette",
     "param:shift"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "waveField",
   "label": "Wave Field",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws a greyscale field of interfering waves: ripples, vortex, tunnel, plasma, rings, moiré or starfield.",
   "traits": [
    "tunnel",
    "vortex",
    "moiré",
    "interference",
    "starfield",
    "hypnotic",
    "ripples",
    "optical illusion",
    "synth"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "mode",
     "label": "Look",
     "kind": "enum",
     "default": 0,
     "options": [
      "Ripple",
      "Vortex",
      "Tunnel",
      "Interference",
      "Plasma",
      "Pulsing Rings",
      "Orbits",
      "Cells",
      "Grid Swell",
      "Moiré",
      "Starfield"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 1,
     "min": -3,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "twist",
     "label": "Twist",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bias",
     "label": "Brightness",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "wRadial",
     "label": "Radial",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wSwell",
     "label": "Swells",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wSpiral",
     "label": "Spiral",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wTunnel",
     "label": "Tunnel",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wRings",
     "label": "Rings",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wEmit",
     "label": "Emitters",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "wStars",
     "label": "Stars",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:mode",
     "param:speed",
     "param:scale",
     "param:twist",
     "param:contrast",
     "param:bias",
     "param:invert",
     "param:wRadial",
     "param:wSwell",
     "param:wSpiral",
     "param:wTunnel",
     "param:wRings",
     "param:wEmit",
     "param:wStars"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "cellular",
   "label": "Cellular",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws cells: flat random colours, distances, borders or cracked earth.",
   "traits": [
    "cells",
    "voronoi",
    "cracked",
    "scales",
    "organic"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Flat",
      "Distance",
      "Edges",
      "Crackle"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "cellSize",
     "label": "Cell Size",
     "kind": "float",
     "default": 8,
     "min": 1,
     "max": 50,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "randomness",
     "label": "Randomness",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colour",
     "label": "Colour",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "edgeWidth",
     "label": "Edge Width",
     "kind": "float",
     "default": 0.05,
     "min": 0.01,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0,
     "min": -4,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    }
   ],
   "ports": {
    "in": [
     "param:mode",
     "param:cellSize",
     "param:randomness",
     "param:colour",
     "param:edgeWidth",
     "param:speed"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "pattern",
   "label": "Pattern",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws two-colour patterns: checkers, stripes, grids, dots or rings.",
   "traits": [
    "checkerboard",
    "stripes",
    "grid",
    "polka dots",
    "rings"
   ],
   "animated": false,
   "params": [
    {
     "key": "type",
     "label": "Type",
     "kind": "enum",
     "default": 0,
     "options": [
      "Checker",
      "Stripes",
      "Grid",
      "Dots",
      "Rings"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 10,
     "min": 1,
     "max": 100,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.01,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorA",
     "label": "Color A",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "colorB",
     "label": "Color B",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:type",
     "param:size",
     "param:width",
     "param:rotation",
     "param:offset",
     "param:colorA",
     "param:colorB"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "spectrum",
   "label": "Spectrum",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws the music as bars, lines, rings or a scrolling spectrogram.",
   "traits": [
    "audio visualizer",
    "equalizer",
    "music bars"
   ],
   "animated": true,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Bars",
      "Line",
      "Spectrogram",
      "Radial",
      "LED Meter",
      "Waterfall",
      "Ring",
      "Tunnel",
      "Rings"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "source",
     "label": "Source",
     "kind": "enum",
     "default": 0,
     "options": [
      "Full",
      "Percussive",
      "Harmonic"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "bars",
     "label": "Count",
     "kind": "int",
     "default": 32,
     "min": 4,
     "max": 128,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "low",
     "label": "Low",
     "kind": "color",
     "default": [
      0.12,
      0.5,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "high",
     "label": "High",
     "kind": "color",
     "default": [
      1,
      0.3,
      0.6
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smooth",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "range",
     "label": "Range (dB)",
     "kind": "float",
     "default": 48,
     "min": 12,
     "max": 96,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tilt",
     "label": "Tilt (dB/oct)",
     "kind": "float",
     "default": 3,
     "min": 0,
     "max": 12,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lineWidth",
     "label": "Line Width (px)",
     "kind": "float",
     "default": 1.5,
     "min": 0.5,
     "max": 12,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "glow",
     "label": "Glow",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "gap",
     "label": "Gap",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 0.9,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "peakHold",
     "label": "Peak Hold",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mirror",
     "label": "Mirror",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "segments",
     "label": "Segments",
     "kind": "int",
     "default": 16,
     "min": 4,
     "max": 48,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lines",
     "label": "Lines",
     "kind": "int",
     "default": 32,
     "min": 4,
     "max": 64,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0.02,
      0.02,
      0.04
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "sound",
     "param:mode",
     "param:source",
     "param:bars",
     "param:low",
     "param:high",
     "param:smoothing",
     "param:range",
     "param:tilt",
     "param:lineWidth",
     "param:glow",
     "param:gap",
     "param:peakHold",
     "param:mirror",
     "param:segments",
     "param:lines",
     "param:depth",
     "param:background"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Takes an Audio node on its \"sound\" port."
   ]
  },
  {
   "id": "textLayer",
   "label": "Text",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Sets words on the picture in any font, placed, styled and animated.",
   "traits": [
    "title",
    "typography",
    "caption",
    "lettering",
    "words"
   ],
   "animated": false,
   "params": [
    {
     "key": "position",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.001,
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 0.15,
     "min": 0.01,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Colour",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "opacity",
     "label": "Opacity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "reveal",
     "label": "Reveal",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "outline",
     "label": "Outline",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.25,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "outlineColor",
     "label": "Outline Colour",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "shadow",
     "label": "Shadow",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shadowColor",
     "label": "Shadow Colour",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "shadowOffset",
     "label": "Shadow Offset",
     "kind": "vec2",
     "default": [
      0.04,
      -0.06
     ],
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "shadowSoftness",
     "label": "Shadow Softness",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.3,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "text:prompt",
     "param:position",
     "param:size",
     "param:rotation",
     "param:color",
     "param:opacity",
     "param:reveal",
     "param:outline",
     "param:outlineColor",
     "param:shadow",
     "param:shadowColor",
     "param:shadowOffset",
     "param:shadowSoftness"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "model3d",
   "label": "Model",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Turns a 3D model (glTF, GLB or OBJ) into a picture, with its depth, normals and matte.",
   "traits": [
    "3D",
    "mesh",
    "glTF",
    "GLB",
    "product shot",
    "turntable",
    "clay render",
    "object"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "orbit",
     "label": "Orbit (°)",
     "kind": "float",
     "default": 30,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tilt",
     "label": "Tilt (°)",
     "kind": "float",
     "default": 15,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "distance",
     "label": "Distance",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 6,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fov",
     "label": "Field of View (°)",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 120,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "position",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "speed",
     "label": "Turntable (turns/s)",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "rotateX",
     "label": "Rotate X (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotateY",
     "label": "Rotate Y (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotateZ",
     "label": "Rotate Z (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.05,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "upAxis",
     "label": "Up Axis",
     "kind": "enum",
     "default": 0,
     "options": [
      "+Y",
      "+Z",
      "−Z",
      "+X",
      "−X",
      "−Y"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "shading",
     "label": "Shading",
     "kind": "enum",
     "default": 0,
     "options": [
      "Lit",
      "Unlit",
      "Clay",
      "Normals",
      "Depth"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "clayColor",
     "label": "Clay Colour",
     "kind": "color",
     "default": [
      0.82,
      0.8,
      0.76
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": -40,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightHeight",
     "label": "Light Height (°)",
     "kind": "float",
     "default": 35,
     "min": -90,
     "max": 90,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "intensity",
     "label": "Light",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightColor",
     "label": "Light Colour",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ambient",
     "label": "Ambient",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rim",
     "label": "Rim",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "enum",
     "default": 0,
     "options": [
      "Transparent",
      "Colour"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "backgroundColor",
     "label": "Background Colour",
     "kind": "color",
     "default": [
      0.08,
      0.08,
      0.09
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:orbit",
     "param:tilt",
     "param:distance",
     "param:fov",
     "param:position",
     "param:speed",
     "param:rotateX",
     "param:rotateY",
     "param:rotateZ",
     "param:scale",
     "param:upAxis",
     "param:shading",
     "param:clayColor",
     "param:lightAngle",
     "param:lightHeight",
     "param:intensity",
     "param:lightColor",
     "param:ambient",
     "param:rim",
     "param:background",
     "param:backgroundColor"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "shape3d",
   "label": "3D Shape",
   "kind": "generator",
   "menu": "Input → Generators",
   "summary": "Draws one simple 3D shape (cube, sphere, cylinder, cone, torus, pyramid, capsule, octahedron), lit and turned.",
   "traits": [
    "3D",
    "cube",
    "sphere",
    "torus",
    "primitive",
    "clay render",
    "object",
    "turntable"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Cube",
      "Sphere",
      "Cylinder",
      "Cone",
      "Torus",
      "Pyramid",
      "Capsule",
      "Octahedron"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 0.6,
     "min": 0.05,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotateX",
     "label": "Rotate X (°)",
     "kind": "float",
     "default": 25,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotateY",
     "label": "Rotate Y (°)",
     "kind": "float",
     "default": 35,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotateZ",
     "label": "Rotate Z (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Turntable (turns/s)",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "roundness",
     "label": "Roundness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "thickness",
     "label": "Thickness",
     "kind": "float",
     "default": 0.18,
     "min": 0.02,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "shading",
     "label": "Shading",
     "kind": "enum",
     "default": 0,
     "options": [
      "Lit",
      "Unlit",
      "Clay",
      "Normals",
      "Depth"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "fill",
     "label": "Colour",
     "kind": "color",
     "default": [
      0.9,
      0.35,
      0.25
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "fov",
     "label": "Field of View (°)",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 120,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "position",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "clayColor",
     "label": "Clay Colour",
     "kind": "color",
     "default": [
      0.82,
      0.8,
      0.76
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": -40,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightHeight",
     "label": "Light Height (°)",
     "kind": "float",
     "default": 35,
     "min": -90,
     "max": 90,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "intensity",
     "label": "Light",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightColor",
     "label": "Light Colour",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ambient",
     "label": "Ambient",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rim",
     "label": "Rim",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "enum",
     "default": 0,
     "options": [
      "Transparent",
      "Colour"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "backgroundColor",
     "label": "Background Colour",
     "kind": "color",
     "default": [
      0.08,
      0.08,
      0.09
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:shape",
     "param:size",
     "param:rotateX",
     "param:rotateY",
     "param:rotateZ",
     "param:speed",
     "param:roundness",
     "param:thickness",
     "param:shading",
     "param:fill",
     "param:fov",
     "param:position",
     "param:clayColor",
     "param:lightAngle",
     "param:lightHeight",
     "param:intensity",
     "param:lightColor",
     "param:ambient",
     "param:rim",
     "param:background",
     "param:backgroundColor"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "levels",
   "label": "Levels",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Sets black and white points and gamma on a histogram, brightness and contrast, or stretches the picture to full range by itself (Auto): the usual first and last step of a chain.",
   "traits": [
    "contrast",
    "brightness",
    "gamma",
    "faded blacks",
    "lifted shadows",
    "matte",
    "crushed blacks",
    "auto levels",
    "colour cast",
    "washed out",
    "flat"
   ],
   "animated": false,
   "params": [
    {
     "key": "auto",
     "label": "Auto",
     "kind": "enum",
     "default": 0,
     "options": [
      "Off",
      "Luma",
      "Per Channel"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "brightness",
     "label": "Brightness",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "black",
     "label": "Black",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "gamma",
     "label": "Gamma",
     "kind": "float",
     "default": 1,
     "min": 0.1,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "white",
     "label": "White",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "clip",
     "label": "Auto Clip %",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity",
     "label": "Opacity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:auto",
     "param:brightness",
     "param:contrast",
     "param:black",
     "param:gamma",
     "param:white",
     "param:clip",
     "param:opacity",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "curves",
   "label": "Curves",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Reshapes the tones with curves, for all channels together or each one on its own.",
   "traits": [
    "tone curve",
    "S-curve",
    "contrast",
    "cross process",
    "matte",
    "faded"
   ],
   "animated": false,
   "params": [
    {
     "key": "mCount",
     "label": "m points",
     "kind": "int",
     "default": 2,
     "min": 2,
     "max": 8,
     "portless": true
    },
    {
     "key": "mP0",
     "label": "m point 1",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP1",
     "label": "m point 2",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP2",
     "label": "m point 3",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP3",
     "label": "m point 4",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP4",
     "label": "m point 5",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP5",
     "label": "m point 6",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP6",
     "label": "m point 7",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mP7",
     "label": "m point 8",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rCount",
     "label": "r points",
     "kind": "int",
     "default": 2,
     "min": 2,
     "max": 8,
     "portless": true
    },
    {
     "key": "rP0",
     "label": "r point 1",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP1",
     "label": "r point 2",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP2",
     "label": "r point 3",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP3",
     "label": "r point 4",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP4",
     "label": "r point 5",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP5",
     "label": "r point 6",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP6",
     "label": "r point 7",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "rP7",
     "label": "r point 8",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gCount",
     "label": "g points",
     "kind": "int",
     "default": 2,
     "min": 2,
     "max": 8,
     "portless": true
    },
    {
     "key": "gP0",
     "label": "g point 1",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP1",
     "label": "g point 2",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP2",
     "label": "g point 3",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP3",
     "label": "g point 4",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP4",
     "label": "g point 5",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP5",
     "label": "g point 6",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP6",
     "label": "g point 7",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "gP7",
     "label": "g point 8",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bCount",
     "label": "b points",
     "kind": "int",
     "default": 2,
     "min": 2,
     "max": 8,
     "portless": true
    },
    {
     "key": "bP0",
     "label": "b point 1",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP1",
     "label": "b point 2",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP2",
     "label": "b point 3",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP3",
     "label": "b point 4",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP4",
     "label": "b point 5",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP5",
     "label": "b point 6",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP6",
     "label": "b point 7",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "bP7",
     "label": "b point 8",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "exposure",
   "label": "Exposure",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Brightens or darkens in camera stops, the way more or less light would.",
   "traits": [
    "overexposed",
    "underexposed",
    "dark",
    "bright",
    "stops"
   ],
   "animated": false,
   "params": [
    {
     "key": "exposure",
     "label": "Exposure",
     "kind": "float",
     "default": 0,
     "min": -4,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:exposure",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "shadowsHighlights",
   "label": "Shadows & Highlights",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Lifts the shadows and recovers the highlights, each without touching the other.",
   "traits": [
    "HDR",
    "flat",
    "recover highlights",
    "lift shadows"
   ],
   "animated": false,
   "params": [
    {
     "key": "shadows",
     "label": "Shadows",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "highlights",
     "label": "Highlights",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:shadows",
     "param:highlights",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "saturation",
   "label": "Saturation",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Makes colours stronger or weaker and shifts their hue.",
   "traits": [
    "vivid",
    "muted",
    "desaturated",
    "washed out",
    "hue shift",
    "pastel"
   ],
   "animated": false,
   "params": [
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hue",
     "label": "Hue",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:saturation",
     "param:hue",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "vibrance",
   "label": "Vibrance",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Boosts dull colours more than vivid ones, so skin and sky stay natural.",
   "traits": [
    "vivid",
    "punchy",
    "natural colour",
    "muted"
   ],
   "animated": false,
   "params": [
    {
     "key": "vibrance",
     "label": "Vibrance",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:vibrance",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "whiteBalance",
   "label": "White Balance",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Warms or cools the picture and corrects a green or magenta cast.",
   "traits": [
    "warm",
    "cool",
    "golden hour",
    "blue hour",
    "tungsten",
    "colour temperature",
    "tint"
   ],
   "animated": false,
   "params": [
    {
     "key": "temperature",
     "label": "Temperature",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:temperature",
     "param:tint",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "colorBalance",
   "label": "Color Balance",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Tints shadows, midtones and highlights separately, like teal shadows under warm highlights.",
   "traits": [
    "teal and orange",
    "split toning",
    "cinematic grade",
    "colour grade",
    "tinted shadows"
   ],
   "animated": false,
   "params": [
    {
     "key": "shadows",
     "label": "Shadows",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "midtones",
     "label": "Midtones",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "highlights",
     "label": "Highlights",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:shadows",
     "param:midtones",
     "param:highlights",
     "param:strength",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "selectiveColor",
   "label": "Selective Color",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Adjusts one range of hues and leaves the rest alone, or greys out everything else.",
   "traits": [
    "colour splash",
    "one colour only",
    "isolate hue",
    "red only"
   ],
   "animated": false,
   "params": [
    {
     "key": "hue",
     "label": "Hue (°)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "range",
     "label": "Range (°)",
     "kind": "float",
     "default": 25,
     "min": 0,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hueShift",
     "label": "Hue Shift (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightness",
     "label": "Lightness",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "outside",
     "label": "Outside Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness (°)",
     "kind": "float",
     "default": 15,
     "min": 0,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "showMask",
     "label": "Show Mask",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:hue",
     "param:range",
     "param:hueShift",
     "param:saturation",
     "param:lightness",
     "param:outside",
     "param:softness",
     "param:showMask",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "channelMixer",
   "label": "Channel Mixer",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Rebuilds each colour channel from the other three: swap channels, fake infrared, or mix a custom black and white.",
   "traits": [
    "infrared",
    "channel swap",
    "false colour",
    "aerochrome"
   ],
   "animated": false,
   "params": [
    {
     "key": "monochrome",
     "label": "Monochrome",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "rFromR",
     "label": "Red ← R",
     "kind": "float",
     "default": 1,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rFromG",
     "label": "Red ← G",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rFromB",
     "label": "Red ← B",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "gFromR",
     "label": "Green ← R",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "gFromG",
     "label": "Green ← G",
     "kind": "float",
     "default": 1,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "gFromB",
     "label": "Green ← B",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "bFromR",
     "label": "Blue ← R",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "bFromG",
     "label": "Blue ← G",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "bFromB",
     "label": "Blue ← B",
     "kind": "float",
     "default": 1,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:monochrome",
     "param:rFromR",
     "param:rFromG",
     "param:rFromB",
     "param:gFromR",
     "param:gFromG",
     "param:gFromB",
     "param:bFromR",
     "param:bFromG",
     "param:bFromB",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "channelSplit",
   "label": "Channel Split",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Pulls one channel out of the picture -- red, green, blue, alpha or luma -- as grey, in its colour, or as a matte.",
   "traits": [
    "split channels",
    "single channel",
    "extract red",
    "extract alpha",
    "shuffle",
    "channel isolate",
    "touchdesigner"
   ],
   "animated": false,
   "params": [
    {
     "key": "channel",
     "label": "Channel",
     "kind": "enum",
     "default": 1,
     "options": [
      "Luma",
      "Red",
      "Green",
      "Blue",
      "Alpha"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "view",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Greyscale",
      "In Colour",
      "Matte"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:channel",
     "param:view",
     "param:invert"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "blackwhite",
   "label": "Black & White",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Turns the picture grey, weighting each colour by how bright it looks to the eye.",
   "traits": [
    "monochrome",
    "grayscale",
    "greyscale",
    "noir",
    "silver gelatin"
   ],
   "animated": false,
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "invert",
   "label": "Invert",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Turns the picture into its negative.",
   "traits": [
    "negative",
    "inverted"
   ],
   "animated": false,
   "params": [
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "threshold",
   "label": "Threshold",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Cuts the picture to pure black and white at a brightness level.",
   "traits": [
    "stencil",
    "two-tone",
    "xerox",
    "high contrast black and white"
   ],
   "animated": false,
   "params": [
    {
     "key": "level",
     "label": "Level",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:level",
     "param:softness",
     "param:invert",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "palette",
   "label": "Palette",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Snaps every colour to the nearest of a fixed retro palette (Game Boy, CGA, C64, PICO-8, riso inks), dithered or flat.",
   "traits": [
    "Game Boy",
    "CGA",
    "Commodore 64",
    "PICO-8",
    "ZX Spectrum",
    "8-bit",
    "pixel art",
    "retro computer",
    "limited palette",
    "risograph inks",
    "teletext"
   ],
   "animated": false,
   "params": [
    {
     "key": "palette",
     "label": "Palette",
     "kind": "enum",
     "default": 0,
     "options": [
      "Game Boy Classic",
      "Game Boy Pocket",
      "Game Boy Light",
      "CGA Cyan & Magenta",
      "CGA Green & Red",
      "Commodore 64",
      "Apple II Hi-Res",
      "ZX Spectrum",
      "PICO-8",
      "Teletext",
      "CRT Amber Monitor",
      "Riso Fluo Pink & Cornflower",
      "Riso Sunflower & Teal",
      "Riso Gold & Crimson",
      "Riso 4-Ink",
      "CMYK Process",
      "Bronze Leaf",
      "Cyberpunk Neon",
      "Acid Techno",
      "Bauhaus Primary",
      "Swiss International",
      "Solarized Dark",
      "Nord",
      "Dracula",
      "Vaporwave Sunset",
      "Thermal",
      "Magma Glow",
      "Sunset Horizon",
      "Deep Ocean",
      "Vaporwave Dream",
      "Sepia Print",
      "Blueprint",
      "Amber CRT",
      "Matrix Terminal",
      "Mono High Contrast",
      "Cyan & Magenta",
      "Neon Ramp",
      "Solarized Ramp"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "dither",
     "label": "Dither",
     "kind": "enum",
     "default": 1,
     "options": [
      "None",
      "Bayer 4×4",
      "Bayer 8×8",
      "Blue Noise",
      "IGN"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "spread",
     "label": "Spread",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "cell",
     "label": "Pixel Size",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 32,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "match",
     "label": "Match",
     "kind": "enum",
     "default": 0,
     "options": [
      "Lab (ΔE)",
      "RGB",
      "Perceptual",
      "Brightness",
      "Hue"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "brightness",
     "label": "Brightness",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:palette",
     "param:dither",
     "param:spread",
     "param:cell",
     "param:match",
     "param:contrast",
     "param:brightness",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "lut",
   "label": "LUT",
   "kind": "effect",
   "menu": "Module → Color & Tone",
   "summary": "Applies a `.cube` 3D or 1D LUT colour grade, kept in the browser's media cache.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "dither",
   "label": "Dither",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Reduces the picture to a few colours with dither patterns: 1-bit Mac, Game Boy, print.",
   "traits": [
    "1-bit",
    "ordered dither",
    "Bayer",
    "Game Boy",
    "retro computer",
    "Macintosh",
    "e-ink",
    "limited palette"
   ],
   "animated": false,
   "params": [
    {
     "key": "matrix",
     "label": "Pattern",
     "kind": "enum",
     "default": 1,
     "options": [
      "Bayer 2x2",
      "Bayer 4x4",
      "Bayer 8x8",
      "Cluster Dot 4x4",
      "Cluster Dot 8x8",
      "Blue Noise",
      "IGN (Jimenez)",
      "White Noise",
      "Diagonal Lines",
      "Horizontal Lines",
      "Floyd-Steinberg",
      "Atkinson",
      "Bayer 16x16",
      "Crosshatch 8x8",
      "Spiral",
      "Void-and-Cluster",
      "R-Sequence",
      "Knuth Dot Diffusion",
      "Vertical Lines"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Pattern Scale",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "levels",
     "label": "Color Levels",
     "kind": "int",
     "default": 2,
     "min": 2,
     "max": 16,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "monochrome",
     "label": "Monochrome",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Screen Angle",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:matrix",
     "param:scale",
     "param:levels",
     "param:monochrome",
     "param:angle",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "pixelate",
   "label": "Pixelate",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Blows the picture up into big square pixels.",
   "traits": [
    "pixel art",
    "8-bit",
    "mosaic",
    "low resolution",
    "censored"
   ],
   "animated": false,
   "params": [
    {
     "key": "size",
     "label": "Pixel Size",
     "kind": "float",
     "default": 8,
     "min": 1,
     "max": 64,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Square",
      "Hex",
      "Triangle",
      "Dots"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "quantize",
     "label": "Color Depth",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:size",
     "param:shape",
     "param:quantize",
     "param:background",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "crystalMosaic",
   "label": "Crystal Mosaic",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Breaks the picture into irregular cells of flat colour, like stained glass.",
   "traits": [
    "stained glass",
    "voronoi",
    "facets",
    "low poly"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "cellSize",
     "label": "Cell Size",
     "kind": "float",
     "default": 32,
     "min": 4,
     "max": 200,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "randomness",
     "label": "Randomness",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "facet",
     "label": "Facet",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeWidth",
     "label": "Edge Width",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeColor",
     "label": "Edge Color",
     "kind": "color",
     "default": [
      0.05,
      0.05,
      0.06
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0,
     "min": -4,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:cellSize",
     "param:randomness",
     "param:facet",
     "param:edgeWidth",
     "param:edgeColor",
     "param:speed",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "edgeDetect",
   "label": "Edge Detect",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Keeps only the outlines: line art, neon edges, sketches.",
   "traits": [
    "outline",
    "line art",
    "sketch",
    "neon edges",
    "contour",
    "cel shading"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "White on Black",
      "Black on White",
      "Neon Edge",
      "Comp Over Input"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "channel",
     "label": "Select",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luminance",
      "Red",
      "Green",
      "Blue",
      "Alpha"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "blackLevel",
     "label": "Black Level",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sensitivity",
     "label": "Strength",
     "kind": "float",
     "default": 2,
     "min": 0.01,
     "max": 10,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "thickness",
     "label": "Sample Step",
     "kind": "float",
     "default": 1,
     "min": 0.5,
     "max": 64,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeColor",
     "label": "Edge Color",
     "kind": "color",
     "default": [
      0,
      1,
      0.85
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeAlpha",
     "label": "Edges in Alpha",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mode",
     "param:channel",
     "param:blackLevel",
     "param:sensitivity",
     "param:thickness",
     "param:edgeColor",
     "param:edgeAlpha",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "emboss",
   "label": "Emboss",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Raises the picture into a relief, lit from one side.",
   "traits": [
    "relief",
    "stamped",
    "metal plate",
    "bas-relief"
   ],
   "animated": false,
   "params": [
    {
     "key": "angle",
     "label": "Angle (°)",
     "kind": "float",
     "default": 135,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "height",
     "label": "Height",
     "kind": "float",
     "default": 2,
     "min": 0,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "distance",
     "label": "Distance",
     "kind": "float",
     "default": 1.5,
     "min": 0.5,
     "max": 16,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Grey",
      "Colour",
      "Overlay"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:angle",
     "param:height",
     "param:distance",
     "param:mode",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "slope",
   "label": "Slope",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "The picture's slope as a picture: red/green slope, a normal map, or its steepness.",
   "traits": [
    "slope",
    "gradient",
    "normal map",
    "derivative",
    "height map",
    "bump",
    "touchdesigner",
    "slope top"
   ],
   "animated": false,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Slope",
      "Normal Map",
      "Magnitude",
      "Custom"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "red",
     "label": "Red",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal Slope",
      "Vertical Slope",
      "Magnitude",
      "Horizontal Red",
      "Vertical Red",
      "Horizontal Green",
      "Vertical Green",
      "Horizontal Blue",
      "Vertical Blue",
      "Horizontal Alpha",
      "Vertical Alpha",
      "Zero Point",
      "Zero",
      "One",
      "Input"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "green",
     "label": "Green",
     "kind": "enum",
     "default": 1,
     "options": [
      "Horizontal Slope",
      "Vertical Slope",
      "Magnitude",
      "Horizontal Red",
      "Vertical Red",
      "Horizontal Green",
      "Vertical Green",
      "Horizontal Blue",
      "Vertical Blue",
      "Horizontal Alpha",
      "Vertical Alpha",
      "Zero Point",
      "Zero",
      "One",
      "Input"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "blue",
     "label": "Blue",
     "kind": "enum",
     "default": 11,
     "options": [
      "Horizontal Slope",
      "Vertical Slope",
      "Magnitude",
      "Horizontal Red",
      "Vertical Red",
      "Horizontal Green",
      "Vertical Green",
      "Horizontal Blue",
      "Vertical Blue",
      "Horizontal Alpha",
      "Vertical Alpha",
      "Zero Point",
      "Zero",
      "One",
      "Input"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "alpha",
     "label": "Alpha",
     "kind": "enum",
     "default": 14,
     "options": [
      "Horizontal Slope",
      "Vertical Slope",
      "Magnitude",
      "Horizontal Red",
      "Vertical Red",
      "Horizontal Green",
      "Vertical Green",
      "Horizontal Blue",
      "Vertical Blue",
      "Horizontal Alpha",
      "Vertical Alpha",
      "Zero Point",
      "Zero",
      "One",
      "Input"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 10,
     "min": 0,
     "max": 100,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "distance",
     "label": "Distance",
     "kind": "float",
     "default": 1,
     "min": 0.5,
     "max": 16,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "method",
     "label": "Method",
     "kind": "enum",
     "default": 0,
     "options": [
      "Previous and Next",
      "Previous",
      "Next"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "separate",
     "label": "Separate Y",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "distanceY",
     "label": "Distance Y",
     "kind": "float",
     "default": 1,
     "min": 0.5,
     "max": 16,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "channel",
     "label": "Height From",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luma",
      "Red",
      "Green",
      "Blue",
      "Alpha"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "zero",
     "label": "Zero Point",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:red",
     "param:green",
     "param:blue",
     "param:alpha",
     "param:strength",
     "param:distance",
     "param:method",
     "param:separate",
     "param:distanceY",
     "param:channel",
     "param:zero"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "halftone",
   "label": "Halftone",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Turns the picture into a print dot screen: comics, pop art, newspapers.",
   "traits": [
    "comic",
    "pop art",
    "Ben-Day dots",
    "newspaper",
    "print dots",
    "CMYK"
   ],
   "animated": false,
   "params": [
    {
     "key": "scale",
     "label": "Screen Frequency",
     "kind": "float",
     "default": 45,
     "min": 10,
     "max": 120,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Screen Angle",
     "kind": "float",
     "default": 45,
     "min": 0,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Dot Softness",
     "kind": "float",
     "default": 0.1,
     "min": 0.01,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "paper",
     "label": "Paper Color",
     "kind": "color",
     "default": [
      0.96,
      0.94,
      0.9
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ink",
     "label": "Ink Color",
     "kind": "color",
     "default": [
      0.08,
      0.08,
      0.1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "dotShape",
     "label": "Dot Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Round",
      "Euclidean",
      "Ellipse",
      "Square",
      "Diamond",
      "Line"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:scale",
     "param:angle",
     "param:softness",
     "param:paper",
     "param:ink",
     "param:dotShape",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "print",
   "label": "Print",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Prints the picture on a press: separated into CMYK or spot inks, each screened into dots at its own angle, overprinted on paper.",
   "traits": [
    "CMYK",
    "offset print",
    "newsprint",
    "rosette",
    "magazine print",
    "four-colour process",
    "duotone",
    "riso"
   ],
   "animated": false,
   "params": [
    {
     "key": "inks",
     "label": "Inks",
     "kind": "enum",
     "default": 0,
     "options": [
      "CMYK Process",
      "Riso Pink + Blue",
      "Riso Pink, Yellow, Blue",
      "Riso Green + Purple",
      "Duotone Black + Orange",
      "Duotone Black + Blue",
      "Black Only",
      "Custom"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ruling",
     "label": "Ruling",
     "kind": "float",
     "default": 70,
     "min": 8,
     "max": 300,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dotShape",
     "label": "Dot Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Round",
      "Euclidean",
      "Ellipse",
      "Square",
      "Diamond",
      "Line"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "dotGain",
     "label": "Dot Gain",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "misregister",
     "label": "Misregistration",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "paper",
     "label": "Paper",
     "kind": "color",
     "default": [
      0.97,
      0.96,
      0.93
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "inkDensity",
     "label": "Ink Density",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "black",
     "label": "Black",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "paperGrain",
     "label": "Paper Grain",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "inkCount",
     "label": "Inks",
     "kind": "int",
     "default": 2,
     "min": 1,
     "max": 4,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ink1",
     "label": "Ink 1",
     "kind": "color",
     "default": [
      0,
      0.47,
      0.75
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ink2",
     "label": "Ink 2",
     "kind": "color",
     "default": [
      1,
      0.28,
      0.69
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ink3",
     "label": "Ink 3",
     "kind": "color",
     "default": [
      1,
      0.91,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ink4",
     "label": "Ink 4",
     "kind": "color",
     "default": [
      0.11,
      0.11,
      0.11
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotate",
     "label": "Rotate (°)",
     "kind": "float",
     "default": 0,
     "min": -45,
     "max": 45,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "variation",
     "label": "Variation",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 99,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:inks",
     "param:ruling",
     "param:dotShape",
     "param:dotGain",
     "param:misregister",
     "param:paper",
     "param:inkDensity",
     "param:black",
     "param:paperGrain",
     "param:inkCount",
     "param:ink1",
     "param:ink2",
     "param:ink3",
     "param:ink4",
     "param:rotate",
     "param:variation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "hatching",
   "label": "Hatching",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Draws the tones with parallel ink lines, like an engraving or a banknote.",
   "traits": [
    "engraving",
    "banknote",
    "etching",
    "pen and ink",
    "cross-hatch",
    "woodcut"
   ],
   "animated": false,
   "params": [
    {
     "key": "spacing",
     "label": "Line Spacing",
     "kind": "float",
     "default": 6,
     "min": 2,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle",
     "kind": "float",
     "default": 45,
     "min": 0,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "layers",
     "label": "Layers",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 4,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "weight",
     "label": "Line Weight",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 2,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "contour",
     "label": "Contour",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ink",
     "label": "Ink",
     "kind": "color",
     "default": [
      0.1,
      0.1,
      0.13
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "paper",
     "label": "Paper",
     "kind": "color",
     "default": [
      0.95,
      0.93,
      0.86
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:spacing",
     "param:angle",
     "param:layers",
     "param:weight",
     "param:contour",
     "param:ink",
     "param:paper",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "paper",
   "label": "Paper",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Prints the picture on paper, with its grain and fibres showing.",
   "traits": [
    "paper texture",
    "printed",
    "fibres",
    "watercolour paper",
    "poster"
   ],
   "animated": false,
   "params": [
    {
     "key": "paperType",
     "label": "Paper Type",
     "kind": "enum",
     "default": 1,
     "options": [
      "Fine",
      "Newsprint",
      "Watercolour",
      "Cardboard"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "relief",
     "label": "Relief",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "textureScale",
     "label": "Texture Scale",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": 135,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ink",
     "label": "Ink",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "paperColor",
     "label": "Paper Color",
     "kind": "color",
     "default": [
      0.96,
      0.93,
      0.86
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "absorption",
     "label": "Ink Absorption",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bleed",
     "label": "Bleed",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 8,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mottle",
     "label": "Mottle",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:paperType",
     "param:relief",
     "param:textureScale",
     "param:lightAngle",
     "param:ink",
     "param:paperColor",
     "param:absorption",
     "param:bleed",
     "param:mottle",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "risograph",
   "label": "Risograph",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Prints the picture in two or three spot inks, grainy and slightly off register.",
   "traits": [
    "riso",
    "zine",
    "spot colour",
    "misregistration",
    "screen print"
   ],
   "animated": false,
   "params": [
    {
     "key": "inks",
     "label": "Inks",
     "kind": "enum",
     "default": 0,
     "options": [
      "2 Inks",
      "3 Inks"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ink1",
     "label": "Ink 1",
     "kind": "color",
     "default": [
      1,
      0.28,
      0.55
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ink2",
     "label": "Ink 2",
     "kind": "color",
     "default": [
      0,
      0.47,
      0.75
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ink3",
     "label": "Ink 3",
     "kind": "color",
     "default": [
      1,
      0.91,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "density",
     "label": "Density",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "misregistration",
     "label": "Misregistration",
     "kind": "float",
     "default": 3,
     "min": 0,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "grain",
     "label": "Grain",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "grainSize",
     "label": "Grain Size",
     "kind": "float",
     "default": 1.5,
     "min": 1,
     "max": 6,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "unevenness",
     "label": "Unevenness",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "paperColor",
     "label": "Paper Color",
     "kind": "color",
     "default": [
      0.97,
      0.95,
      0.9
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "variation",
     "label": "Variation",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 99,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:inks",
     "param:ink1",
     "param:ink2",
     "param:ink3",
     "param:density",
     "param:misregistration",
     "param:grain",
     "param:grainSize",
     "param:unevenness",
     "param:paperColor",
     "param:variation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "scatter",
   "label": "Scatter",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Covers the frame in copies of a shape, each sized, turned and coloured by the picture under it.",
   "traits": [
    "instancing",
    "touchdesigner",
    "dot portrait",
    "scatter",
    "confetti",
    "mosaic of shapes",
    "copies",
    "pattern of sprites"
   ],
   "animated": false,
   "params": [
    {
     "key": "layout",
     "label": "Layout",
     "kind": "enum",
     "default": 0,
     "options": [
      "Grid",
      "Hex"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "columns",
     "label": "Columns",
     "kind": "int",
     "default": 40,
     "min": 2,
     "max": 200,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sizeBy",
     "label": "Size By",
     "kind": "enum",
     "default": 1,
     "options": [
      "Nothing",
      "Brightness",
      "Darkness"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorBy",
     "label": "Colour",
     "kind": "enum",
     "default": 0,
     "options": [
      "Picture",
      "Sprite",
      "Tint"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "jitter",
     "label": "Jitter",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sizeJitter",
     "label": "Random Size",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "randomTurn",
     "label": "Random Turn",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "turnBy",
     "label": "Turn by Brightness (°)",
     "kind": "float",
     "default": 0,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "enum",
     "default": 1,
     "options": [
      "Transparent",
      "Colour",
      "Picture"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "backgroundColor",
     "label": "Background Colour",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "sprite",
     "param:layout",
     "param:columns",
     "param:size",
     "param:sizeBy",
     "param:rotation",
     "param:colorBy",
     "param:tint",
     "param:jitter",
     "param:sizeJitter",
     "param:randomTurn",
     "param:turnBy",
     "param:background",
     "param:backgroundColor",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "sprite",
     "label": "Sprite"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "photocopy",
   "label": "Photocopy",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Runs the picture through a tired photocopier: harsh toner, a crooked page, dirt.",
   "traits": [
    "xerox",
    "punk flyer",
    "toner",
    "fanzine",
    "grungy print"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 2.5,
     "min": 0.5,
     "max": 8,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tonerGrain",
     "label": "Toner Grain",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "specks",
     "label": "Specks",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "paperColor",
     "label": "Paper Color",
     "kind": "color",
     "default": [
      0.95,
      0.95,
      0.93
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tonerColor",
     "label": "Toner Color",
     "kind": "color",
     "default": [
      0.07,
      0.07,
      0.08
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "skew",
     "label": "Skew (°)",
     "kind": "float",
     "default": 0.5,
     "min": -5,
     "max": 5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "zoom",
     "label": "Zoom",
     "kind": "float",
     "default": 1,
     "min": 0.8,
     "max": 1.3,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lidShadow",
     "label": "Lid Shadow",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeDarkening",
     "label": "Edge Darkening",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "streaks",
     "label": "Streaks",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:contrast",
     "param:tonerGrain",
     "param:specks",
     "param:paperColor",
     "param:tonerColor",
     "param:skew",
     "param:zoom",
     "param:lidShadow",
     "param:softness",
     "param:edgeDarkening",
     "param:streaks",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "relight",
   "label": "Relight",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Lights the picture like a surface in relief, with a light you move and a material you pick.",
   "traits": [
    "lighting",
    "surface",
    "normal map",
    "clay"
   ],
   "animated": false,
   "params": [
    {
     "key": "material",
     "label": "Material",
     "kind": "enum",
     "default": 0,
     "options": [
      "Plastic",
      "Metal",
      "Clay",
      "Leather"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 4,
     "min": 0,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": 135,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightHeight",
     "label": "Light Height (°)",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "specular",
     "label": "Specular",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ambient",
     "label": "Ambient",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorSource",
     "label": "Color Source",
     "kind": "enum",
     "default": 0,
     "options": [
      "Picture",
      "Material Color"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "materialColor",
     "label": "Material Color",
     "kind": "color",
     "default": [
      0.75,
      0.55,
      0.4
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "highlightColor",
     "label": "Highlight Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 1.5,
     "min": 0.5,
     "max": 8,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert Height",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "rim",
     "label": "Rim",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "height",
     "param:material",
     "param:depth",
     "param:lightAngle",
     "param:lightHeight",
     "param:specular",
     "param:ambient",
     "param:colorSource",
     "param:materialColor",
     "param:highlightColor",
     "param:smoothing",
     "param:invert",
     "param:rim",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "height",
     "label": "Height"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "glyphs",
   "label": "Glyphs",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Redraws the picture as characters on a grid, picked by brightness: ASCII art.",
   "traits": [
    "ASCII art",
    "text mode",
    "characters",
    "terminal",
    "matrix"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "set",
     "label": "Set",
     "kind": "enum",
     "default": 0,
     "options": [
      "ASCII",
      "Blocks",
      "Code Rain",
      "LED"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ramp",
     "label": "Ramp",
     "kind": "enum",
     "default": 0,
     "options": [
      "Classic",
      "Dots",
      "Lines",
      "Letters",
      "Shapes",
      "Braille",
      "Quadrants",
      "Box Drawing"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "size",
     "label": "Cell Size",
     "kind": "float",
     "default": 10,
     "min": 4,
     "max": 48,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Color",
     "kind": "enum",
     "default": 0,
     "options": [
      "Source",
      "Ink"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ink",
     "label": "Ink",
     "kind": "color",
     "default": [
      0.35,
      1,
      0.55
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "conditional": true,
     "phased": true
    },
    {
     "key": "contrast",
     "label": "Contrast",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:set",
     "param:ramp",
     "param:size",
     "param:tint",
     "param:ink",
     "param:speed",
     "param:contrast",
     "param:background",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "painterly",
   "label": "Painterly",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Repaints the picture in brush strokes that follow its shapes.",
   "traits": [
    "oil painting",
    "brush strokes",
    "impressionist",
    "painted"
   ],
   "animated": false,
   "params": [
    {
     "key": "radius",
     "label": "Brush Size",
     "kind": "float",
     "default": 6,
     "min": 1,
     "max": 24,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "stretch",
     "label": "Stroke Length",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sharpness",
     "label": "Sharpness",
     "kind": "float",
     "default": 8,
     "min": 1,
     "max": 18,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hardness",
     "label": "Hardness",
     "kind": "float",
     "default": 8,
     "min": 1,
     "max": 100,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:radius",
     "param:stretch",
     "param:sharpness",
     "param:hardness",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "gradientMap",
   "label": "Gradient Map",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Recolours the picture by mapping its brightness onto a gradient.",
   "traits": [
    "duotone",
    "tritone",
    "false colour",
    "thermal",
    "palette map",
    "colourize"
   ],
   "animated": false,
   "params": [
    {
     "key": "channel",
     "label": "Index",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luma",
      "Red",
      "Green",
      "Blue",
      "Alpha"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "interpolation",
     "label": "Interpolation",
     "kind": "enum",
     "default": 0,
     "options": [
      "Linear",
      "Smooth",
      "Step"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "stopCount",
     "label": "Stops",
     "kind": "int",
     "default": 3,
     "min": 2,
     "max": 8,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos0",
     "label": "Pos 1",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color0",
     "label": "Color 1",
     "kind": "color",
     "default": [
      0.05,
      0.02,
      0.1
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha0",
     "label": "Opacity 1",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos1",
     "label": "Pos 2",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color1",
     "label": "Color 2",
     "kind": "color",
     "default": [
      0.85,
      0.25,
      0.05
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha1",
     "label": "Opacity 2",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos2",
     "label": "Pos 3",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color2",
     "label": "Color 3",
     "kind": "color",
     "default": [
      1,
      0.95,
      0.7
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha2",
     "label": "Opacity 3",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos3",
     "label": "Pos 4",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color3",
     "label": "Color 4",
     "kind": "color",
     "default": [
      0.2,
      0.8,
      0.9
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha3",
     "label": "Opacity 4",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos4",
     "label": "Pos 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color4",
     "label": "Color 5",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha4",
     "label": "Opacity 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos5",
     "label": "Pos 6",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color5",
     "label": "Color 6",
     "kind": "color",
     "default": [
      0.5,
      0.5,
      0.5
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha5",
     "label": "Opacity 6",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos6",
     "label": "Pos 7",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color6",
     "label": "Color 7",
     "kind": "color",
     "default": [
      0.3,
      0.3,
      0.3
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha6",
     "label": "Opacity 7",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pos7",
     "label": "Pos 8",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "color7",
     "label": "Color 8",
     "kind": "color",
     "default": [
      0.1,
      0.1,
      0.1
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "alpha7",
     "label": "Opacity 8",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:channel",
     "param:interpolation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "iridescentMetal",
   "label": "Iridescent Metal",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Turns the picture into embossed liquid metal with an oily rainbow sheen.",
   "traits": [
    "chrome",
    "liquid metal",
    "oil slick",
    "holographic",
    "Y2K"
   ],
   "animated": false,
   "params": [
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothness",
     "label": "Smoothness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "roughness",
     "label": "Roughness",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "iridescence",
     "label": "Iridescence",
     "kind": "float",
     "default": 0.7,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "palette",
     "label": "Palette",
     "kind": "enum",
     "default": 0,
     "options": [
      "Oil Slick",
      "Rainbow",
      "Titanium",
      "Pearl",
      "Mercury"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle",
     "kind": "float",
     "default": 45,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "reflection",
     "label": "Reflection",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:depth",
     "param:smoothness",
     "param:roughness",
     "param:iridescence",
     "param:palette",
     "param:lightAngle",
     "param:reflection",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "holoFoil",
   "label": "Holographic Foil",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Adds the shifting rainbow sheen of a hologram sticker.",
   "traits": [
    "hologram",
    "foil",
    "trading card",
    "iridescent",
    "rainbow sheen"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "pattern",
     "label": "Pattern",
     "kind": "enum",
     "default": 0,
     "options": [
      "Tiles",
      "Radial (CD)",
      "Linear"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tileSize",
     "label": "Tile Size",
     "kind": "float",
     "default": 0.04,
     "min": 0.01,
     "max": 0.3,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "tiltX",
     "label": "Tilt X",
     "kind": "float",
     "default": 0.3,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tiltY",
     "label": "Tilt Y",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sparkle",
     "label": "Sparkle",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Sway Speed",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "grating",
     "label": "Grating Density",
     "kind": "float",
     "default": 1.6,
     "min": 0.8,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sway",
     "label": "Sway",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "applyTo",
     "label": "Apply To",
     "kind": "enum",
     "default": 0,
     "options": [
      "Whole Picture",
      "Highlights",
      "Shadows"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:pattern",
     "param:amount",
     "param:tileSize",
     "param:tiltX",
     "param:tiltY",
     "param:sparkle",
     "param:speed",
     "param:grating",
     "param:sway",
     "param:applyTo",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "posterize",
   "label": "Posterize",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Reduces the picture to a few flat steps of colour.",
   "traits": [
    "flat colour",
    "cel shading",
    "screen print",
    "limited palette",
    "cartoon"
   ],
   "animated": false,
   "params": [
    {
     "key": "levels",
     "label": "Levels",
     "kind": "int",
     "default": 6,
     "min": 2,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "RGB",
      "Luma"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:levels",
     "param:mode",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "bands",
   "label": "Bands",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Slices brightness into repeating bands of two colours: contour lines, marbling, topographic maps.",
   "traits": [
    "topographic",
    "contour lines",
    "marbling",
    "psychedelic"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "count",
     "label": "Count",
     "kind": "float",
     "default": 8,
     "min": 1,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorA",
     "label": "Color A",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "colorB",
     "label": "Color B",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "jitter",
     "label": "Jitter",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:count",
     "param:width",
     "param:colorA",
     "param:colorB",
     "param:speed",
     "param:softness",
     "param:jitter",
     "param:offset",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "goo",
   "label": "Goo",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Makes shapes melt and stick together like blobs of liquid.",
   "traits": [
    "melting",
    "liquid",
    "blobby",
    "metaballs"
   ],
   "animated": false,
   "params": [
    {
     "key": "shape",
     "label": "Shape From",
     "kind": "enum",
     "default": 1,
     "options": [
      "Alpha",
      "Brightness",
      "Darkness"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "reach",
     "label": "Reach",
     "kind": "float",
     "default": 24,
     "min": 0,
     "max": 128,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "stickiness",
     "label": "Stickiness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hold",
     "label": "Hold Shapes",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "colour",
     "label": "Colour",
     "kind": "enum",
     "default": 0,
     "options": [
      "Blend",
      "Original"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "enum",
     "default": 0,
     "options": [
      "Transparent",
      "Original"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:shape",
     "param:reach",
     "param:stickiness",
     "param:softness",
     "param:hold",
     "param:colour",
     "param:background",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "disintegrate",
   "label": "Disintegrate",
   "kind": "effect",
   "menu": "Module → Stylize",
   "summary": "Breaks the picture into flakes that drift away, turn to ash and burn out.",
   "traits": [
    "dissolve",
    "ash",
    "dust",
    "snap",
    "disintegration",
    "burning away",
    "flakes",
    "teleport",
    "possessed"
   ],
   "animated": false,
   "params": [
    {
     "key": "progress",
     "label": "Progress",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Direction",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "roughness",
     "label": "Roughness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Noise Scale",
     "kind": "float",
     "default": 4,
     "min": 0.5,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ash",
     "label": "Ash Color",
     "kind": "color",
     "default": [
      0.02,
      0.02,
      0.02
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "ashAmount",
     "label": "Ash",
     "kind": "float",
     "default": 0.7,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "cellSize",
     "label": "Flake Size",
     "kind": "float",
     "default": 6,
     "min": 2,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "life",
     "label": "Flake Life",
     "kind": "float",
     "default": 0.25,
     "min": 0.02,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "travel",
     "label": "Travel",
     "kind": "float",
     "default": 12,
     "min": 0,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "wind",
     "label": "Drift",
     "kind": "float",
     "default": 90,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sway",
     "label": "Sway",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spin",
     "label": "Spin",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Burn Edge",
     "kind": "float",
     "default": 0.04,
     "min": 0,
     "max": 0.3,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "glow",
     "label": "Burn Glow",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeColor",
     "label": "Burn Color",
     "kind": "color",
     "default": [
      1,
      0.25,
      0.08
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "map",
     "param:progress",
     "param:angle",
     "param:roughness",
     "param:scale",
     "param:ash",
     "param:ashAmount",
     "param:cellSize",
     "param:life",
     "param:travel",
     "param:wind",
     "param:sway",
     "param:spin",
     "param:edge",
     "param:glow",
     "param:edgeColor"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "map",
     "label": "Order"
    }
   ]
  },
  {
   "id": "sharpen",
   "label": "Sharpen",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Brings out fine detail.",
   "traits": [
    "crisp",
    "detail",
    "unsharp mask",
    "clarity"
   ],
   "animated": false,
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 1.5,
     "min": 0.5,
     "max": 40,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lumaOnly",
     "label": "Luma Only",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:radius",
     "param:threshold",
     "param:lumaOnly",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "denoise",
   "label": "Denoise",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Removes grain and noise while keeping edges sharp.",
   "traits": [
    "noise reduction",
    "clean",
    "smooth skin",
    "remove grain",
    "edge-preserving",
    "bilateral"
   ],
   "animated": false,
   "params": [
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 4,
     "min": 1,
     "max": 16,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "detail",
     "label": "Keep Detail",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:strength",
     "param:radius",
     "param:detail",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "blur",
   "label": "Blur",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Softens the picture with an even blur, as TouchDesigner's Blur TOP: kernel type, edges, pre-shrink for wide blurs.",
   "traits": [
    "soft",
    "out of focus",
    "gaussian",
    "dreamy",
    "frosted",
    "box blur",
    "smear",
    "wide blur"
   ],
   "animated": false,
   "params": [
    {
     "key": "method",
     "label": "Method",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal and Vertical",
      "Horizontal",
      "Vertical"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Filter Size",
     "kind": "float",
     "default": 6,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "kernel",
     "label": "Type",
     "kind": "enum",
     "default": 0,
     "options": [
      "Gaussian",
      "Box",
      "Bartlett",
      "Catmull-Rom",
      "Mitchell",
      "B-Spline"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "rotate",
     "label": "Rotate Kernel",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "extend",
     "label": "Extend",
     "kind": "enum",
     "default": 0,
     "options": [
      "Hold",
      "Zero",
      "Repeat",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "preShrink",
     "label": "Pre-Shrink",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 6,
     "keyable": true,
     "portless": true
    },
    {
     "key": "sampleStep",
     "label": "Sample Step",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": 0.25,
     "max": 16,
     "step": 0.05,
     "field": true,
     "keyable": true
    },
    {
     "key": "dither",
     "label": "Dither",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:method",
     "param:radius",
     "param:kernel",
     "param:rotate",
     "param:extend",
     "param:sampleStep",
     "param:dither",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "bokeh",
   "label": "Bokeh",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Blurs like a real lens, with bright points turning into discs or polygons.",
   "traits": [
    "shallow depth of field",
    "lens blur",
    "background blur",
    "out of focus lights"
   ],
   "animated": false,
   "params": [
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 10,
     "min": 0,
     "max": 48,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Disc",
      "Hexagon",
      "Octagon"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "boost",
     "label": "Highlight Boost",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:radius",
     "param:shape",
     "param:rotation",
     "param:boost",
     "param:threshold",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "directionalBlur",
   "label": "Directional Blur",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Smears the picture along one direction, like motion blur.",
   "traits": [
    "motion blur",
    "speed",
    "smear",
    "long exposure"
   ],
   "animated": false,
   "params": [
    {
     "key": "length",
     "label": "Length",
     "kind": "float",
     "default": 12,
     "min": 0,
     "max": 1024,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "trail",
     "label": "Trail",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:length",
     "param:angle",
     "param:trail",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "radialBlur",
   "label": "Radial Blur",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Blurs outward from a centre as a zoom, or around it as a spin.",
   "traits": [
    "zoom blur",
    "spin blur",
    "warp speed",
    "hyperspace"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Zoom",
      "Spin"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 0.3,
     "step": 0.002,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mode",
     "param:amount",
     "param:center",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "tiltShift",
   "label": "Tilt-Shift",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Keeps a band in focus and blurs the rest, making real scenes look like miniatures.",
   "traits": [
    "miniature",
    "toy model",
    "diorama"
   ],
   "animated": false,
   "params": [
    {
     "key": "focus",
     "label": "Focus",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle (°)",
     "kind": "float",
     "default": 0,
     "min": -90,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 0.08,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "falloff",
     "label": "Falloff",
     "kind": "float",
     "default": 0.25,
     "min": 0.01,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "maxBlur",
     "label": "Max Blur",
     "kind": "float",
     "default": 12,
     "min": 0,
     "max": 48,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1.3,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:focus",
     "param:angle",
     "param:width",
     "param:falloff",
     "param:maxBlur",
     "param:saturation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "glass",
   "label": "Glass",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Shows the picture through a pane of textured glass: fluted, reeded, antique, ice and more.",
   "traits": [
    "fluted glass",
    "reeded glass",
    "frosted glass",
    "shower glass",
    "ribbed"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "surface",
     "label": "Surface",
     "kind": "enum",
     "default": 1,
     "options": [
      "Smooth Pane",
      "Fluted",
      "Glass Blocks",
      "Hammered",
      "Rippled",
      "Height Map",
      "Fresnel Lens",
      "Prism Ribs",
      "Concave Flutes",
      "Wavy Reeds",
      "Pyramids",
      "Honeycomb",
      "Fly's Eye",
      "Bullseye",
      "Antique",
      "Ice / Crackle",
      "Concentric Rings",
      "Sunburst"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 0.06,
     "min": 0.005,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "angle",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true,
     "conditional": true
    },
    {
     "key": "relief",
     "label": "Relief",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "frost",
     "label": "Frost",
     "kind": "float",
     "default": 0.1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Flow",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true,
     "phased": true
    },
    {
     "key": "distance",
     "label": "Distance",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ior",
     "label": "Refractive Index",
     "kind": "float",
     "default": 1.5,
     "min": 1,
     "max": 2.4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.015,
     "min": 0,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "absorption",
     "label": "Absorption",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      0.86,
      0.95,
      0.93
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "reflection",
     "label": "Reflections",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": 135,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "grooveWidth",
     "label": "Groove Width",
     "kind": "float",
     "default": 0.15,
     "min": 0.02,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 3,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "heightMap",
     "param:surface",
     "param:size",
     "param:angle",
     "param:center",
     "param:relief",
     "param:frost",
     "param:speed",
     "param:distance",
     "param:ior",
     "param:dispersion",
     "param:absorption",
     "param:tint",
     "param:reflection",
     "param:lightAngle",
     "param:grooveWidth",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "heightMap",
     "label": "Height Map"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "rain",
   "label": "Rain on Glass",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Puts the picture behind a rainy, fogged-up window.",
   "traits": [
    "rainy window",
    "raindrops",
    "condensation",
    "fogged",
    "melancholy"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "amount",
     "label": "Rain",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Drop Size",
     "kind": "float",
     "default": 0.06,
     "min": 0.01,
     "max": 0.3,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "refraction",
     "label": "Refraction",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.3,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fog",
     "label": "Fog",
     "kind": "float",
     "default": 0.7,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "blur",
     "label": "Fog Blur",
     "kind": "float",
     "default": 16,
     "min": 0,
     "max": 48,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "trail",
     "label": "Trail Length",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "highlight",
     "label": "Highlights",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:size",
     "param:speed",
     "param:refraction",
     "param:fog",
     "param:blur",
     "param:trail",
     "param:highlight",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "shatter",
   "label": "Shattered Glass",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Breaks the picture into shards of glass spreading from an impact point.",
   "traits": [
    "broken glass",
    "shards",
    "cracked"
   ],
   "animated": false,
   "params": [
    {
     "key": "impact",
     "label": "Impact",
     "kind": "vec2",
     "default": [
      0.45,
      0.55
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "spread",
     "label": "Spread",
     "kind": "float",
     "default": 0.7,
     "min": 0.05,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shards",
     "label": "Shards",
     "kind": "int",
     "default": 14,
     "min": 4,
     "max": 48,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "displacement",
     "label": "Displacement",
     "kind": "float",
     "default": 0.006,
     "min": 0,
     "max": 0.05,
     "step": 0.0005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shading",
     "label": "Shard Shading",
     "kind": "float",
     "default": 0.12,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "crackWidth",
     "label": "Crack Width",
     "kind": "float",
     "default": 1.2,
     "min": 0,
     "max": 6,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "glint",
     "label": "Crack Glint",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "variation",
     "label": "Variation",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 99,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:impact",
     "param:spread",
     "param:shards",
     "param:displacement",
     "param:dispersion",
     "param:shading",
     "param:crackWidth",
     "param:glint",
     "param:variation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "caustics",
   "label": "Caustics",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Puts the picture under moving water, with dancing light patterns on top.",
   "traits": [
    "underwater",
    "pool",
    "water light"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "surface",
     "label": "Surface",
     "kind": "enum",
     "default": 0,
     "options": [
      "Waves",
      "Height Map"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 0.5,
     "min": 0.05,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true,
     "phased": true
    },
    {
     "key": "mapSoftness",
     "label": "Map Softness",
     "kind": "float",
     "default": 4,
     "min": 1,
     "max": 16,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "relief",
     "label": "Map Relief",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "focus",
     "label": "Focus",
     "kind": "float",
     "default": 1.2,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightColor",
     "label": "Light Color",
     "kind": "color",
     "default": [
      1,
      0.97,
      0.88
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Water Tint",
     "kind": "color",
     "default": [
      0.55,
      0.85,
      0.9
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tintAmount",
     "label": "Tint Amount",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sharpness",
     "label": "Sharpness",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.08,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "distortion",
     "label": "Distortion",
     "kind": "float",
     "default": 0.008,
     "min": 0,
     "max": 0.05,
     "step": 0.0005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "heightMap",
     "param:surface",
     "param:scale",
     "param:speed",
     "param:mapSoftness",
     "param:relief",
     "param:focus",
     "param:intensity",
     "param:lightColor",
     "param:tint",
     "param:tintAmount",
     "param:sharpness",
     "param:dispersion",
     "param:distortion",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "heightMap",
     "label": "Height Map"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "dirtyLens",
   "label": "Dirty Lens",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Adds smudges, fingerprints and dust that light up around bright lights.",
   "traits": [
    "smudged lens",
    "dust",
    "fingerprints"
   ],
   "animated": false,
   "params": [
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spread",
     "label": "Glow Spread",
     "kind": "float",
     "default": 0.15,
     "min": 0.02,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smudges",
     "label": "Smudges",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fingerprints",
     "label": "Fingerprints",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dust",
     "label": "Dust",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dirtScale",
     "label": "Dirt Scale",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      1,
      0.95,
      0.88
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "variation",
     "label": "Variation",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 99,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:intensity",
     "param:threshold",
     "param:spread",
     "param:smudges",
     "param:fingerprints",
     "param:dust",
     "param:dirtScale",
     "param:tint",
     "param:variation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "lenticular",
   "label": "Lenticular",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Makes a 3D postcard: two pictures in ridged strips that swap as the angle changes.",
   "traits": [
    "3D postcard",
    "lenticular print",
    "flip card"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "pitch",
     "label": "Lens Pitch",
     "kind": "float",
     "default": 8,
     "min": 2,
     "max": 40,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "direction",
     "label": "Lens Direction",
     "kind": "enum",
     "default": 0,
     "options": [
      "Vertical",
      "Horizontal"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "view",
     "label": "View Angle",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sway",
     "label": "Sway",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Sway Speed",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "ghosting",
     "label": "Ghosting",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sheen",
     "label": "Sheen",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "pictureB",
     "param:pitch",
     "param:direction",
     "param:view",
     "param:sway",
     "param:speed",
     "param:ghosting",
     "param:sheen",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "pictureB",
     "label": "Picture B"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "prismFilter",
   "label": "Prism Filter",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Repeats the picture in soft ghosts with rainbow fringes, like a prism filter.",
   "traits": [
    "prism",
    "kaleidoscope ghost",
    "rainbow fringe",
    "dreamy"
   ],
   "animated": false,
   "params": [
    {
     "key": "layout",
     "label": "Layout",
     "kind": "enum",
     "default": 0,
     "options": [
      "Ring",
      "Line",
      "Split"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "facets",
     "label": "Facets",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0.12,
     "min": 0,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 90,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Ghost Strength",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Facet Softness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "leak",
     "label": "Rainbow Leak",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:layout",
     "param:facets",
     "param:offset",
     "param:rotation",
     "param:strength",
     "param:softness",
     "param:dispersion",
     "param:leak",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "diffractionSpikes",
   "label": "Diffraction Spikes",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Adds star-shaped spikes to bright lights, as a camera aperture does.",
   "traits": [
    "star filter",
    "starburst",
    "sparkle",
    "cross screen"
   ],
   "animated": false,
   "params": [
    {
     "key": "blades",
     "label": "Blades",
     "kind": "int",
     "default": 6,
     "min": 2,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 15,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "length",
     "label": "Length",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:blades",
     "param:rotation",
     "param:length",
     "param:threshold",
     "param:intensity",
     "param:dispersion",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "spectralPrism",
   "label": "Spectral Prism",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Spreads the picture into a smooth rainbow, as a prism splits light.",
   "traits": [
    "rainbow",
    "dispersion",
    "Pink Floyd",
    "light split"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Directional",
      "Radial"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.015,
     "min": 0,
     "max": 0.1,
     "step": 0.0005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mode",
     "param:amount",
     "param:angle",
     "param:center",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "soapFilm",
   "label": "Soap Film",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Lays swirling rainbow bands over the picture, like a soap bubble or an oil slick spreading on water.",
   "traits": [
    "bubble",
    "oil on water",
    "thin film",
    "iridescent"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Draining",
      "Radial"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true,
     "conditional": true
    },
    {
     "key": "thickness",
     "label": "Thickness",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "drainage",
     "label": "Drainage",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "swirl",
     "label": "Swirl",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.1,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fingers",
     "label": "Fingers",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "crinkle",
     "label": "Crinkle",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:shape",
     "param:center",
     "param:thickness",
     "param:drainage",
     "param:swirl",
     "param:speed",
     "param:strength",
     "param:scale",
     "param:fingers",
     "param:crinkle",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "crystalBall",
   "label": "Crystal Ball",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Shows the picture through a glass sphere, flipped and wrapped around it.",
   "traits": [
    "lensball",
    "sphere",
    "globe"
   ],
   "animated": false,
   "params": [
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 0.3,
     "min": 0.02,
     "max": 1,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ior",
     "label": "Refractive Index",
     "kind": "float",
     "default": 1.5,
     "min": 1,
     "max": 2.4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "distance",
     "label": "Backdrop Distance",
     "kind": "float",
     "default": 2,
     "min": 0,
     "max": 10,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "reflection",
     "label": "Reflections",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": 135,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shadow",
     "label": "Shadow",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:center",
     "param:radius",
     "param:ior",
     "param:distance",
     "param:dispersion",
     "param:reflection",
     "param:lightAngle",
     "param:shadow",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "waterReflection",
   "label": "Reflection",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Reflects the picture in water below a horizon line.",
   "traits": [
    "lake",
    "mirror",
    "reflection",
    "puddle"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "horizon",
     "label": "Horizon",
     "kind": "float",
     "default": 0.45,
     "min": 0,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ripples",
     "label": "Ripples",
     "kind": "float",
     "default": 0.006,
     "min": 0,
     "max": 0.05,
     "step": 0.0005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rippleScale",
     "label": "Ripple Scale",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "roughness",
     "label": "Roughness",
     "kind": "float",
     "default": 4,
     "min": 0,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "reflectivity",
     "label": "Reflectivity",
     "kind": "float",
     "default": 0.85,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "waterColor",
     "label": "Water Color",
     "kind": "color",
     "default": [
      0.04,
      0.08,
      0.1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:horizon",
     "param:ripples",
     "param:rippleScale",
     "param:speed",
     "param:roughness",
     "param:reflectivity",
     "param:waterColor",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "bloom",
   "label": "Bloom",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Makes the bright parts glow.",
   "traits": [
    "glow",
    "dreamy",
    "soft light",
    "Orton effect",
    "neon glow",
    "ethereal"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "knee",
     "label": "Knee",
     "kind": "float",
     "default": 0.15,
     "min": 0.001,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 16,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:knee",
     "param:radius",
     "param:intensity"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "godRays",
   "label": "God Rays",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Casts rays of light from the bright parts, like sun through mist.",
   "traits": [
    "light rays",
    "crepuscular",
    "volumetric light",
    "sunbeams"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.7,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "knee",
     "label": "Knee",
     "kind": "float",
     "default": 0.15,
     "min": 0.001,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "light",
     "label": "Light",
     "kind": "vec2",
     "default": [
      0.5,
      0.75
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "length",
     "label": "Length",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "decay",
     "label": "Decay",
     "kind": "float",
     "default": 0.96,
     "min": 0.8,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1.2,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      1,
      0.92,
      0.75
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:knee",
     "param:light",
     "param:length",
     "param:decay",
     "param:intensity",
     "param:tint"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "lensFlare",
   "label": "Lens Flare",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Adds lens flare ghosts and halos around the picture's own bright spots.",
   "traits": [
    "flare",
    "J.J. Abrams",
    "sun flare",
    "cinematic light"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "knee",
     "label": "Knee",
     "kind": "float",
     "default": 0.1,
     "min": 0.001,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ghosts",
     "label": "Ghosts",
     "kind": "int",
     "default": 4,
     "min": 1,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spacing",
     "label": "Spacing",
     "kind": "float",
     "default": 0.35,
     "min": 0.05,
     "max": 0.8,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "halo",
     "label": "Halo",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 0.8,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 6,
     "min": 0,
     "max": 30,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "blur",
     "label": "Blur",
     "kind": "float",
     "default": 6,
     "min": 0,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:knee",
     "param:ghosts",
     "param:spacing",
     "param:halo",
     "param:dispersion",
     "param:blur",
     "param:intensity"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "halation",
   "label": "Halation",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Adds the red glow film gets around bright highlights.",
   "traits": [
    "film glow",
    "red halo",
    "Cinestill",
    "analog film",
    "vintage film"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.65,
     "min": 0.2,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "knee",
     "label": "Knee",
     "kind": "float",
     "default": 0.15,
     "min": 0.001,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 14,
     "min": 1,
     "max": 48,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.9,
     "min": 0,
     "max": 2.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      1,
      0.22,
      0.06
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:knee",
     "param:radius",
     "param:intensity",
     "param:tint",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "aura",
   "label": "Aura",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Puts a shimmering glow round a shape: a cut-out, or a matte wired in.",
   "traits": [
    "energy glow",
    "outer glow",
    "possessed",
    "supernatural",
    "ghostly",
    "red haze",
    "rim light",
    "power up"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      1,
      0.08,
      0.04
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 18,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rim",
     "label": "Inner Rim",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "turbulence",
     "label": "Turbulence",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "flicker",
     "label": "Flicker",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    }
   ],
   "ports": {
    "in": [
     null,
     "matte",
     "param:color",
     "param:radius",
     "param:intensity",
     "param:rim",
     "param:turbulence",
     "param:flicker",
     "param:speed"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "matte",
     "label": "Matte"
    }
   ]
  },
  {
   "id": "streak",
   "label": "Anamorphic Streak",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Stretches bright lights into long horizontal streaks, like an anamorphic lens.",
   "traits": [
    "anamorphic",
    "blue streak",
    "sci-fi flare",
    "cinematic"
   ],
   "animated": false,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.75,
     "min": 0.3,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "length",
     "label": "Length",
     "kind": "float",
     "default": 45,
     "min": 4,
     "max": 120,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Angle",
     "kind": "float",
     "default": 0,
     "min": -30,
     "max": 30,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1.2,
     "min": 0,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      0.2,
      0.6,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:length",
     "param:angle",
     "param:intensity",
     "param:tint",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "lens",
   "label": "Lens",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "A gentle bulge or pinch, like a CRT tube's curve.",
   "traits": [
    "barrel distortion",
    "CRT curve",
    "tube curve",
    "pincushion",
    "bulge"
   ],
   "animated": false,
   "params": [
    {
     "key": "curvature",
     "label": "Curvature",
     "kind": "float",
     "default": 0.2,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "zoom",
     "label": "Zoom",
     "kind": "float",
     "default": 1,
     "min": 0.5,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 2,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror",
      "Color"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:curvature",
     "param:zoom",
     "param:edge",
     "param:background"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "opticCompensation",
   "label": "Optic Compensation",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Bends the picture as a lens of a given field of view would, or flattens a fisheye, like After Effects' Optic Compensation.",
   "traits": [
    "Optic Compensation",
    "After Effects",
    "field of view",
    "fisheye",
    "lens distortion",
    "undistort",
    "wide angle",
    "rainbow fringe"
   ],
   "animated": false,
   "params": [
    {
     "key": "fov",
     "label": "Field of View",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 180,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "View Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.005,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "zoom",
     "label": "Zoom",
     "kind": "float",
     "default": 1,
     "min": 0.5,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "reverse",
     "label": "Reverse Lens Distortion",
     "kind": "bool",
     "default": false,
     "keyable": true,
     "portless": true
    },
    {
     "key": "resize",
     "label": "Resize",
     "kind": "enum",
     "default": 0,
     "options": [
      "Off",
      "Max 2X",
      "Max 4X",
      "Unlimited"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "dispersion",
     "label": "Dispersion",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "orientation",
     "label": "FOV Orientation",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal",
      "Vertical",
      "Diagonal"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 2,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror",
      "Color"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:fov",
     "param:center",
     "param:zoom",
     "param:dispersion",
     "param:edge",
     "param:background"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes the picture size for everything after it."
   ]
  },
  {
   "id": "chromaticAberration",
   "label": "Chromatic Aberration",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Splits red and blue apart at the edges, like a cheap lens.",
   "traits": [
    "RGB split",
    "colour fringe",
    "cheap lens",
    "glitch",
    "lo-fi",
    "anaglyph"
   ],
   "animated": false,
   "params": [
    {
     "key": "radial",
     "label": "Radial",
     "kind": "float",
     "default": 0.008,
     "min": -0.1,
     "max": 0.1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lateral",
     "label": "Lateral",
     "kind": "float",
     "default": 0,
     "min": -16,
     "max": 16,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:radial",
     "param:lateral",
     "param:center",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "vignette",
   "label": "Vignette",
   "kind": "effect",
   "menu": "Module → Optics & Blur",
   "summary": "Darkens or tints the edges of the picture.",
   "traits": [
    "dark corners",
    "old lens",
    "vintage",
    "tunnel vision",
    "lomo"
   ],
   "animated": false,
   "params": [
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 0.7,
     "min": 0,
     "max": 1.2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.35,
     "min": 0.01,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:center",
     "param:radius",
     "param:softness",
     "param:strength",
     "param:color"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "transform",
   "label": "Transform",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Moves, scales, rotates and flips the picture.",
   "traits": [
    "move",
    "scale",
    "rotate",
    "flip",
    "mirror",
    "zoom"
   ],
   "animated": false,
   "params": [
    {
     "key": "offset",
     "label": "Offset",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.005,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.1,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "flipX",
     "label": "Flip H",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "flipY",
     "label": "Flip V",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:offset",
     "param:scale",
     "param:rotation",
     "param:flipX",
     "param:flipY",
     "param:edge"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "resize",
   "label": "Resize / Crop",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Changes the picture's size or crops it.",
   "traits": [
    "crop",
    "aspect ratio",
    "letterbox",
    "square",
    "vertical"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Resize",
      "Crop to Aspect",
      "Crop Margins"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "sizeBy",
     "label": "Size By",
     "kind": "enum",
     "default": 0,
     "options": [
      "Scale",
      "Width & Height",
      "Width",
      "Height"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.05,
     "max": 4,
     "step": 0.01,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 1920,
     "min": 1,
     "max": 16384,
     "step": 1,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "height",
     "label": "Height",
     "kind": "float",
     "default": 1080,
     "min": 1,
     "max": 16384,
     "step": 1,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "fit",
     "label": "Fit",
     "kind": "enum",
     "default": 1,
     "options": [
      "Stretch",
      "Fill (Crop)",
      "Fit (Bars)"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "aspect",
     "label": "Aspect",
     "kind": "enum",
     "default": 0,
     "options": [
      "1:1",
      "4:5",
      "9:16",
      "16:9",
      "4:3",
      "3:2",
      "21:9"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "anchor",
     "label": "Anchor",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "left",
     "label": "Left",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.95,
     "step": 0.005,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "right",
     "label": "Right",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.95,
     "step": 0.005,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "top",
     "label": "Top",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.95,
     "step": 0.005,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "bottom",
     "label": "Bottom",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.95,
     "step": 0.005,
     "keyable": true,
     "conditional": true,
     "portless": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:fit",
     "param:anchor"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes the picture size for everything after it."
   ]
  },
  {
   "id": "swirl",
   "label": "Swirl",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Twists the picture into a whirlpool.",
   "traits": [
    "twirl",
    "vortex",
    "whirlpool"
   ],
   "animated": false,
   "params": [
    {
     "key": "angle",
     "label": "Angle",
     "kind": "float",
     "default": 180,
     "min": -720,
     "max": 720,
     "step": 5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 0.5,
     "min": 0.05,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:angle",
     "param:radius",
     "param:center",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "kaleidoscope",
   "label": "Kaleidoscope",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Mirrors the picture into kaleidoscope wedges or across its axes.",
   "traits": [
    "mirror symmetry",
    "mandala",
    "psychedelic"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Kaleidoscope",
      "Mirror X",
      "Mirror Y",
      "Mirror Quad"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "segments",
     "label": "Segments",
     "kind": "int",
     "default": 6,
     "min": 2,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation",
     "label": "Rotation",
     "kind": "float",
     "default": 0,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "sourceAngle",
     "label": "Source Angle",
     "kind": "float",
     "default": 0,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "zoom",
     "label": "Zoom",
     "kind": "float",
     "default": 1,
     "min": 0.1,
     "max": 8,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 3,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mode",
     "param:segments",
     "param:rotation",
     "param:sourceAngle",
     "param:center",
     "param:zoom",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "polarCoordinates",
   "label": "Polar Coordinates",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Wraps the picture around a centre, turning a horizon into a tiny planet, or unrolls it back.",
   "traits": [
    "tiny planet",
    "little planet",
    "circular"
   ],
   "animated": false,
   "params": [
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "To Polar",
      "To Rectangular"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 0.5,
     "min": 0.1,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 1,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:mode",
     "param:center",
     "param:rotation",
     "param:radius",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "ripple",
   "label": "Ripple",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Sends rings out from a point, like a stone dropped in water.",
   "traits": [
    "water rings",
    "shockwave",
    "droplet"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 0.01,
     "min": 0,
     "max": 0.1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "wavelength",
     "label": "Wavelength",
     "kind": "float",
     "default": 0.08,
     "min": 0.01,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.5,
     "min": -4,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "decay",
     "label": "Decay",
     "kind": "float",
     "default": 2,
     "min": 0,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:center",
     "param:amplitude",
     "param:wavelength",
     "param:speed",
     "param:decay",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "cornerPin",
   "label": "Corner Pin",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Moves the picture's four corners to put it in perspective, onto a screen or a wall.",
   "traits": [
    "perspective",
    "screen replacement",
    "billboard",
    "mockup"
   ],
   "animated": false,
   "params": [
    {
     "key": "topLeft",
     "label": "Top Left",
     "kind": "vec2",
     "default": [
      0,
      1
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.005,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "topRight",
     "label": "Top Right",
     "kind": "vec2",
     "default": [
      1,
      1
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.005,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "bottomRight",
     "label": "Bottom Right",
     "kind": "vec2",
     "default": [
      1,
      0
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.005,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "bottomLeft",
     "label": "Bottom Left",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.005,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "outside",
     "label": "Outside",
     "kind": "enum",
     "default": 0,
     "options": [
      "Transparent",
      "Black",
      "Source"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:topLeft",
     "param:topRight",
     "param:bottomRight",
     "param:bottomLeft",
     "param:outside",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "tile",
   "label": "Tile",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Repeats the picture in a grid.",
   "traits": [
    "repeat",
    "grid",
    "wallpaper",
    "pattern"
   ],
   "animated": false,
   "params": [
    {
     "key": "countX",
     "label": "Count X",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "countY",
     "label": "Count Y",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "brick",
     "label": "Brick Offset",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mirrorX",
     "label": "Mirror X",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "mirrorY",
     "label": "Mirror Y",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotation",
     "label": "Rotation (°)",
     "kind": "float",
     "default": 0,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:countX",
     "param:countY",
     "param:brick",
     "param:mirrorX",
     "param:mirrorY",
     "param:rotation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "wobble",
   "label": "Wobble",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Waves the picture with a travelling ripple.",
   "traits": [
    "wavy",
    "drunk",
    "underwater",
    "heat"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "waveform",
     "label": "Waveform",
     "kind": "enum",
     "default": 0,
     "options": [
      "Sine",
      "Triangle",
      "Square",
      "Noise"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 0.01,
     "min": 0,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "frequency",
     "label": "Frequency",
     "kind": "float",
     "default": 6,
     "min": 0.5,
     "max": 40,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 0.5,
     "min": -4,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "phase",
     "label": "Phase",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "axis",
     "label": "Axis",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal",
      "Vertical",
      "Both"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:waveform",
     "param:amplitude",
     "param:frequency",
     "param:rate",
     "param:phase",
     "param:axis",
     "param:edge"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "displace",
   "label": "Displace",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Warps the picture with noise: heat haze, wet glass, worn tape.",
   "traits": [
    "heat haze",
    "distortion",
    "warp",
    "liquid"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 4,
     "min": 0.5,
     "max": 40,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "octaves",
     "label": "Octaves",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 8,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.2,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:scale",
     "param:octaves",
     "param:speed",
     "param:edge"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "mapDisplace",
   "label": "Remap",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Warps the picture by another picture: pushed by its slopes or vectors, or read at the places its red and green point to.",
   "traits": [
    "displacement map",
    "refraction",
    "warp by picture",
    "remap",
    "STMap",
    "UV map",
    "touchdesigner",
    "lens distortion"
   ],
   "animated": false,
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.04,
     "min": -0.2,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "source",
     "label": "Vector Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luma Gradient (Glass)",
      "Red / Green Vector",
      "Alpha Gradient",
      "Luma Value (Depth)",
      "Normal Map",
      "Coordinates (STMap)"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "direction",
     "label": "Direction",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "flipGreen",
     "label": "Flip Green",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "flipV",
     "label": "Flip V",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "map",
     "param:amount",
     "param:source",
     "param:direction",
     "param:flipGreen",
     "param:strength",
     "param:flipV",
     "param:edge",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "map",
     "label": "Map"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "depthMesh",
   "label": "Depth Mesh",
   "kind": "effect",
   "menu": "Module → Transform & Warp",
   "summary": "Raises the picture into 3D by its brightness or a depth map, as points, a wireframe or a surface you orbit.",
   "traits": [
    "point cloud",
    "depth mesh",
    "touchdesigner",
    "3d",
    "kinect",
    "wireframe",
    "terrain",
    "heightfield",
    "parallax orbit"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "style",
     "label": "Style",
     "kind": "enum",
     "default": 2,
     "options": [
      "Surface",
      "Wireframe",
      "Points"
     ],
     "keyable": true
    },
    {
     "key": "columns",
     "label": "Columns",
     "kind": "int",
     "default": 160,
     "min": 8,
     "max": 400,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "pointSize",
     "label": "Point Size",
     "kind": "float",
     "default": 0.7,
     "min": 0.05,
     "max": 3,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lineWidth",
     "label": "Line Width (px)",
     "kind": "float",
     "default": 1,
     "min": 0.25,
     "max": 6,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "tear",
     "label": "Tear",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "orbit",
     "label": "Orbit (°)",
     "kind": "float",
     "default": 25,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "tilt",
     "label": "Tilt (°)",
     "kind": "float",
     "default": 10,
     "min": -90,
     "max": 90,
     "step": 0.5,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "distance",
     "label": "Distance",
     "kind": "float",
     "default": 1.2,
     "min": 0.2,
     "max": 6,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Turntable (turns/s)",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "fov",
     "label": "Field of View (°)",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 120,
     "step": 0.5,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "position",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.001,
     "keyable": true,
     "point": true
    },
    {
     "key": "shading",
     "label": "Shading",
     "kind": "enum",
     "default": 0,
     "options": [
      "Picture",
      "Lit",
      "Colour",
      "Depth",
      "Normals"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Colour",
     "kind": "color",
     "default": [
      0.35,
      1,
      0.7
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": -40,
     "min": -180,
     "max": 180,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "lightHeight",
     "label": "Light Height (°)",
     "kind": "float",
     "default": 35,
     "min": -90,
     "max": 90,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "ambient",
     "label": "Ambient",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fog",
     "label": "Fade with Distance",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "enum",
     "default": 1,
     "options": [
      "Transparent",
      "Colour",
      "Picture"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "backgroundColor",
     "label": "Background Colour",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "height",
     "param:style",
     "param:columns",
     "param:depth",
     "param:pointSize",
     "param:lineWidth",
     "param:tear",
     "param:orbit",
     "param:tilt",
     "param:distance",
     "param:speed",
     "param:fov",
     "param:position",
     "param:shading",
     "param:color",
     "param:lightAngle",
     "param:lightHeight",
     "param:ambient",
     "param:fog",
     "param:background",
     "param:backgroundColor",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "height",
     "label": "Height"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "scanlines",
   "label": "Scanlines",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Adds the dark lines between a CRT's scanlines.",
   "traits": [
    "CRT",
    "retro TV",
    "arcade",
    "old monitor",
    "80s"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 240,
     "min": 20,
     "max": 1080,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "thickness",
     "label": "Thickness",
     "kind": "float",
     "default": 1,
     "min": 0.1,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "darkness",
     "label": "Darkness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "roll",
     "label": "Roll",
     "kind": "float",
     "default": 0,
     "min": -5,
     "max": 5,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:lines",
     "param:thickness",
     "param:darkness",
     "param:roll",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "shadowMask",
   "label": "Shadow Mask",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Adds the red, green and blue dot pattern of a CRT screen.",
   "traits": [
    "CRT",
    "aperture grille",
    "phosphor",
    "arcade",
    "TV screen up close"
   ],
   "animated": false,
   "params": [
    {
     "key": "type",
     "label": "Type",
     "kind": "enum",
     "default": 0,
     "options": [
      "Grille",
      "Slot",
      "Dot"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "pitch",
     "label": "Pitch",
     "kind": "float",
     "default": 3,
     "min": 1,
     "max": 24,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:type",
     "param:pitch",
     "param:strength",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "subpixels",
   "label": "Sub-pixels",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Shows the picture as screen sub-pixels: LCD, OLED, old handhelds.",
   "traits": [
    "LCD",
    "screen close-up",
    "RGB stripes",
    "Game Boy Advance"
   ],
   "animated": false,
   "params": [
    {
     "key": "size",
     "label": "Pixel Size",
     "kind": "float",
     "default": 6,
     "min": 1,
     "max": 48,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pattern",
     "label": "Pattern",
     "kind": "enum",
     "default": 0,
     "options": [
      "RGB Stripe",
      "BGR Stripe",
      "RGB Delta",
      "Bayer Grid"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "gap",
     "label": "Gap",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bleed",
     "label": "Bleed",
     "kind": "float",
     "default": 0.1,
     "min": 0,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "boost",
     "label": "Brightness",
     "kind": "float",
     "default": 1.8,
     "min": 1,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pixelate",
     "label": "Pixelate",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:size",
     "param:pattern",
     "param:gap",
     "param:bleed",
     "param:boost",
     "param:pixelate",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "ruttEtra",
   "label": "Rutt-Etra",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Turns the picture into raised scanlines, like the Rutt-Etra video synthesizer; with Occlusion, a ridgeline relief like the Unknown Pleasures cover.",
   "traits": [
    "video synth",
    "wireframe",
    "raster lines",
    "audiovisual",
    "Unknown Pleasures",
    "Joy Division",
    "oscilloscope",
    "ridgeline",
    "pulsar plot",
    "relief lines",
    "dotted beam"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "deflection",
     "label": "Deflection",
     "kind": "float",
     "default": 0.09,
     "min": -0.3,
     "max": 0.3,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 120,
     "min": 20,
     "max": 350,
     "step": 2,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "occlusion",
     "label": "Occlusion",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 1,
     "min": -4,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "brightness",
     "label": "Brightness",
     "kind": "float",
     "default": 1.4,
     "min": 0.5,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Additive Glow",
      "Source Shaded",
      "Inverted Ink",
      "Overlay"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lineWidth",
     "label": "Line Width",
     "kind": "float",
     "default": 1.2,
     "min": 0.5,
     "max": 4,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bias",
     "label": "Bias",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "cutoff",
     "label": "Beam Cutoff",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.6,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "baseBrightness",
     "label": "Shadow Lines",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "carrier",
     "label": "Dot Break",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pulses",
     "label": "Pulses",
     "kind": "float",
     "default": 120,
     "min": 10,
     "max": 400,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ripple",
     "label": "Ripple",
     "kind": "float",
     "default": 0.015,
     "min": 0,
     "max": 0.05,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "frequency",
     "label": "Ripple Freq",
     "kind": "float",
     "default": 45,
     "min": 5,
     "max": 150,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spread",
     "label": "Ripple Spread",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:deflection",
     "param:lines",
     "param:occlusion",
     "param:speed",
     "param:brightness",
     "param:mode",
     "param:color",
     "param:lineWidth",
     "param:smoothing",
     "param:bias",
     "param:cutoff",
     "param:baseBrightness",
     "param:carrier",
     "param:pulses",
     "param:ripple",
     "param:frequency",
     "param:spread",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "velocityMod",
   "label": "Phase Modulation",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Draws rolling raster lines, dots, dashes or a grid that the picture pushes sideways.",
   "traits": [
    "raster",
    "line art",
    "op art",
    "audiovisual"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "driver",
     "label": "Driver",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luminance",
      "Inverted Luma",
      "Saturation",
      "Edges",
      "Red",
      "Green",
      "Blue",
      "Hue"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "pattern",
     "label": "Pattern",
     "kind": "enum",
     "default": 1,
     "options": [
      "Lines",
      "Dots",
      "Dashes",
      "Grid"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 100,
     "min": 20,
     "max": 250,
     "step": 2,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 2,
     "min": -8,
     "max": 8,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ripple",
     "label": "Ripple",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Roll Speed",
     "kind": "float",
     "default": 1,
     "min": -3,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "axis",
     "label": "Axis",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal Lines",
      "Vertical Lines"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lineWidth",
     "label": "Line Width",
     "kind": "float",
     "default": 1.2,
     "min": 0.5,
     "max": 3.5,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "frequency",
     "label": "Ripple Freq",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 100,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dotDensity",
     "label": "Density",
     "kind": "float",
     "default": 45,
     "min": 0,
     "max": 150,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "brightness",
     "label": "Brightness",
     "kind": "float",
     "default": 1.4,
     "min": 0.5,
     "max": 2.5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shadowFade",
     "label": "Shadow Fade",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.02,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "baseBrightness",
     "label": "Shadow Lines",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 0.3,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Additive Glow",
      "Source Shaded",
      "Inverted Ink",
      "Overlay"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:driver",
     "param:pattern",
     "param:lines",
     "param:depth",
     "param:ripple",
     "param:speed",
     "param:color",
     "param:axis",
     "param:lineWidth",
     "param:frequency",
     "param:dotDensity",
     "param:brightness",
     "param:shadowFade",
     "param:baseBrightness",
     "param:mode",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "fmScanlines",
   "label": "Frequency Modulation",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Bends each scanline with the picture's brightness, like a frequency-modulated signal.",
   "traits": [
    "raster",
    "op art",
    "signal",
    "line portrait"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "carrier",
     "label": "Carrier",
     "kind": "float",
     "default": 35,
     "min": 0,
     "max": 160,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 90,
     "min": 0,
     "max": 300,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "driver",
     "label": "Driver",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luminance",
      "Inverted Luma",
      "Red",
      "Green",
      "Blue",
      "Saturation"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "waveform",
     "label": "Waveform",
     "kind": "enum",
     "default": 0,
     "options": [
      "Hairline",
      "Sine",
      "Pulse",
      "Saw",
      "Dots",
      "Dashes",
      "Double",
      "Trail"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "width",
     "label": "Line Width",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "speed",
     "label": "Drift",
     "kind": "float",
     "default": 0,
     "min": -2,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "lineColor",
     "label": "Line Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "spacing",
     "label": "Spacing",
     "kind": "float",
     "default": 6,
     "min": 2,
     "max": 64,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scatter",
     "label": "Scatter",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "duty",
     "label": "Duty",
     "kind": "float",
     "default": 0.5,
     "min": 0.05,
     "max": 0.95,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "axis",
     "label": "Axis",
     "kind": "enum",
     "default": 0,
     "options": [
      "Vertical Lines",
      "Horizontal Lines"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "start",
     "label": "Start",
     "kind": "enum",
     "default": 0,
     "options": [
      "Left / Bottom",
      "Right / Top"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lumMask",
     "label": "Luma Mask",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Lines",
      "Source Colour"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "bgColor",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "modulator",
     "param:carrier",
     "param:depth",
     "param:driver",
     "param:waveform",
     "param:width",
     "param:speed",
     "param:lineColor",
     "param:spacing",
     "param:scatter",
     "param:duty",
     "param:axis",
     "param:start",
     "param:lumMask",
     "param:output",
     "param:bgColor",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "modulator",
     "label": "Modulator"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "particleFlow",
   "label": "Particle Flow",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Lets particles flow over the picture, moving faster or slower with its brightness.",
   "traits": [
    "particles",
    "flow field",
    "generative",
    "strokes"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "emitter",
     "label": "Emitter Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Edge (Directional)",
      "Point (Directional Cone)",
      "Point (Radial 360°)",
      "Fullscreen Drift"
     ],
     "keyable": true
    },
    {
     "key": "angle",
     "label": "Direction Angle",
     "kind": "float",
     "default": 270,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "origin",
     "label": "Emitter Origin",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "point": "top",
     "conditional": true
    },
    {
     "key": "speed",
     "label": "Travel Speed",
     "kind": "float",
     "default": 1,
     "min": -4,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "quantity",
     "label": "Particles / Second",
     "kind": "float",
     "default": 4000,
     "min": 100,
     "max": 20000,
     "step": 100,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Phosphor Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "keyable": true
    },
    {
     "key": "trail",
     "label": "Trail / Persistence",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.02,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "spread",
     "label": "Cone Spread",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 360,
     "step": 2,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "driver",
     "label": "Speed Driver",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luminance",
      "Inverted Luma",
      "Saturation",
      "Edges",
      "Red",
      "Green",
      "Blue",
      "Hue"
     ],
     "keyable": true
    },
    {
     "key": "slowdown",
     "label": "Driver Slowdown",
     "kind": "float",
     "default": 1.2,
     "min": 0,
     "max": 3,
     "step": 0.02,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Particle Size (px)",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 0.5,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "shape",
     "label": "Particle Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Pixel (Square)",
      "Phosphor (Circle Dot)"
     ],
     "keyable": true
    },
    {
     "key": "brightness",
     "label": "Brightness",
     "kind": "float",
     "default": 1.5,
     "min": 0.2,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Output Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "CRT Phosphor (Black BG)",
      "Source Tinted (Black BG)",
      "Inverted Ink (White BG)",
      "Overlay on Source"
     ],
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:emitter",
     "param:angle",
     "param:origin",
     "param:speed",
     "param:quantity",
     "param:color",
     "param:trail",
     "param:spread",
     "param:driver",
     "param:slowdown",
     "param:size",
     "param:shape",
     "param:brightness",
     "param:mode",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "interlace",
   "label": "Interlace",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Shows odd and even lines on alternate frames, like interlaced video.",
   "traits": [
    "interlaced",
    "combing",
    "broadcast video"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 240,
     "min": 20,
     "max": 1080,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dim",
     "label": "Dim",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Shift (lines)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 30,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:lines",
     "param:dim",
     "param:offset",
     "param:rate"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "compositeVideo",
   "label": "Composite Video",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Gives the colour bleeding and artifacts of old composite video, from consoles to VHS.",
   "traits": [
    "VHS",
    "NES",
    "old console",
    "colour bleed",
    "NTSC",
    "analog video",
    "90s camcorder"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "cycles",
     "label": "Carrier",
     "kind": "float",
     "default": 180,
     "min": 60,
     "max": 400,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "decoder",
     "label": "Decoder",
     "kind": "enum",
     "default": 0,
     "options": [
      "Notch",
      "Comb"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lumaFilter",
     "label": "Luma Filter",
     "kind": "float",
     "default": 0.4,
     "min": 0.1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "chromaFilter",
     "label": "Chroma Filter",
     "kind": "float",
     "default": 1.2,
     "min": 0.25,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hue",
     "label": "Hue Error",
     "kind": "float",
     "default": 0,
     "min": -45,
     "max": 45,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "crawl",
     "label": "Dot Crawl",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:cycles",
     "param:decoder",
     "param:lumaFilter",
     "param:chromaFilter",
     "param:saturation",
     "param:hue",
     "param:crawl",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "roll",
   "label": "Roll",
   "kind": "effect",
   "menu": "Module → CRT & Display",
   "summary": "Makes the picture roll vertically, like a TV losing vertical hold.",
   "traits": [
    "vertical hold",
    "rolling TV",
    "broken TV"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.1,
     "min": -2,
     "max": 2,
     "step": 0.005,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "seam",
     "label": "Seam Width",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.2,
     "step": 0.002,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "darkness",
     "label": "Seam Darkness",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:speed",
     "param:offset",
     "param:seam",
     "param:darkness"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "blockGlitch",
   "label": "Block Glitch",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Breaks the picture into torn, displaced compression blocks.",
   "traits": [
    "glitch",
    "corrupted",
    "digital error",
    "macroblocks"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "blockSize",
     "label": "Block Size",
     "kind": "float",
     "default": 24,
     "min": 8,
     "max": 64,
     "step": 2,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorShift",
     "label": "Color Drift",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.6,
     "min": -2,
     "max": 2,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:blockSize",
     "param:intensity",
     "param:colorShift",
     "param:speed",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "compression",
   "label": "Compression",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Adds real JPEG or MPEG compression blocks and artifacts.",
   "traits": [
    "JPEG artifacts",
    "deep fried",
    "low bitrate",
    "MPEG"
   ],
   "animated": false,
   "params": [
    {
     "key": "quality",
     "label": "Quality",
     "kind": "float",
     "default": 20,
     "min": 1,
     "max": 100,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Block Scale",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "chroma",
     "label": "Chroma",
     "kind": "enum",
     "default": 2,
     "options": [
      "4:4:4",
      "4:2:2",
      "4:2:0",
      "4:1:1"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:quality",
     "param:scale",
     "param:chroma",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "pixelSort",
   "label": "Pixel Sort",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Sorts runs of pixels by brightness into long streaks.",
   "traits": [
    "glitch art",
    "sorted pixels",
    "streaks"
   ],
   "animated": false,
   "params": [
    {
     "key": "direction",
     "label": "Direction",
     "kind": "enum",
     "default": 0,
     "options": [
      "Horizontal",
      "Vertical"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "sortBy",
     "label": "Sort By",
     "kind": "enum",
     "default": 0,
     "options": [
      "Brightness",
      "Hue",
      "Saturation",
      "Red",
      "Green",
      "Blue"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "order",
     "label": "Order",
     "kind": "enum",
     "default": 0,
     "options": [
      "Ascending",
      "Descending"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lower",
     "label": "Lower",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "upper",
     "label": "Upper",
     "kind": "float",
     "default": 0.8,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert Range",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "maxLength",
     "label": "Max Length",
     "kind": "float",
     "default": 4096,
     "min": 1,
     "max": 4096,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:direction",
     "param:sortBy",
     "param:order",
     "param:lower",
     "param:upper",
     "param:invert",
     "param:maxLength",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "glitchMachine",
   "label": "Glitch Machine",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Throws random digital and datamosh glitches at the picture.",
   "traits": [
    "glitch",
    "datamosh",
    "corrupted",
    "cyberpunk"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "rate",
     "label": "Burst Rate",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 5,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "blockSize",
     "label": "Block Size",
     "kind": "float",
     "default": 16,
     "min": 4,
     "max": 64,
     "step": 2,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shearing",
     "label": "Shearing",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorCorrupt",
     "label": "Color Corrupt",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bitcrush",
     "label": "Bitcrush",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pattern",
     "label": "Pattern",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:rate",
     "param:intensity",
     "param:blockSize",
     "param:shearing",
     "param:colorCorrupt",
     "param:bitcrush",
     "param:pattern",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "signalRot",
   "label": "Signal Rot",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Decays the picture like a weak analog signal or a tape copied too many times.",
   "traits": [
    "analog decay",
    "generation loss",
    "dubbed tape",
    "VHS",
    "haunted"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "decay",
     "label": "Decay",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "ghosting",
     "label": "Ghosting",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smear",
     "label": "HF Smear",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorDrift",
     "label": "Hue Drift",
     "kind": "float",
     "default": 0.2,
     "min": -1,
     "max": 1,
     "step": 0.02,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "syncLoss",
     "label": "Sync Loss",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "noise",
     "label": "Carrier Noise",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:decay",
     "param:ghosting",
     "param:smear",
     "param:colorDrift",
     "param:syncLoss",
     "param:noise",
     "param:rate",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "headSwitch",
   "label": "Head Switch",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Adds the torn band at the bottom of a VHS frame.",
   "traits": [
    "VHS",
    "tape",
    "camcorder",
    "home video"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "height",
     "label": "Height",
     "kind": "float",
     "default": 0.04,
     "min": 0.005,
     "max": 0.3,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "amount",
     "label": "Shift",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "bend",
     "label": "Bend",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "jitter",
     "label": "Jitter",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "colorLoss",
     "label": "Color Loss",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "noise",
     "label": "Noise",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 30,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 2,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror",
      "Color"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:height",
     "param:amount",
     "param:bend",
     "param:jitter",
     "param:colorLoss",
     "param:noise",
     "param:rate",
     "param:edge",
     "param:background"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "humBar",
   "label": "Hum Bar",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Rolls a soft brightness band up the picture, like mains hum.",
   "traits": [
    "VHS",
    "analog TV",
    "interference"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 0.15,
     "min": 0.01,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.06,
     "min": -1,
     "max": 1,
     "step": 0.005,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.2,
     "min": -1,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:width",
     "param:speed",
     "param:intensity"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "lineJitter",
   "label": "Line Jitter",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Shifts lines sideways at random, like a tape losing tracking.",
   "traits": [
    "VHS tracking",
    "tape",
    "unstable signal"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.02,
     "min": 0,
     "max": 0.2,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 240,
     "min": 10,
     "max": 1080,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "density",
     "label": "Density",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 12,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:lines",
     "param:density",
     "param:rate",
     "param:edge"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "dropouts",
   "label": "Dropouts",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Adds white streaks where the tape lost contact.",
   "traits": [
    "VHS",
    "tape damage",
    "white streaks"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "density",
     "label": "Density",
     "kind": "float",
     "default": 0.008,
     "min": 0,
     "max": 0.25,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dash",
     "label": "Length",
     "kind": "float",
     "default": 0.03,
     "min": 0.002,
     "max": 0.25,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "tail",
     "label": "Tail",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "clump",
     "label": "Clumping",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "compensation",
     "label": "Compensation",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lines",
     "label": "Lines",
     "kind": "float",
     "default": 360,
     "min": 20,
     "max": 1080,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 30,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:density",
     "param:dash",
     "param:tail",
     "param:clump",
     "param:compensation",
     "param:lines",
     "param:rate",
     "param:color"
    ],
    "out": [
     null
    ]
   }
  },
  {
   "id": "chromaBleed",
   "label": "Chroma Bleed",
   "kind": "effect",
   "menu": "Module → Tape & Glitch",
   "summary": "Smears the colour sideways while keeping detail sharp, like VHS tape.",
   "traits": [
    "VHS",
    "colour smear",
    "analog video",
    "camcorder"
   ],
   "animated": false,
   "params": [
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 12,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -32,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:width",
     "param:offset",
     "param:saturation",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "grain",
   "label": "Grain",
   "kind": "effect",
   "menu": "Module → Noise & Grain",
   "summary": "Adds film or sensor grain.",
   "traits": [
    "film grain",
    "analog",
    "35mm",
    "Kodak",
    "texture",
    "noise"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.08,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Size",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 24,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mono",
     "label": "Monochrome",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:size",
     "param:rate",
     "param:mono",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "sensorNoise",
   "label": "Sensor Noise",
   "kind": "effect",
   "menu": "Module → Noise & Grain",
   "summary": "Adds the noise of a digital camera in the dark: phones at night, webcams, CCTV.",
   "traits": [
    "digital noise",
    "night photo",
    "CCTV",
    "webcam",
    "ISO noise",
    "found footage"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "amount",
     "label": "Amount",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "chromaNoise",
     "label": "Chroma Noise",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "size",
     "label": "Grain Size",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 4,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "banding",
     "label": "Banding",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hotPixels",
     "label": "Hot Pixels",
     "kind": "float",
     "default": 0.1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate",
     "kind": "float",
     "default": 30,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:amount",
     "param:chromaNoise",
     "param:size",
     "param:banding",
     "param:hotPixels",
     "param:rate",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "filmDamage",
   "label": "Film Damage",
   "kind": "effect",
   "menu": "Module → Noise & Grain",
   "summary": "Makes the picture an old film print: weave, flicker, dust and scratches.",
   "traits": [
    "old film",
    "scratches",
    "dust",
    "flicker",
    "silent film",
    "8mm",
    "Super 8"
   ],
   "animated": "depends",
   "params": [
    {
     "key": "rate",
     "label": "Frame Rate",
     "kind": "float",
     "default": 24,
     "min": 0,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "weave",
     "label": "Gate Weave",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "flicker",
     "label": "Flicker",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "dust",
     "label": "Dust",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "hairs",
     "label": "Hairs",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scratches",
     "label": "Scratches",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "polarity",
     "label": "Dust Polarity",
     "kind": "enum",
     "default": 2,
     "options": [
      "Dark (on the print)",
      "Light (on the negative)",
      "Mixed"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:rate",
     "param:weave",
     "param:flicker",
     "param:dust",
     "param:hairs",
     "param:scratches",
     "param:polarity",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "trails",
   "label": "Trails",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Leaves fading trails behind anything that moves.",
   "traits": [
    "ghosting",
    "light trails",
    "motion trails",
    "echo"
   ],
   "animated": true,
   "params": [
    {
     "key": "persistence",
     "label": "Persistence (s)",
     "kind": "float",
     "default": 0.6,
     "min": 0.05,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Decay",
      "Blur"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tint",
     "label": "Tint",
     "kind": "color",
     "default": [
      1,
      1,
      1
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:persistence",
     "param:mode",
     "param:tint"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "frameHold",
   "label": "Frame Hold",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Lowers the frame rate so motion steps: stop motion, choppy webcams.",
   "traits": [
    "stop motion",
    "choppy",
    "low frame rate",
    "animation on twos"
   ],
   "animated": true,
   "params": [
    {
     "key": "holdFps",
     "label": "Hold FPS",
     "kind": "float",
     "default": 6,
     "min": 1,
     "max": 30,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strobe",
     "label": "Strobe",
     "kind": "enum",
     "default": 0,
     "options": [
      "Off",
      "Black",
      "White",
      "Invert"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Strobe Rate (Hz)",
     "kind": "float",
     "default": 2,
     "min": 0.1,
     "max": 30,
     "step": 0.1,
     "modulatable": true,
     "keyable": true,
     "conditional": true,
     "phased": true
    },
    {
     "key": "duty",
     "label": "Duty",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:holdFps",
     "param:strobe",
     "param:rate",
     "param:duty",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "motionDetect",
   "label": "Motion Detect",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Shows only what moved since the last frame.",
   "traits": [
    "difference",
    "motion only",
    "surveillance"
   ],
   "animated": true,
   "params": [
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.06,
     "min": 0,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "gain",
     "label": "Gain",
     "kind": "float",
     "default": 2,
     "min": 0.5,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fade",
     "label": "Fade (s)",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 1,
     "options": [
      "Difference",
      "Mask",
      "Highlight",
      "Cutout"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "color",
     "label": "Color",
     "kind": "color",
     "default": [
      1,
      0.2,
      0.3
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:threshold",
     "param:softness",
     "param:gain",
     "param:fade",
     "param:output",
     "param:color",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "opticalFlow",
   "label": "Optical Flow",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Shows which way and how fast each part of the picture is moving, as a picture to drive other modules.",
   "traits": [
    "optical flow",
    "motion vectors",
    "touchdesigner",
    "velocity",
    "movement direction"
   ],
   "animated": true,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 2,
     "options": [
      "Vectors",
      "Speed",
      "Colour Wheel"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "range",
     "label": "Range (px)",
     "kind": "float",
     "default": 12,
     "min": 1,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "searchSize",
     "label": "Search Size (px)",
     "kind": "float",
     "default": 8,
     "min": 2,
     "max": 32,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 0.4,
     "min": 0,
     "max": 0.95,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "noiseFloor",
     "label": "Noise Floor",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeSnap",
     "label": "Edge Snap",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:range",
     "param:searchSize",
     "param:smoothing",
     "param:noiseFloor",
     "param:edgeSnap"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "motionBlur",
   "label": "Motion Blur",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Blurs the picture along per-pixel motion vectors from Optical Flow, controlled by Shutter Angle.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "shutterAngle",
     "label": "Shutter Angle (°)",
     "kind": "float",
     "default": 180,
     "min": 0,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "vectorRange",
     "label": "Vector Range (px)",
     "kind": "float",
     "default": 12,
     "min": 1,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shutterPhase",
     "label": "Shutter Phase",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "samples",
     "label": "Samples",
     "kind": "int",
     "default": 16,
     "min": 4,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "maxBlur",
     "label": "Max Blur (px)",
     "kind": "float",
     "default": 64,
     "min": 1,
     "max": 256,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "vectors",
     "param:shutterAngle",
     "param:vectorRange",
     "param:shutterPhase",
     "param:samples",
     "param:maxBlur",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "vectors",
     "label": "Motion Vectors"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "datamosh",
   "label": "Datamosh",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Drags old pixels along with new motion, like a video with missing keyframes.",
   "traits": [
    "datamosh",
    "I-frame removal",
    "melting video"
   ],
   "animated": true,
   "params": [
    {
     "key": "blockSize",
     "label": "Block Size",
     "kind": "float",
     "default": 16,
     "min": 4,
     "max": 64,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 1.5,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "leak",
     "label": "Leak",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "keyframe",
     "label": "Keyframe (s)",
     "kind": "float",
     "default": 4,
     "min": 0,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 10,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:blockSize",
     "param:strength",
     "param:leak",
     "param:keyframe",
     "param:smoothing",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "feedback",
   "label": "Tunnel",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Feeds the last frame back under the new one, zoomed and turned: tunnels and spirals.",
   "traits": [
    "video feedback",
    "tunnel",
    "infinite zoom",
    "droste",
    "spiral"
   ],
   "animated": true,
   "params": [
    {
     "key": "persistence",
     "label": "Persistence (s)",
     "kind": "float",
     "default": 1,
     "min": 0.05,
     "max": 8,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "zoom",
     "label": "Zoom (×/s)",
     "kind": "float",
     "default": 1.5,
     "min": 0.25,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "rotate",
     "label": "Rotate (°/s)",
     "kind": "float",
     "default": 20,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "drift",
     "label": "Drift (/s)",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.01,
     "field": true,
     "keyable": true
    },
    {
     "key": "hueShift",
     "label": "Hue Shift (°/s)",
     "kind": "float",
     "default": 60,
     "min": -360,
     "max": 360,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "center",
     "label": "Center",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": -0.5,
     "max": 1.5,
     "step": 0.01,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Over",
      "Screen",
      "Mix",
      "Difference"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "steps",
     "label": "Steps",
     "kind": "int",
     "default": 1,
     "min": 1,
     "max": 16,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 2,
     "options": [
      "Clamp",
      "Wrap",
      "Black",
      "Mirror"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:persistence",
     "param:zoom",
     "param:rotate",
     "param:drift",
     "param:hueShift",
     "param:center",
     "param:mode",
     "param:steps",
     "param:edge"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "feedbackLoop",
   "label": "Feedback",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Closes a loop through the graph: a module further down wired back into Target comes out here a frame later.",
   "traits": [
    "feedback loop",
    "feedback top",
    "touchdesigner",
    "reaction",
    "reaction diffusion",
    "slope displacement",
    "cellular",
    "foam",
    "organic",
    "growth",
    "lava lamp",
    "ink in fluid",
    "cells"
   ],
   "animated": true,
   "params": [
    {
     "key": "seedMix",
     "label": "Seed Mix",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "seedMode",
     "label": "Seed Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Cross",
      "Over",
      "Add"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "reset",
     "label": "Reset",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "loop",
     "param:seedMix",
     "param:seedMode",
     "param:reset"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "loop",
     "label": "Target"
    }
   ]
  },
  {
   "id": "inkFlow",
   "label": "Ink Flow",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Carries the picture along curling currents like dye in water: swirls, marbling, ink plumes.",
   "traits": [
    "ink in water",
    "fluid",
    "marbling",
    "swirling",
    "smoke",
    "dye",
    "liquid",
    "psychedelic",
    "suminagashi"
   ],
   "animated": true,
   "params": [
    {
     "key": "flow",
     "label": "Flow",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Swirl Scale",
     "kind": "float",
     "default": 3,
     "min": 0.5,
     "max": 12,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "detail",
     "label": "Detail",
     "kind": "int",
     "default": 2,
     "min": 1,
     "max": 4,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Evolution",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "drift",
     "label": "Drift (/s)",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -0.5,
     "max": 0.5,
     "step": 0.005,
     "field": true,
     "keyable": true
    },
    {
     "key": "persistence",
     "label": "Persistence (s)",
     "kind": "float",
     "default": 4,
     "min": 0.1,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pourRate",
     "label": "Pour Rate",
     "kind": "float",
     "default": 4,
     "min": 0,
     "max": 20,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     null,
     "pourMask",
     "param:flow",
     "param:scale",
     "param:detail",
     "param:speed",
     "param:drift",
     "param:persistence",
     "param:pourRate"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "pourMask",
     "label": "Pour"
    }
   ],
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "stableFluids",
   "label": "Stable Fluids",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Turns the picture into dye in a swirling fluid, stirred on its own or pushed by motion.",
   "traits": [
    "fluid simulation",
    "stable fluids",
    "navier-stokes",
    "touchdesigner",
    "smoke",
    "ink",
    "liquid",
    "dye"
   ],
   "animated": true,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Dye",
      "Over Picture",
      "Velocity"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "pour",
     "label": "Pour (/s)",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "persistence",
     "label": "Dye Persistence (s)",
     "kind": "float",
     "default": 12,
     "min": 0.5,
     "max": 60,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "vorticity",
     "label": "Vorticity",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "stir",
     "label": "Stir",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "forceAmount",
     "label": "Force",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "momentum",
     "label": "Momentum (s)",
     "kind": "float",
     "default": 2,
     "min": 0.1,
     "max": 10,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "stirSize",
     "label": "Stir Size",
     "kind": "float",
     "default": 3,
     "min": 0.5,
     "max": 10,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "force",
     "param:output",
     "param:pour",
     "param:persistence",
     "param:vorticity",
     "param:stir",
     "param:forceAmount",
     "param:momentum",
     "param:stirSize",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "force",
     "label": "Force"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "echo",
   "label": "Echo",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Lays a shifted ghost of the last frame over the picture.",
   "traits": [
    "double exposure",
    "ghost",
    "afterimage"
   ],
   "animated": true,
   "params": [
    {
     "key": "offset",
     "label": "Offset",
     "kind": "vec2",
     "default": [
      8,
      0
     ],
     "min": -64,
     "max": 64,
     "step": 0.5,
     "field": true,
     "keyable": true
    },
    {
     "key": "persistence",
     "label": "Persistence (s)",
     "kind": "float",
     "default": 0.5,
     "min": 0.05,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:offset",
     "param:persistence"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "timeMachine",
   "label": "Time Machine",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Shows each pixel as it was a moment ago, with another picture saying how long ago.",
   "traits": [
    "slit-scan",
    "time displacement",
    "temporal smear"
   ],
   "animated": true,
   "params": [
    {
     "key": "blackOffset",
     "label": "Black Offset",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 8,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "whiteOffset",
     "label": "White Offset",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 8,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "blend",
     "label": "Frame Blend",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "frames",
     "label": "Cache Frames",
     "kind": "int",
     "default": 60,
     "min": 2,
     "max": 240,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "cacheFps",
     "label": "Cache FPS",
     "kind": "float",
     "default": 30,
     "min": 1,
     "max": 60,
     "step": 1,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "cacheSize",
     "label": "Cache Size",
     "kind": "enum",
     "default": 1,
     "options": [
      "Full",
      "Half",
      "Quarter"
     ],
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "timeMap",
     "param:blackOffset",
     "param:whiteOffset",
     "param:blend",
     "param:frames",
     "param:cacheFps",
     "param:cacheSize",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "timeMap",
     "label": "Time"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "timeOffset",
   "label": "Time Offset",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Delays or advances everything before it in time.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "offset",
     "label": "Offset (s)",
     "kind": "float",
     "default": 1,
     "min": -60,
     "max": 60,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:offset"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes time for everything before it on its main input."
   ]
  },
  {
   "id": "freezeFrame",
   "label": "Freeze Frame",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Freezes everything before it at one moment.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "at",
     "label": "At (s)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 600,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:at"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes time for everything before it on its main input."
   ]
  },
  {
   "id": "timeRemap",
   "label": "Time Remap",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Drives the time of everything before it with a curve: slow motion, speed ramps, reverse.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "timeAt",
     "label": "Time (s)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 600,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:timeAt"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes time for everything before it on its main input."
   ]
  },
  {
   "id": "timeRange",
   "label": "Time Range",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Plays everything before it only between two times, and holds, hides or loops outside them.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "start",
     "label": "In (s)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 600,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "end",
     "label": "Out (s)",
     "kind": "float",
     "default": 5,
     "min": 0,
     "max": 600,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "outside",
     "label": "Outside",
     "kind": "enum",
     "default": 0,
     "options": [
      "Hide",
      "Hold",
      "Loop",
      "Ping-pong"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:start",
     "param:end",
     "param:outside"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Changes time for everything before it on its main input."
   ]
  },
  {
   "id": "flames",
   "label": "Flames",
   "kind": "effect",
   "menu": "Module → Temporal",
   "summary": "Makes the picture's bright parts rise and burn like flames.",
   "traits": [
    "fire",
    "burning",
    "heat"
   ],
   "animated": true,
   "params": [
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 3,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "palette",
     "label": "Palette",
     "kind": "enum",
     "default": 0,
     "options": [
      "Inferno",
      "Blue",
      "Acid",
      "Ghost"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "turbulence",
     "label": "Turbulence",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 2,
     "step": 0.02,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "wind",
     "label": "Wind",
     "kind": "float",
     "default": 0,
     "min": -1,
     "max": 1,
     "step": 0.02,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "persistence",
     "label": "Persistence (s)",
     "kind": "float",
     "default": 0.8,
     "min": 0.05,
     "max": 4,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "speed",
     "label": "Speed",
     "kind": "float",
     "default": 0.4,
     "min": 0.05,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "blend",
     "label": "Blend",
     "kind": "enum",
     "default": 0,
     "options": [
      "Max",
      "Add",
      "Flame Only"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "step",
     "label": "Frame Step",
     "kind": "float",
     "default": 4,
     "min": 1,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "steps",
     "label": "Steps",
     "kind": "int",
     "default": 4,
     "min": 1,
     "max": 16,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:intensity",
     "param:palette",
     "param:turbulence",
     "param:wind",
     "param:persistence",
     "param:speed",
     "param:blend",
     "param:step",
     "param:steps"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Keeps its last frame (feedback): needs motion or time to build up."
   ]
  },
  {
   "id": "blend",
   "label": "Layers",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Stacks up to eight pictures on a base, each with its own blend mode, opacity and position.",
   "traits": [
    "layers",
    "double exposure",
    "overlay",
    "screen",
    "multiply",
    "collage",
    "compositing",
    "texture overlay"
   ],
   "animated": false,
   "params": [
    {
     "key": "layers",
     "label": "Layers",
     "kind": "int",
     "default": 1,
     "min": 1,
     "max": 8,
     "portless": true
    },
    {
     "key": "canvas",
     "label": "Canvas",
     "kind": "enum",
     "default": 0,
     "options": [
      "From base",
      "Custom"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "canvasWidth",
     "label": "Width",
     "kind": "float",
     "default": 1920,
     "min": 1,
     "max": 16384,
     "step": 1,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "canvasHeight",
     "label": "Height",
     "kind": "float",
     "default": 1080,
     "min": 1,
     "max": 16384,
     "step": 1,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "background",
     "label": "Background",
     "kind": "color",
     "default": [
      0,
      0,
      0
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "backgroundOpacity",
     "label": "Background Opacity",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "baseFit",
     "label": "Base Fit",
     "kind": "enum",
     "default": 2,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "basePosition",
     "label": "Base Position",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "baseScale",
     "label": "Base Scale",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "baseRotation",
     "label": "Base Rotation",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "baseAnchor",
     "label": "Base Anchor",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible",
     "label": "Visible",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 4,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity",
     "label": "Opacity",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit",
     "label": "Fit",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position",
     "label": "Position",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation",
     "label": "Rotation",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor",
     "label": "Anchor",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible2",
     "label": "Visible 2",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode2",
     "label": "Mode 2",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity2",
     "label": "Opacity 2",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit2",
     "label": "Fit 2",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position2",
     "label": "Position 2",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale2",
     "label": "Scale 2",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation2",
     "label": "Rotation 2",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor2",
     "label": "Anchor 2",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible3",
     "label": "Visible 3",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode3",
     "label": "Mode 3",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity3",
     "label": "Opacity 3",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit3",
     "label": "Fit 3",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position3",
     "label": "Position 3",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale3",
     "label": "Scale 3",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation3",
     "label": "Rotation 3",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor3",
     "label": "Anchor 3",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible4",
     "label": "Visible 4",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode4",
     "label": "Mode 4",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity4",
     "label": "Opacity 4",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit4",
     "label": "Fit 4",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position4",
     "label": "Position 4",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale4",
     "label": "Scale 4",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation4",
     "label": "Rotation 4",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor4",
     "label": "Anchor 4",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible5",
     "label": "Visible 5",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode5",
     "label": "Mode 5",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity5",
     "label": "Opacity 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit5",
     "label": "Fit 5",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position5",
     "label": "Position 5",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale5",
     "label": "Scale 5",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation5",
     "label": "Rotation 5",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor5",
     "label": "Anchor 5",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible6",
     "label": "Visible 6",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode6",
     "label": "Mode 6",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity6",
     "label": "Opacity 6",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit6",
     "label": "Fit 6",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position6",
     "label": "Position 6",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale6",
     "label": "Scale 6",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation6",
     "label": "Rotation 6",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor6",
     "label": "Anchor 6",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible7",
     "label": "Visible 7",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode7",
     "label": "Mode 7",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity7",
     "label": "Opacity 7",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit7",
     "label": "Fit 7",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position7",
     "label": "Position 7",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale7",
     "label": "Scale 7",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation7",
     "label": "Rotation 7",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor7",
     "label": "Anchor 7",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "visible8",
     "label": "Visible 8",
     "kind": "bool",
     "default": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mode8",
     "label": "Mode 8",
     "kind": "enum",
     "default": 0,
     "options": [
      "Normal",
      "Add",
      "Subtract",
      "Multiply",
      "Screen",
      "Overlay",
      "Soft light",
      "Difference",
      "Lighten",
      "Darken"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "opacity8",
     "label": "Opacity 8",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "fit8",
     "label": "Fit 8",
     "kind": "enum",
     "default": 0,
     "options": [
      "Canvas",
      "Fill",
      "Fit",
      "Stretch",
      "Original size"
     ],
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "position8",
     "label": "Position 8",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "scale8",
     "label": "Scale 8",
     "kind": "float",
     "default": 1,
     "min": 0.01,
     "max": 4,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "rotation8",
     "label": "Rotation 8",
     "kind": "float",
     "default": 0,
     "min": -0.5,
     "max": 0.5,
     "step": 0.001,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "anchor8",
     "label": "Anchor 8",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "arrange",
     "label": "Arrange",
     "kind": "enum",
     "default": 0,
     "options": [
      "Free",
      "Stack",
      "Row",
      "Column",
      "Grid"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "columns",
     "label": "Columns",
     "kind": "int",
     "default": 2,
     "min": 1,
     "max": 8,
     "keyable": true,
     "conditional": true,
     "portless": true
    },
    {
     "key": "gap",
     "label": "Gap",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 400,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "padding",
     "label": "Padding",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 400,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "stack",
     "label": "Stack Alpha",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "layer",
     "layer2",
     "layer3",
     "layer4",
     "layer5",
     "layer6",
     "layer7",
     "layer8",
     "param:background",
     "param:backgroundOpacity",
     "param:basePosition",
     "param:baseScale",
     "param:baseRotation",
     "param:baseAnchor",
     "param:visible",
     "param:mode",
     "param:opacity",
     "param:position",
     "param:scale",
     "param:rotation",
     "param:anchor",
     "param:visible2",
     "param:mode2",
     "param:opacity2",
     "param:position2",
     "param:scale2",
     "param:rotation2",
     "param:anchor2",
     "param:visible3",
     "param:mode3",
     "param:opacity3",
     "param:position3",
     "param:scale3",
     "param:rotation3",
     "param:anchor3",
     "param:visible4",
     "param:mode4",
     "param:opacity4",
     "param:position4",
     "param:scale4",
     "param:rotation4",
     "param:anchor4",
     "param:visible5",
     "param:mode5",
     "param:opacity5",
     "param:position5",
     "param:scale5",
     "param:rotation5",
     "param:anchor5",
     "param:visible6",
     "param:mode6",
     "param:opacity6",
     "param:position6",
     "param:scale6",
     "param:rotation6",
     "param:anchor6",
     "param:visible7",
     "param:mode7",
     "param:opacity7",
     "param:position7",
     "param:scale7",
     "param:rotation7",
     "param:anchor7",
     "param:visible8",
     "param:mode8",
     "param:opacity8",
     "param:position8",
     "param:scale8",
     "param:rotation8",
     "param:anchor8",
     "param:gap",
     "param:padding",
     "param:stack",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "layer",
     "label": "Layer"
    },
    {
     "key": "layer2",
     "label": "Layer 2"
    },
    {
     "key": "layer3",
     "label": "Layer 3"
    },
    {
     "key": "layer4",
     "label": "Layer 4"
    },
    {
     "key": "layer5",
     "label": "Layer 5"
    },
    {
     "key": "layer6",
     "label": "Layer 6"
    },
    {
     "key": "layer7",
     "label": "Layer 7"
    },
    {
     "key": "layer8",
     "label": "Layer 8"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Changes the picture size for everything after it.",
    "The base goes into the main port; layers into extra inputs layer, layer2 .. layer8, each with its own mode<n>, opacity<n>, fit<n>, position<n>, scale<n>, rotation<n> params (no number for the first). Its hidden layers param follows the wires by itself when the project opens."
   ]
  },
  {
   "id": "mask",
   "label": "Mask",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Cuts the picture out using another picture as a mask.",
   "traits": [
    "cut out",
    "matte",
    "alpha",
    "stencil"
   ],
   "animated": false,
   "params": [
    {
     "key": "source",
     "label": "Source",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luma",
      "Alpha",
      "Red",
      "Green",
      "Blue"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "blackPoint",
     "label": "Black Point",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "whitePoint",
     "label": "White Point",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "matte",
     "param:source",
     "param:invert",
     "param:blackPoint",
     "param:whitePoint",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "matte",
     "label": "Matte"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "matteTools",
   "label": "Matte Tools",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Shrinks, grows, feathers, clips and despills a cut-out or keyed matte.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "choke",
     "label": "Choke / Grow",
     "kind": "float",
     "default": 0,
     "min": -50,
     "max": 50,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "feather",
     "label": "Feather",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "clipBlack",
     "label": "Clip Black",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "clipWhite",
     "label": "Clip White",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "despill",
     "label": "Despill",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "despillScreen",
     "label": "Despill Screen",
     "kind": "enum",
     "default": 0,
     "options": [
      "Green",
      "Blue"
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Result",
      "Matte"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:choke",
     "param:feather",
     "param:clipBlack",
     "param:clipWhite",
     "param:despill",
     "param:despillScreen",
     "param:invert",
     "param:output",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "lightWrap",
   "label": "Light Wrap",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Bleeds the background's light inward over a cut-out foreground's edges.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "intensity",
     "label": "Intensity",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "radius",
     "label": "Radius",
     "kind": "float",
     "default": 16,
     "min": 0,
     "max": 64,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Screen",
      "Add"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Composite",
      "Foreground Only",
      "Wrap Only"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "background",
     "param:intensity",
     "param:radius",
     "param:mode",
     "param:threshold",
     "param:output",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "background",
     "label": "Background"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "chromaKey",
   "label": "Chroma Key",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Removes a green or blue screen.",
   "traits": [
    "green screen",
    "blue screen",
    "keying"
   ],
   "animated": false,
   "params": [
    {
     "key": "keyColor",
     "label": "Key Color",
     "kind": "color",
     "default": [
      0,
      1,
      0
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tolerance",
     "label": "Tolerance",
     "kind": "float",
     "default": 0.35,
     "min": 0.01,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.1,
     "min": 0.001,
     "max": 0.5,
     "step": 0.005,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "spill",
     "label": "Spill Suppression",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "fillHoles",
     "label": "Fill Holes",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 40,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "removeSpecks",
     "label": "Remove Specks",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 40,
     "step": 0.5,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:keyColor",
     "param:tolerance",
     "param:softness",
     "param:spill",
     "param:fillHoles",
     "param:removeSpecks",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input."
   ]
  },
  {
   "id": "collect",
   "label": "Collect",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Gathers several pictures onto one wire as a batch.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "count",
     "label": "Pictures",
     "kind": "int",
     "default": 2,
     "min": 1,
     "max": 32,
     "portless": true
    }
   ],
   "ports": {
    "in": [
     null,
     "picture2",
     "picture3",
     "picture4",
     "picture5",
     "picture6",
     "picture7",
     "picture8",
     "picture9",
     "picture10",
     "picture11",
     "picture12",
     "picture13",
     "picture14",
     "picture15",
     "picture16",
     "picture17",
     "picture18",
     "picture19",
     "picture20",
     "picture21",
     "picture22",
     "picture23",
     "picture24",
     "picture25",
     "picture26",
     "picture27",
     "picture28",
     "picture29",
     "picture30",
     "picture31",
     "picture32"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "picture2",
     "label": "Picture 2"
    },
    {
     "key": "picture3",
     "label": "Picture 3"
    },
    {
     "key": "picture4",
     "label": "Picture 4"
    },
    {
     "key": "picture5",
     "label": "Picture 5"
    },
    {
     "key": "picture6",
     "label": "Picture 6"
    },
    {
     "key": "picture7",
     "label": "Picture 7"
    },
    {
     "key": "picture8",
     "label": "Picture 8"
    },
    {
     "key": "picture9",
     "label": "Picture 9"
    },
    {
     "key": "picture10",
     "label": "Picture 10"
    },
    {
     "key": "picture11",
     "label": "Picture 11"
    },
    {
     "key": "picture12",
     "label": "Picture 12"
    },
    {
     "key": "picture13",
     "label": "Picture 13"
    },
    {
     "key": "picture14",
     "label": "Picture 14"
    },
    {
     "key": "picture15",
     "label": "Picture 15"
    },
    {
     "key": "picture16",
     "label": "Picture 16"
    },
    {
     "key": "picture17",
     "label": "Picture 17"
    },
    {
     "key": "picture18",
     "label": "Picture 18"
    },
    {
     "key": "picture19",
     "label": "Picture 19"
    },
    {
     "key": "picture20",
     "label": "Picture 20"
    },
    {
     "key": "picture21",
     "label": "Picture 21"
    },
    {
     "key": "picture22",
     "label": "Picture 22"
    },
    {
     "key": "picture23",
     "label": "Picture 23"
    },
    {
     "key": "picture24",
     "label": "Picture 24"
    },
    {
     "key": "picture25",
     "label": "Picture 25"
    },
    {
     "key": "picture26",
     "label": "Picture 26"
    },
    {
     "key": "picture27",
     "label": "Picture 27"
    },
    {
     "key": "picture28",
     "label": "Picture 28"
    },
    {
     "key": "picture29",
     "label": "Picture 29"
    },
    {
     "key": "picture30",
     "label": "Picture 30"
    },
    {
     "key": "picture31",
     "label": "Picture 31"
    },
    {
     "key": "picture32",
     "label": "Picture 32"
    }
   ],
   "notes": [
    "Gathers its inputs into one batch."
   ]
  },
  {
   "id": "pick",
   "label": "Pick",
   "kind": "effect",
   "menu": "Module → Composite",
   "summary": "Takes one picture out of a batch.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "index",
     "label": "Index",
     "kind": "int",
     "default": 1,
     "min": 1,
     "max": 32,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:index"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Takes one picture out of a batch."
   ]
  },
  {
   "id": "depth",
   "label": "Depth",
   "kind": "effect",
   "menu": "AI",
   "summary": "Guesses how far away each part of the picture is: near white, far black.",
   "traits": [
    "depth map",
    "z-depth",
    "distance",
    "fog by distance"
   ],
   "animated": false,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Depth map",
      "Fog",
      "Depth as alpha",
      "Normal map"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "near",
     "label": "Near",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "far",
     "label": "Far",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "gamma",
     "label": "Gamma",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert (far is white)",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    },
    {
     "key": "fogColor",
     "label": "Fog Color",
     "kind": "color",
     "default": [
      0.78,
      0.8,
      0.84
     ],
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "relief",
     "label": "Relief",
     "kind": "float",
     "default": 3,
     "min": 0,
     "max": 10,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "detail",
     "label": "Detail",
     "kind": "enum",
     "default": 0,
     "options": [
      "Standard (518)",
      "High (770)",
      "Very high (1036)"
     ],
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:near",
     "param:far",
     "param:gamma",
     "param:invert",
     "param:fogColor",
     "param:relief",
     "param:softness",
     "param:detail"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Runs the in-browser model \"depth\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "cutOut",
   "label": "Cut Out",
   "kind": "effect",
   "menu": "AI",
   "summary": "Lifts the subject off its background.",
   "traits": [
    "remove background",
    "subject only",
    "portrait cutout"
   ],
   "animated": false,
   "params": [
    {
     "key": "subject",
     "label": "Subject",
     "kind": "enum",
     "default": 0,
     "options": [
      "Anything",
      "People (fast)"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Cut out",
      "Matte",
      "Background"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeLow",
     "label": "Edge Low",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeHigh",
     "label": "Edge High",
     "kind": "float",
     "default": 0.95,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:edgeLow",
     "param:edgeHigh",
     "param:invert"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Runs the in-browser model \"matte\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "magicMask",
   "label": "Magic Mask",
   "kind": "effect",
   "menu": "AI",
   "summary": "Cuts out whatever you click on in the picture.",
   "traits": [
    "select object",
    "segment",
    "rotoscope"
   ],
   "animated": false,
   "params": [
    {
     "key": "count",
     "label": "Points",
     "kind": "int",
     "default": 1,
     "min": 1,
     "max": 6,
     "portless": true
    },
    {
     "key": "point",
     "label": "Point 1",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave0",
     "label": "Point 1 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "point1",
     "label": "Point 2",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave1",
     "label": "Point 2 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "point2",
     "label": "Point 3",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave2",
     "label": "Point 3 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "point3",
     "label": "Point 4",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave3",
     "label": "Point 4 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "point4",
     "label": "Point 5",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave4",
     "label": "Point 5 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "point5",
     "label": "Point 6",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "portless": true
    },
    {
     "key": "leave5",
     "label": "Point 6 leaves out",
     "kind": "bool",
     "default": false,
     "portless": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Cut out",
      "Matte",
      "Background"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeLow",
     "label": "Edge Low",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeHigh",
     "label": "Edge High",
     "kind": "float",
     "default": 0.95,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:edgeLow",
     "param:edgeHigh",
     "param:invert"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Runs the in-browser model \"segment\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "depthRelight",
   "label": "Depth Relight",
   "kind": "effect",
   "menu": "AI",
   "summary": "Lights the scene again from a new direction, following its 3D shape.",
   "traits": [
    "relighting",
    "new light direction",
    "dramatic light"
   ],
   "animated": false,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Lit",
      "Shading",
      "Normal map"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "lightAngle",
     "label": "Light Angle (°)",
     "kind": "float",
     "default": 135,
     "min": -180,
     "max": 180,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightHeight",
     "label": "Light Height (°)",
     "kind": "float",
     "default": 35,
     "min": 5,
     "max": 90,
     "step": 1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "strength",
     "label": "Strength",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "lightColor",
     "label": "Light Color",
     "kind": "color",
     "default": [
      1,
      0.94,
      0.85
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "relief",
     "label": "Relief",
     "kind": "float",
     "default": 3,
     "min": 0,
     "max": 10,
     "step": 0.05,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "shine",
     "label": "Shine",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "falloff",
     "label": "Falloff",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "detail",
     "label": "Detail",
     "kind": "enum",
     "default": 0,
     "options": [
      "Standard (518)",
      "High (770)",
      "Very high (1036)"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:output",
     "param:lightAngle",
     "param:lightHeight",
     "param:strength",
     "param:lightColor",
     "param:relief",
     "param:softness",
     "param:shine",
     "param:falloff",
     "param:detail",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Runs the in-browser model \"depth\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "reangle",
   "label": "Re-angle",
   "kind": "effect",
   "menu": "AI",
   "summary": "Turns the view a few degrees by the picture's depth, so a head turns about a pivot; what it uncovers is filled from the background.",
   "traits": [
    "head turn",
    "rotate face",
    "parallax",
    "camera angle",
    "2.5d"
   ],
   "animated": false,
   "params": [
    {
     "key": "yaw",
     "label": "Turn (°)",
     "kind": "float",
     "default": 8,
     "min": -30,
     "max": 30,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pitch",
     "label": "Tilt (°)",
     "kind": "float",
     "default": 0,
     "min": -30,
     "max": 30,
     "step": 0.1,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "depth",
     "label": "Depth",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "near",
     "label": "Near",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "far",
     "label": "Far",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "gamma",
     "label": "Gamma",
     "kind": "float",
     "default": 1,
     "min": 0.2,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "pivot",
     "label": "Pivot",
     "kind": "vec2",
     "default": [
      0.5,
      0.55
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "field": true,
     "keyable": true,
     "point": true
    },
    {
     "key": "holes",
     "label": "Holes",
     "kind": "enum",
     "default": 0,
     "options": [
      "Mirror background",
      "Extend background",
      "Stretch",
      "Transparent (for Fill)"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "tear",
     "label": "Tear",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "zoom",
     "label": "Zoom",
     "kind": "float",
     "default": 1,
     "min": 1,
     "max": 1.5,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edge",
     "label": "Edge",
     "kind": "enum",
     "default": 0,
     "options": [
      "Clamp",
      "Mirror",
      "Transparent"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Picture",
      "Holes",
      "Depth"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "detail",
     "label": "Detail",
     "kind": "enum",
     "default": 0,
     "options": [
      "Standard (518)",
      "High (770)",
      "Very high (1036)"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "height",
     "param:yaw",
     "param:pitch",
     "param:depth",
     "param:near",
     "param:far",
     "param:gamma",
     "param:pivot",
     "param:holes",
     "param:tear",
     "param:smoothing",
     "param:zoom",
     "param:edge",
     "param:output",
     "param:detail",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "height",
     "label": "Height"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Runs the in-browser model \"depth\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "textMask",
   "label": "Text Mask",
   "kind": "effect",
   "menu": "AI",
   "summary": "Finds what you describe in words, like sky or hair, and masks it.",
   "traits": [
    "sky replacement",
    "select by words",
    "hair mask"
   ],
   "animated": false,
   "params": [
    {
     "key": "find",
     "label": "Find",
     "kind": "enum",
     "default": 0,
     "options": [
      "Sky",
      "Person",
      "Face",
      "Hair",
      "Clothes",
      "Water",
      "Tree",
      "Grass",
      "Building",
      "Road",
      "Car",
      "Animal",
      "Flower",
      "Food"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Cut out",
      "Matte",
      "Background"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeLow",
     "label": "Edge Low",
     "kind": "float",
     "default": 0.35,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "edgeHigh",
     "label": "Edge High",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "invert",
     "label": "Invert",
     "kind": "bool",
     "default": false,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "text:prompt",
     "param:output",
     "param:edgeLow",
     "param:edgeHigh",
     "param:invert"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Takes words from a Prompt (text) node on \"text:prompt\" (Words).",
    "Runs the in-browser model \"textMask\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "fill",
   "label": "Fill",
   "kind": "effect",
   "menu": "AI",
   "summary": "Fills holes in the picture with what could plausibly be there.",
   "traits": [
    "inpainting",
    "remove object",
    "content-aware fill",
    "extend"
   ],
   "animated": false,
   "params": [
    {
     "key": "fillFrom",
     "label": "Fill From",
     "kind": "enum",
     "default": 2,
     "options": [
      "Transparent areas",
      "Mask (white)",
      "Both"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "grow",
     "label": "Grow",
     "kind": "int",
     "default": 4,
     "min": 0,
     "max": 24,
     "keyable": true,
     "portless": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Filled",
      "Fill only",
      "Holes"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "mask",
     "param:output",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "inputs": [
    {
     "key": "mask",
     "label": "Mask"
    }
   ],
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Runs the in-browser model \"fill\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "colorize",
   "label": "Colorize",
   "kind": "effect",
   "menu": "AI",
   "summary": "Gives a black-and-white picture plausible colour.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "variant",
     "label": "Model",
     "kind": "enum",
     "default": 0,
     "options": [
      "Compact (CPU · 130 MB)",
      "Full fp32 (GPU · 270 MB)"
     ],
     "keyable": true,
     "portless": true
    },
    {
     "key": "saturation",
     "label": "Saturation",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    },
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Colorized",
      "Chroma only"
     ],
     "field": true,
     "keyable": true
    },
    {
     "key": "mix",
     "label": "Mix",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "field": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null,
     "param:saturation",
     "param:output",
     "param:mix"
    ],
    "out": [
     null
    ]
   },
   "notes": [
    "Has a Mix param (0..1) that fades it against its input.",
    "Runs the in-browser model \"colorize\" (downloaded on first use; slower than the rest)."
   ]
  },
  {
   "id": "lfo",
   "label": "LFO",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "A wave that swings up and down to move a parameter: sine, triangle, saw, square, random.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "shape",
     "label": "Shape",
     "kind": "enum",
     "default": 0,
     "options": [
      "Sine",
      "Triangle",
      "Saw",
      "Square",
      "Random",
      "Drift"
     ],
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate (Hz)",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "phase",
     "label": "Phase",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "seed",
     "label": "Seed",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 999,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:rate",
     "param:phase",
     "param:seed",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "noise",
   "label": "Noise",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "A value that wanders at random, from slow drift to nervous jitter.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "rate",
     "label": "Rate (Hz)",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "octaves",
     "label": "Octaves",
     "kind": "int",
     "default": 3,
     "min": 1,
     "max": 6,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "seed",
     "label": "Seed",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 999,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:rate",
     "param:octaves",
     "param:seed",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "pulse",
   "label": "Pulse",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "Switches between 0 and 1 in time, on for part of each beat.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "rate",
     "label": "Rate (Hz)",
     "kind": "float",
     "default": 2,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "width",
     "label": "Width",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "chance",
     "label": "Chance",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "softness",
     "label": "Softness",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 0.5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "seed",
     "label": "Seed",
     "kind": "int",
     "default": 0,
     "min": 0,
     "max": 999,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:rate",
     "param:width",
     "param:chance",
     "param:softness",
     "param:seed",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "value",
   "label": "Value",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "One number that can drive several parameters at once.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "value",
     "label": "Value",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "keyable": true
    }
   ],
   "ports": {
    "in": [],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "time",
   "label": "Time",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "The current time, in seconds, frames or 0 to 1 across the comp.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "unit",
     "label": "Unit",
     "kind": "enum",
     "default": 0,
     "options": [
      "Seconds",
      "Frames",
      "0–1 across the comp"
     ],
     "keyable": true
    }
   ],
   "ports": {
    "in": [],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "stepSequencer",
   "label": "Step Sequencer",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "Plays a row of values in turn, round and round.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "steps",
     "label": "Steps",
     "kind": "int",
     "default": 8,
     "min": 2,
     "max": 16,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate (steps/s)",
     "kind": "float",
     "default": 4,
     "min": 0,
     "max": 16,
     "step": 0.05,
     "modulatable": true,
     "keyable": true,
     "phased": true
    },
    {
     "key": "glide",
     "label": "Glide",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "s0",
     "label": "Step 1",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s1",
     "label": "Step 2",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s2",
     "label": "Step 3",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s3",
     "label": "Step 4",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s4",
     "label": "Step 5",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s5",
     "label": "Step 6",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s6",
     "label": "Step 7",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s7",
     "label": "Step 8",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s8",
     "label": "Step 9",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s9",
     "label": "Step 10",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s10",
     "label": "Step 11",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s11",
     "label": "Step 12",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s12",
     "label": "Step 13",
     "kind": "float",
     "default": 1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s13",
     "label": "Step 14",
     "kind": "float",
     "default": 0.75,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s14",
     "label": "Step 15",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "s15",
     "label": "Step 16",
     "kind": "float",
     "default": 0.25,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    }
   ],
   "ports": {
    "in": [
     "param:steps",
     "param:rate",
     "param:glide",
     "param:amplitude",
     "param:offset",
     "param:s0",
     "param:s1",
     "param:s2",
     "param:s3",
     "param:s4",
     "param:s5",
     "param:s6",
     "param:s7",
     "param:s8",
     "param:s9",
     "param:s10",
     "param:s11",
     "param:s12",
     "param:s13",
     "param:s14",
     "param:s15"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "bezier",
   "label": "Bézier",
   "kind": "modulator",
   "menu": "Input → Modulators",
   "summary": "Goes from one value to another over time, along an eased curve.",
   "traits": [],
   "animated": "depends",
   "params": [
    {
     "key": "from",
     "label": "From",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "to",
     "label": "To",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "duration",
     "label": "Duration (s)",
     "kind": "float",
     "default": 5,
     "min": 0,
     "max": 120,
     "step": 0.1,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "delay",
     "label": "Delay (s)",
     "kind": "float",
     "default": 0,
     "min": 0,
     "max": 60,
     "step": 0.1,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "easing",
     "label": "Easing",
     "kind": "enum",
     "default": 0,
     "options": [
      "Linear",
      "Ease In",
      "Ease Out",
      "Ease In-Out",
      "Overshoot",
      "Custom"
     ],
     "keyable": true
    },
    {
     "key": "repeat",
     "label": "Repeat",
     "kind": "enum",
     "default": 0,
     "options": [
      "Once",
      "Loop",
      "Ping-pong"
     ],
     "keyable": true
    },
    {
     "key": "x1",
     "label": "Handle 1 x",
     "kind": "float",
     "default": 0.42,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "y1",
     "label": "Handle 1 y",
     "kind": "float",
     "default": 0,
     "min": -0.6,
     "max": 1.6,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "x2",
     "label": "Handle 2 x",
     "kind": "float",
     "default": 0.58,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "portless": true
    },
    {
     "key": "y2",
     "label": "Handle 2 y",
     "kind": "float",
     "default": 1,
     "min": -0.6,
     "max": 1.6,
     "step": 0.01,
     "portless": true
    }
   ],
   "ports": {
    "in": [
     "param:from",
     "param:to",
     "param:duration",
     "param:delay",
     "param:x1",
     "param:y1",
     "param:x2",
     "param:y2"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "math",
   "label": "Math",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Combines or reshapes numbers: add, multiply, power, sine, logarithm and more.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "op",
     "label": "Operation",
     "kind": "enum",
     "default": 0,
     "options": [
      "Add",
      "Subtract",
      "Multiply",
      "Divide",
      "Minimum",
      "Maximum",
      "Power",
      "Modulo",
      "Absolute",
      "Round",
      "Square Root",
      "Sine",
      "Cosine",
      "Logarithm",
      "Exponent",
      "Floor",
      "Fraction"
     ],
     "keyable": true
    },
    {
     "key": "a",
     "label": "A",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "b",
     "label": "B",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:a",
     "param:b"
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Becomes per-pixel (a field) when a picture reaches one of its ports."
   ]
  },
  {
   "id": "map",
   "label": "Map Range",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Rescales a value from one range to another.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "interpolation",
     "label": "Interpolation",
     "kind": "enum",
     "default": 0,
     "options": [
      "Linear",
      "Stepped",
      "Smooth"
     ],
     "keyable": true
    },
    {
     "key": "x",
     "label": "Value",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "auto",
     "label": "Auto range",
     "kind": "bool",
     "default": true,
     "keyable": true
    },
    {
     "key": "fromMin",
     "label": "From Min",
     "kind": "float",
     "default": -1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "fromMax",
     "label": "From Max",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "toMin",
     "label": "To Min",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "toMax",
     "label": "To Max",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "steps",
     "label": "Steps",
     "kind": "int",
     "default": 4,
     "min": 1,
     "max": 32,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:x",
     "param:fromMin",
     "param:fromMax",
     "param:toMin",
     "param:toMax",
     "param:steps"
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Becomes per-pixel (a field) when a picture reaches one of its ports."
   ]
  },
  {
   "id": "statistic",
   "label": "Image Statistic",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Reads a number from a picture, like its average brightness.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "statistic",
     "label": "Statistic",
     "kind": "enum",
     "default": 0,
     "options": [
      "Mean",
      "Minimum",
      "Maximum",
      "Range",
      "Std Dev"
     ],
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Reads a picture on its main input."
   ]
  },
  {
   "id": "tracker",
   "label": "Tracker",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Follows a point as the picture moves and puts out where it is, as X and Y.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "point",
     "label": "Point",
     "kind": "vec2",
     "default": [
      0.5,
      0.5
     ],
     "min": 0,
     "max": 1,
     "step": 0.001,
     "keyable": true,
     "point": true
    },
    {
     "key": "at",
     "label": "On frame at (s)",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "keyable": true,
     "portless": true
    },
    {
     "key": "pattern",
     "label": "Pattern Size",
     "kind": "float",
     "default": 32,
     "min": 8,
     "max": 256,
     "step": 1,
     "keyable": true
    },
    {
     "key": "search",
     "label": "Search Size",
     "kind": "float",
     "default": 96,
     "min": 16,
     "max": 512,
     "step": 1,
     "keyable": true
    },
    {
     "key": "motion",
     "label": "Motion",
     "kind": "enum",
     "default": 0,
     "options": [
      "Position",
      "Position + Scale",
      "Position + Scale + Rotation"
     ],
     "keyable": true
    },
    {
     "key": "channel",
     "label": "Channel",
     "kind": "enum",
     "default": 0,
     "options": [
      "Luminance",
      "Red",
      "Green",
      "Blue",
      "Saturation"
     ],
     "keyable": true
    },
    {
     "key": "preBlur",
     "label": "Pre-blur",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 4,
     "step": 0.05,
     "keyable": true
    },
    {
     "key": "adapt",
     "label": "Adapt",
     "kind": "float",
     "default": 0.1,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true
    },
    {
     "key": "analysis",
     "label": "Analysis Size",
     "kind": "enum",
     "default": 1,
     "options": [
      "512",
      "1024",
      "2048",
      "Full"
     ],
     "keyable": true
    },
    {
     "key": "subpixel",
     "label": "Subpixel",
     "kind": "bool",
     "default": true,
     "keyable": true
    },
    {
     "key": "minConfidence",
     "label": "Min Confidence",
     "kind": "float",
     "default": 0.6,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true
    },
    {
     "key": "onLoss",
     "label": "On Loss",
     "kind": "enum",
     "default": 2,
     "options": [
      "Stop",
      "Hold",
      "Predict"
     ],
     "keyable": true
    },
    {
     "key": "smoothing",
     "label": "Smoothing",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true
    },
    {
     "key": "responsiveness",
     "label": "Responsiveness",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "vec2",
     "default": [
      0,
      0
     ],
     "min": -1,
     "max": 1,
     "step": 0.001,
     "keyable": true
    },
    {
     "key": "units",
     "label": "Units",
     "kind": "enum",
     "default": 0,
     "options": [
      "0–1",
      "Pixels",
      "Centred −1..1"
     ],
     "keyable": true
    },
    {
     "key": "outside",
     "label": "Before / After",
     "kind": "enum",
     "default": 0,
     "options": [
      "Hold",
      "Carry on"
     ],
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     null
    ],
    "out": [
     "mod:x",
     "mod:y"
    ]
   },
   "notes": [
    "Reads a picture on its main input.",
    "Puts out the path saved when its card's Analyse last ran (`track` in its data); until then its Point.",
    "Several numbers out, each on its own port: \"mod:x\" (X), \"mod:y\" (Y)."
   ]
  },
  {
   "id": "sampleHold",
   "label": "Sample & Hold",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Holds its input and takes a new reading now and then, turning smooth motion into steps.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "input",
     "label": "Input",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "mode",
     "label": "Mode",
     "kind": "enum",
     "default": 0,
     "options": [
      "Rate",
      "Trigger"
     ],
     "keyable": true
    },
    {
     "key": "rate",
     "label": "Rate (Hz)",
     "kind": "float",
     "default": 4,
     "min": 0.01,
     "max": 30,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true,
     "phased": true
    },
    {
     "key": "trigger",
     "label": "Trigger",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    }
   ],
   "ports": {
    "in": [
     "param:input",
     "param:rate",
     "param:trigger"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "smooth",
   "label": "Smooth",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Calms a jittery value into smooth glides.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "input",
     "label": "Input",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "time",
     "label": "Time (s)",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 10,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:input",
     "param:time"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "envelope",
   "label": "Envelope",
   "kind": "modulator",
   "menu": "Module → Modulators",
   "summary": "Rises and falls each time its gate switches on, like a synth envelope.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "gate",
     "label": "Gate",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "attack",
     "label": "Attack (s)",
     "kind": "float",
     "default": 0.05,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "decay",
     "label": "Decay (s)",
     "kind": "float",
     "default": 0.2,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "sustain",
     "label": "Sustain",
     "kind": "float",
     "default": 0.5,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "release",
     "label": "Release (s)",
     "kind": "float",
     "default": 0.3,
     "min": 0,
     "max": 5,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "param:gate",
     "param:attack",
     "param:decay",
     "param:sustain",
     "param:release",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   }
  },
  {
   "id": "audioLevel",
   "label": "Audio Level",
   "kind": "modulator",
   "menu": "Module → Audio",
   "summary": "How loud a band of the music is, from 0 to 1.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "measure",
     "label": "Measure",
     "kind": "enum",
     "default": 0,
     "options": [
      "Loudness",
      "Brightness",
      "Noisiness",
      "Change"
     ],
     "keyable": true
    },
    {
     "key": "source",
     "label": "Source",
     "kind": "enum",
     "default": 0,
     "options": [
      "Full",
      "Percussive",
      "Harmonic"
     ],
     "keyable": true,
     "conditional": true
    },
    {
     "key": "band",
     "label": "Band",
     "kind": "enum",
     "default": 2,
     "options": [
      "Full",
      "Sub",
      "Bass",
      "Low Mid",
      "Mid",
      "High Mid",
      "Presence",
      "Brilliance",
      "Custom"
     ],
     "keyable": true,
     "conditional": true
    },
    {
     "key": "low",
     "label": "Low (Hz)",
     "kind": "float",
     "default": 60,
     "min": -1000000,
     "max": 1000000,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "high",
     "label": "High (Hz)",
     "kind": "float",
     "default": 250,
     "min": -1000000,
     "max": 1000000,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "attack",
     "label": "Attack (s)",
     "kind": "float",
     "default": 0.01,
     "min": 0,
     "max": 1,
     "step": 0.005,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "release",
     "label": "Release (s)",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "scale",
     "label": "Scale",
     "kind": "enum",
     "default": 0,
     "options": [
      "Linear",
      "Decibels"
     ],
     "keyable": true,
     "conditional": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "sound",
     "param:low",
     "param:high",
     "param:attack",
     "param:release",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Takes an Audio node on its \"sound\" port."
   ]
  },
  {
   "id": "onset",
   "label": "Onset",
   "kind": "modulator",
   "menu": "Module → Audio",
   "summary": "Jumps to 1 on every hit in the music, then back to 0.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "source",
     "label": "Source",
     "kind": "enum",
     "default": 0,
     "options": [
      "Full",
      "Percussive",
      "Harmonic"
     ],
     "keyable": true
    },
    {
     "key": "band",
     "label": "Band",
     "kind": "enum",
     "default": 2,
     "options": [
      "Full",
      "Sub",
      "Bass",
      "Low Mid",
      "Mid",
      "High Mid",
      "Presence",
      "Brilliance",
      "Custom"
     ],
     "keyable": true
    },
    {
     "key": "low",
     "label": "Low (Hz)",
     "kind": "float",
     "default": 60,
     "min": -1000000,
     "max": 1000000,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "high",
     "label": "High (Hz)",
     "kind": "float",
     "default": 250,
     "min": -1000000,
     "max": 1000000,
     "step": 1,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "threshold",
     "label": "Threshold",
     "kind": "float",
     "default": 0.15,
     "min": 0,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "hold",
     "label": "Hold (s)",
     "kind": "float",
     "default": 0.1,
     "min": 0.01,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "length",
     "label": "Length (s)",
     "kind": "float",
     "default": 0.05,
     "min": 0.01,
     "max": 1,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "sound",
     "param:low",
     "param:high",
     "param:threshold",
     "param:hold",
     "param:length",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Takes an Audio node on its \"sound\" port."
   ]
  },
  {
   "id": "beat",
   "label": "Beat",
   "kind": "modulator",
   "menu": "Module → Audio",
   "summary": "Follows the music's beat and bars, found by a model running in your browser.",
   "traits": [],
   "animated": false,
   "params": [
    {
     "key": "output",
     "label": "Output",
     "kind": "enum",
     "default": 0,
     "options": [
      "Pulse",
      "Gate",
      "Beat phase",
      "Bar phase",
      "Downbeat pulse",
      "Beat in bar",
      "Tempo (BPM)"
     ],
     "keyable": true
    },
    {
     "key": "length",
     "label": "Length (s)",
     "kind": "float",
     "default": 0.2,
     "min": 0.01,
     "max": 2,
     "step": 0.01,
     "modulatable": true,
     "keyable": true,
     "conditional": true
    },
    {
     "key": "amplitude",
     "label": "Amplitude",
     "kind": "float",
     "default": 1,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    },
    {
     "key": "offset",
     "label": "Offset",
     "kind": "float",
     "default": 0,
     "min": -1000000,
     "max": 1000000,
     "step": 0.01,
     "modulatable": true,
     "keyable": true
    }
   ],
   "ports": {
    "in": [
     "sound",
     "param:length",
     "param:amplitude",
     "param:offset"
    ],
    "out": [
     "mod"
    ]
   },
   "notes": [
    "Takes an Audio node on its \"sound\" port."
   ]
  }
 ],
 "recipes": [
  {
   "name": "Aerochrome",
   "modules": [
    {
     "id": "infrared",
     "module": "effect:channelMixer",
     "params": {
      "monochrome": false,
      "rFromR": 0,
      "rFromG": 1,
      "rFromB": 0,
      "gFromR": 1,
      "gFromG": 0,
      "gFromB": 0,
      "bFromR": 0,
      "bFromG": 0,
      "bFromB": 1,
      "mix": 1
     }
    },
    {
     "id": "foliage",
     "module": "effect:selectiveColor",
     "params": {
      "hue": 0,
      "range": 40,
      "hueShift": -25,
      "saturation": 1.4,
      "lightness": 0,
      "outside": 1,
      "softness": 20,
      "showMask": false,
      "mix": 1
     }
    },
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.15,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.65,
      "knee": 0.15,
      "radius": 18,
      "intensity": 0.5
     }
    },
    {
     "id": "grain",
     "module": "effect:grain",
     "params": {
      "amount": 0.05,
      "size": 1.5,
      "rate": 24,
      "mono": false,
      "mix": 1
     }
    }
   ],
   "wires": [
    "infrared → foliage",
    "foliage → tone",
    "tone → glow",
    "glow → grain"
   ],
   "controls": [
    "Foliage Hue (foliage.hueShift)",
    "Foliage Colour (foliage.saturation)",
    "Glow (glow.intensity)",
    "Grain (grain.amount)"
   ]
  },
  {
   "name": "Amber Terminal",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "type",
     "module": "effect:glyphs",
     "params": {
      "set": 0,
      "ramp": 0,
      "size": 9,
      "tint": 1,
      "ink": [
       1,
       0.62,
       0.12
      ],
      "speed": 1,
      "contrast": 1,
      "background": [
       0.03,
       0.015,
       0
      ],
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 300,
      "thickness": 1,
      "darkness": 0.4,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.35,
      "knee": 0.15,
      "radius": 12,
      "intensity": 0.9
     }
    }
   ],
   "wires": [
    "prep → type",
    "type → lines",
    "lines → glow"
   ],
   "controls": [
    "Cell Size (type.size)",
    "Characters (type.ramp)",
    "Phosphor (type.ink)",
    "Glow (glow.intensity)"
   ]
  },
  {
   "name": "Anaglyph 3D",
   "modules": [
    {
     "id": "in",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "depth",
     "module": "effect:depth",
     "params": {
      "output": 0,
      "near": 1,
      "far": 0,
      "gamma": 1,
      "invert": false,
      "fogColor": [
       0.78,
       0.8,
       0.84
      ],
      "relief": 3,
      "softness": 0.35,
      "detail": 0
     }
    },
    {
     "id": "leftEye",
     "module": "effect:mapDisplace",
     "params": {
      "amount": 0.04,
      "source": 3,
      "direction": 0,
      "flipGreen": false,
      "strength": 1,
      "flipV": false,
      "edge": 0,
      "mix": 1
     }
    },
    {
     "id": "red",
     "module": "effect:channelMixer",
     "params": {
      "monochrome": false,
      "rFromR": 1,
      "rFromG": 0,
      "rFromB": 0,
      "gFromR": 0,
      "gFromG": 0,
      "gFromB": 0,
      "bFromR": 0,
      "bFromG": 0,
      "bFromB": 0,
      "mix": 1
     }
    },
    {
     "id": "rightEye",
     "module": "effect:mapDisplace",
     "params": {
      "amount": 0.04,
      "source": 3,
      "direction": 180,
      "flipGreen": false,
      "strength": 1,
      "flipV": false,
      "edge": 0,
      "mix": 1
     }
    },
    {
     "id": "cyan",
     "module": "effect:channelMixer",
     "params": {
      "monochrome": false,
      "rFromR": 0,
      "rFromG": 0,
      "rFromB": 0,
      "gFromR": 0,
      "gFromG": 1,
      "gFromB": 0,
      "bFromR": 0,
      "bFromG": 0,
      "bFromB": 1,
      "mix": 1
     }
    },
    {
     "id": "pair",
     "module": "effect:blend",
     "params": {
      "layers": 1,
      "canvas": 0,
      "canvasWidth": 1920,
      "canvasHeight": 1080,
      "background": [
       0,
       0,
       0
      ],
      "backgroundOpacity": 0,
      "baseFit": 2,
      "basePosition": [
       0,
       0
      ],
      "baseScale": 1,
      "baseRotation": 0,
      "baseAnchor": [
       0,
       0
      ],
      "visible": true,
      "mode": 1,
      "opacity": 1,
      "fit": 0,
      "position": [
       0,
       0
      ],
      "scale": 1,
      "rotation": 0,
      "anchor": [
       0,
       0
      ],
      "visible2": true,
      "mode2": 0,
      "opacity2": 1,
      "fit2": 2,
      "position2": [
       0,
       0
      ],
      "scale2": 1,
      "rotation2": 0,
      "anchor2": [
       0,
       0
      ],
      "visible3": true,
      "mode3": 0,
      "opacity3": 1,
      "fit3": 2,
      "position3": [
       0,
       0
      ],
      "scale3": 1,
      "rotation3": 0,
      "anchor3": [
       0,
       0
      ],
      "visible4": true,
      "mode4": 0,
      "opacity4": 1,
      "fit4": 2,
      "position4": [
       0,
       0
      ],
      "scale4": 1,
      "rotation4": 0,
      "anchor4": [
       0,
       0
      ],
      "visible5": true,
      "mode5": 0,
      "opacity5": 1,
      "fit5": 2,
      "position5": [
       0,
       0
      ],
      "scale5": 1,
      "rotation5": 0,
      "anchor5": [
       0,
       0
      ],
      "visible6": true,
      "mode6": 0,
      "opacity6": 1,
      "fit6": 2,
      "position6": [
       0,
       0
      ],
      "scale6": 1,
      "rotation6": 0,
      "anchor6": [
       0,
       0
      ],
      "visible7": true,
      "mode7": 0,
      "opacity7": 1,
      "fit7": 2,
      "position7": [
       0,
       0
      ],
      "scale7": 1,
      "rotation7": 0,
      "anchor7": [
       0,
       0
      ],
      "visible8": true,
      "mode8": 0,
      "opacity8": 1,
      "fit8": 2,
      "position8": [
       0,
       0
      ],
      "scale8": 1,
      "rotation8": 0,
      "anchor8": [
       0,
       0
      ],
      "arrange": 0,
      "columns": 2,
      "gap": 0,
      "padding": 0,
      "stack": false,
      "mix": 1
     }
    },
    {
     "id": "separation",
     "module": "modulator:value",
     "params": {
      "value": 0.012
     }
    }
   ],
   "wires": [
    "in → depth",
    "in → leftEye",
    "in → rightEye",
    "depth → leftEye.map",
    "depth → rightEye.map",
    "leftEye → red",
    "rightEye → cyan",
    "red → pair",
    "cyan → pair.layer",
    "separation.mod → leftEye.param:amount",
    "separation.mod → rightEye.param:amount"
   ],
   "controls": [
    "Separation (separation.value)",
    "Contrast (in.contrast)"
   ]
  },
  {
   "name": "Beat Punch",
   "modules": [
    {
     "id": "zoom",
     "module": "effect:transform",
     "params": {
      "offset": [
       0,
       0
      ],
      "scale": 1,
      "rotation": 0,
      "flipX": false,
      "flipY": false,
      "edge": 3
     }
    },
    {
     "id": "split",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0,
      "lateral": 0,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    },
    {
     "id": "flash",
     "module": "effect:exposure",
     "params": {
      "exposure": 0,
      "mix": 1
     }
    },
    {
     "id": "beat",
     "module": "modulator:pulse",
     "params": {
      "rate": 2,
      "width": 0.9,
      "chance": 1,
      "softness": 0,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "hit",
     "module": "modulator:envelope",
     "params": {
      "gate": 0,
      "attack": 0,
      "decay": 0.25,
      "sustain": 0,
      "release": 0.05,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "zoomAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 1,
      "toMax": 1.08,
      "steps": 4
     }
    },
    {
     "id": "splitAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0,
      "toMax": 6,
      "steps": 4
     }
    },
    {
     "id": "flashAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0,
      "toMax": 0.7,
      "steps": 4
     }
    }
   ],
   "wires": [
    "zoom → split",
    "split → flash",
    "beat.mod → hit.param:gate",
    "hit.mod → zoomAmount.param:x",
    "hit.mod → splitAmount.param:x",
    "hit.mod → flashAmount.param:x",
    "zoomAmount.mod → zoom.param:scale",
    "splitAmount.mod → split.param:lateral",
    "flashAmount.mod → flash.param:exposure"
   ],
   "controls": [
    "Beats per Second (beat.rate)",
    "Decay (s) (hit.decay)",
    "Zoom Punch (zoomAmount.toMax)",
    "Color Split (splitAmount.toMax)",
    "Flash (flashAmount.toMax)"
   ]
  },
  {
   "name": "Bitrate Crash",
   "modules": [
    {
     "id": "codec",
     "module": "effect:compression",
     "params": {
      "quality": 70,
      "scale": 1,
      "chroma": 2,
      "mix": 1
     }
    },
    {
     "id": "mosh",
     "module": "effect:datamosh",
     "params": {
      "blockSize": 16,
      "strength": 1.5,
      "leak": 0.05,
      "keyframe": 4,
      "smoothing": 1,
      "mix": 1
     }
    },
    {
     "id": "trigger",
     "module": "modulator:pulse",
     "params": {
      "rate": 0.5,
      "width": 0.5,
      "chance": 0.7,
      "softness": 0,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "crash",
     "module": "modulator:envelope",
     "params": {
      "gate": 0,
      "attack": 0,
      "decay": 1.2,
      "sustain": 0,
      "release": 0.1,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "bitrate",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 70,
      "toMax": 2,
      "steps": 4
     }
    }
   ],
   "wires": [
    "codec → mosh",
    "trigger.mod → crash.param:gate",
    "crash.mod → bitrate.param:x",
    "bitrate.mod → codec.param:quality"
   ],
   "controls": [
    "Crashes per Second (trigger.rate)",
    "Chance (trigger.chance)",
    "Worst Quality (bitrate.toMax)",
    "Recovery (s) (crash.decay)",
    "Mosh (mosh.strength)"
   ]
  },
  {
   "name": "Commodore 64",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.1,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "palette",
     "module": "effect:palette",
     "params": {
      "palette": 5,
      "dither": 1,
      "spread": 0.6,
      "cell": 4,
      "match": 0,
      "contrast": 1,
      "brightness": 0,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 200,
      "thickness": 1,
      "darkness": 0.3,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.55,
      "knee": 0.15,
      "radius": 8,
      "intensity": 0.4
     }
    }
   ],
   "wires": [
    "prep → palette",
    "palette → lines",
    "lines → glow"
   ],
   "controls": [
    "Pixel Size (palette.cell)",
    "Dither (palette.spread)",
    "Contrast (prep.contrast)",
    "Scanlines (lines.darkness)"
   ]
  },
  {
   "name": "CCTV",
   "modules": [
    {
     "id": "fisheye",
     "module": "effect:lens",
     "params": {
      "curvature": 0.35,
      "zoom": 1,
      "edge": 2,
      "background": [
       0,
       0,
       0
      ]
     }
    },
    {
     "id": "washed",
     "module": "effect:saturation",
     "params": {
      "saturation": 0.25,
      "hue": 0,
      "mix": 1
     }
    },
    {
     "id": "agc",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0.03,
      "contrast": 1.2,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "sensor",
     "module": "effect:sensorNoise",
     "params": {
      "amount": 0.5,
      "chromaNoise": 0.3,
      "size": 1,
      "banding": 0.3,
      "hotPixels": 0.15,
      "rate": 12,
      "mix": 1
     }
    },
    {
     "id": "cadence",
     "module": "effect:frameHold",
     "params": {
      "holdFps": 12,
      "strobe": 0,
      "rate": 2,
      "duty": 0.15,
      "mix": 1
     }
    },
    {
     "id": "codec",
     "module": "effect:compression",
     "params": {
      "quality": 15,
      "scale": 1,
      "chroma": 2,
      "mix": 1
     }
    },
    {
     "id": "corners",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.75,
      "softness": 0.4,
      "strength": 0.5,
      "color": [
       0,
       0,
       0
      ]
     }
    }
   ],
   "wires": [
    "fisheye → washed",
    "washed → agc",
    "agc → sensor",
    "sensor → cadence",
    "cadence → codec",
    "codec → corners"
   ],
   "controls": [
    "Fisheye (fisheye.curvature)",
    "Color (washed.saturation)",
    "Noise (sensor.amount)",
    "Frame Rate (cadence.holdFps)",
    "Quality (codec.quality)"
   ]
  },
  {
   "name": "CGA",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.25,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "palette",
     "module": "effect:palette",
     "params": {
      "palette": 3,
      "dither": 2,
      "spread": 0.8,
      "cell": 3,
      "match": 0,
      "contrast": 1,
      "brightness": 0,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 200,
      "thickness": 1,
      "darkness": 0.35,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.5,
      "knee": 0.15,
      "radius": 10,
      "intensity": 0.6
     }
    }
   ],
   "wires": [
    "prep → palette",
    "palette → lines",
    "lines → glow"
   ],
   "controls": [
    "Palette (palette.palette)",
    "Pixel Size (palette.cell)",
    "Dither (palette.spread)",
    "Contrast (prep.contrast)"
   ]
  },
  {
   "name": "Cinestill 800T",
   "modules": [
    {
     "id": "balance",
     "module": "effect:whiteBalance",
     "params": {
      "temperature": -0.35,
      "tint": 0.05,
      "mix": 1
     }
    },
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.1,
      "black": 0,
      "gamma": 0.95,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "halo",
     "module": "effect:halation",
     "params": {
      "threshold": 0.55,
      "knee": 0.15,
      "radius": 20,
      "intensity": 1.4,
      "tint": [
       1,
       0.15,
       0.05
      ],
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.7,
      "knee": 0.15,
      "radius": 24,
      "intensity": 0.4
     }
    },
    {
     "id": "grain",
     "module": "effect:grain",
     "params": {
      "amount": 0.06,
      "size": 1.5,
      "rate": 24,
      "mono": false,
      "mix": 1
     }
    },
    {
     "id": "corners",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.85,
      "softness": 0.5,
      "strength": 0.3,
      "color": [
       0,
       0,
       0
      ]
     }
    }
   ],
   "wires": [
    "balance → tone",
    "tone → halo",
    "halo → glow",
    "glow → grain",
    "grain → corners"
   ],
   "controls": [
    "Halation (halo.intensity)",
    "Halo Size (halo.radius)",
    "Balance (balance.temperature)",
    "Grain (grain.amount)"
   ]
  },
  {
   "name": "Corrupted Signal",
   "modules": [
    {
     "id": "tint",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0,
       0,
       0
      ],
      "alpha0": 1,
      "pos1": 0.55,
      "color1": [
       0.7,
       0.03,
       0.04
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       1,
       0.92,
       0.9
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "blocks",
     "module": "effect:blockGlitch",
     "params": {
      "blockSize": 32,
      "intensity": 0.4,
      "colorShift": 0.5,
      "speed": 1,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:lineJitter",
     "params": {
      "amount": 0.02,
      "lines": 240,
      "density": 0.25,
      "rate": 24,
      "edge": 0
     }
    },
    {
     "id": "split",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0,
      "lateral": 4,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    },
    {
     "id": "cadence",
     "module": "effect:frameHold",
     "params": {
      "holdFps": 12,
      "strobe": 0,
      "rate": 2,
      "duty": 0.15,
      "mix": 1
     }
    },
    {
     "id": "trigger",
     "module": "modulator:pulse",
     "params": {
      "rate": 0.8,
      "width": 0.5,
      "chance": 0.6,
      "softness": 0,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "burst",
     "module": "modulator:envelope",
     "params": {
      "gate": 0,
      "attack": 0,
      "decay": 0.4,
      "sustain": 0,
      "release": 0.05,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "blockAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0.05,
      "toMax": 0.9,
      "steps": 4
     }
    },
    {
     "id": "lineAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0.002,
      "toMax": 0.05,
      "steps": 4
     }
    }
   ],
   "wires": [
    "tint → blocks",
    "blocks → lines",
    "lines → split",
    "split → cadence",
    "trigger.mod → burst.param:gate",
    "burst.mod → blockAmount.param:x",
    "burst.mod → lineAmount.param:x",
    "blockAmount.mod → blocks.param:intensity",
    "lineAmount.mod → lines.param:amount"
   ],
   "controls": [
    "Bursts per Second (trigger.rate)",
    "Chance (trigger.chance)",
    "Glitch (blockAmount.toMax)",
    "Color Split (split.lateral)",
    "Frame Rate (cadence.holdFps)",
    "Tint (tint.color1)"
   ]
  },
  {
   "name": "CRT Screen",
   "modules": [
    {
     "id": "signal",
     "module": "effect:compositeVideo",
     "params": {
      "cycles": 180,
      "decoder": 0,
      "lumaFilter": 0.4,
      "chromaFilter": 1.2,
      "saturation": 1,
      "hue": 0,
      "crawl": true,
      "mix": 1
     }
    },
    {
     "id": "mask",
     "module": "effect:shadowMask",
     "params": {
      "type": 0,
      "pitch": 3,
      "strength": 0.5,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 240,
      "thickness": 1,
      "darkness": 0.45,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.5,
      "knee": 0.15,
      "radius": 12,
      "intensity": 0.6
     }
    },
    {
     "id": "glass",
     "module": "effect:lens",
     "params": {
      "curvature": 0.15,
      "zoom": 1,
      "edge": 2,
      "background": [
       0,
       0,
       0
      ]
     }
    },
    {
     "id": "corners",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.8,
      "softness": 0.4,
      "strength": 0.4,
      "color": [
       0,
       0,
       0
      ]
     }
    }
   ],
   "wires": [
    "signal → mask",
    "mask → lines",
    "lines → glow",
    "glow → glass",
    "glass → corners"
   ],
   "controls": [
    "Curvature (glass.curvature)",
    "Mask Strength (mask.strength)",
    "Scanlines (lines.darkness)",
    "Glow (glow.intensity)"
   ]
  },
  {
   "name": "Cyanotype",
   "modules": [
    {
     "id": "mono",
     "module": "effect:blackwhite",
     "params": {
      "amount": 1
     }
    },
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.25,
      "black": 0,
      "gamma": 1.1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "print",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.02,
       0.1,
       0.25
      ],
      "alpha0": 1,
      "pos1": 0.5,
      "color1": [
       0.12,
       0.35,
       0.62
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.9,
       0.93,
       0.92
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "paper",
     "module": "effect:paper",
     "params": {
      "paperType": 2,
      "relief": 0.4,
      "textureScale": 1,
      "lightAngle": 135,
      "ink": 1,
      "paperColor": [
       0.95,
       0.95,
       0.92
      ],
      "absorption": 0.6,
      "bleed": 1.5,
      "mottle": 0.4,
      "mix": 1
     }
    }
   ],
   "wires": [
    "mono → tone",
    "tone → print",
    "print → paper"
   ],
   "controls": [
    "Prussian Blue (print.color0)",
    "Mid Blue (print.color1)",
    "Contrast (tone.contrast)",
    "Paper Texture (paper.relief)"
   ]
  },
  {
   "name": "Dream Rewind",
   "modules": [
    {
     "id": "rewind",
     "module": "effect:timeOffset",
     "params": {
      "offset": 0
     }
    },
    {
     "id": "echo",
     "module": "effect:echo",
     "params": {
      "offset": [
       4,
       2
      ],
      "persistence": 0.6
     }
    },
    {
     "id": "glow",
     "module": "effect:halation",
     "params": {
      "threshold": 0.5,
      "knee": 0.15,
      "radius": 22,
      "intensity": 1.3,
      "tint": [
       1,
       0.55,
       0.35
      ],
      "mix": 1
     }
    },
    {
     "id": "fringe",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0.006,
      "lateral": 0,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    },
    {
     "id": "soft",
     "module": "effect:blur",
     "params": {
      "method": 0,
      "radius": 3,
      "kernel": 0,
      "rotate": 0,
      "extend": 0,
      "preShrink": 0,
      "sampleStep": [
       1,
       1
      ],
      "dither": false,
      "mix": 0.4
     }
    },
    {
     "id": "faded",
     "module": "effect:saturation",
     "params": {
      "saturation": 0.85,
      "hue": 0,
      "mix": 1
     }
    },
    {
     "id": "swing",
     "module": "modulator:lfo",
     "params": {
      "shape": 1,
      "rate": 0.25,
      "phase": 0,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "depth",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0,
      "toMax": 3,
      "steps": 4
     }
    }
   ],
   "wires": [
    "rewind → echo",
    "echo → glow",
    "glow → fringe",
    "fringe → soft",
    "soft → faded",
    "swing.mod → depth.param:x",
    "depth.mod → rewind.param:offset"
   ],
   "controls": [
    "Rewind (s) (depth.toMax)",
    "Rewind Rate (swing.rate)",
    "Echo (echo.persistence)",
    "Glow (glow.intensity)"
   ]
  },
  {
   "name": "Engraved Note",
   "modules": [
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.25,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "engrave",
     "module": "effect:hatching",
     "params": {
      "spacing": 4,
      "angle": 30,
      "layers": 3,
      "weight": 1,
      "contour": 0.5,
      "ink": [
       0.1,
       0.2,
       0.16
      ],
      "paper": [
       0.93,
       0.91,
       0.82
      ],
      "mix": 1
     }
    },
    {
     "id": "aged",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.8,
      "softness": 0.5,
      "strength": 0.3,
      "color": [
       0.35,
       0.3,
       0.2
      ]
     }
    }
   ],
   "wires": [
    "tone → engrave",
    "engrave → aged"
   ],
   "controls": [
    "Line Spacing (engrave.spacing)",
    "Angle (engrave.angle)",
    "Contour (engrave.contour)",
    "Ink (engrave.ink)",
    "Paper (engrave.paper)"
   ]
  },
  {
   "name": "Film Print",
   "modules": [
    {
     "id": "halo",
     "module": "effect:halation",
     "params": {
      "threshold": 0.65,
      "knee": 0.15,
      "radius": 14,
      "intensity": 0.6,
      "tint": [
       1,
       0.22,
       0.06
      ],
      "mix": 1
     }
    },
    {
     "id": "stock",
     "module": "effect:whiteBalance",
     "params": {
      "temperature": 0.15,
      "tint": 0,
      "mix": 1
     }
    },
    {
     "id": "gate",
     "module": "effect:transform",
     "params": {
      "offset": [
       0,
       0
      ],
      "scale": 1,
      "rotation": 0,
      "flipX": false,
      "flipY": false,
      "edge": 3
     }
    },
    {
     "id": "cadence",
     "module": "effect:frameHold",
     "params": {
      "holdFps": 24,
      "strobe": 0,
      "rate": 2,
      "duty": 0.15,
      "mix": 1
     }
    },
    {
     "id": "grain",
     "module": "effect:grain",
     "params": {
      "amount": 0.07,
      "size": 1.5,
      "rate": 24,
      "mono": false,
      "mix": 1
     }
    },
    {
     "id": "corners",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.85,
      "softness": 0.5,
      "strength": 0.35,
      "color": [
       0,
       0,
       0
      ]
     }
    },
    {
     "id": "weave",
     "module": "modulator:noise",
     "params": {
      "rate": 3,
      "octaves": 2,
      "seed": 0,
      "amplitude": 0.0015,
      "offset": 0
     }
    },
    {
     "id": "weaveAmount",
     "module": "modulator:math",
     "params": {
      "op": 2,
      "a": 0,
      "b": 1
     }
    }
   ],
   "wires": [
    "halo → stock",
    "stock → gate",
    "gate → cadence",
    "cadence → grain",
    "grain → corners",
    "weave.mod → weaveAmount.param:a",
    "weaveAmount.mod → gate.param:offset.x",
    "weaveAmount.mod → gate.param:offset.y"
   ],
   "controls": [
    "Halation (halo.intensity)",
    "Warmth (stock.temperature)",
    "Grain (grain.amount)",
    "Gate Weave (weaveAmount.b)",
    "Frame Rate (cadence.holdFps)"
   ]
  },
  {
   "name": "Game Boy",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.2,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "palette",
     "module": "effect:palette",
     "params": {
      "palette": 0,
      "dither": 1,
      "spread": 0.75,
      "cell": 6,
      "match": 0,
      "contrast": 1,
      "brightness": 0,
      "mix": 1
     }
    },
    {
     "id": "lcd",
     "module": "effect:scanlines",
     "params": {
      "lines": 180,
      "thickness": 1,
      "darkness": 0.15,
      "roll": 0,
      "mix": 1
     }
    }
   ],
   "wires": [
    "prep → palette",
    "palette → lcd"
   ],
   "controls": [
    "Pixel Size (palette.cell)",
    "Palette (palette.palette)",
    "Dither (palette.spread)",
    "Contrast (prep.contrast)"
   ]
  },
  {
   "name": "Hologram",
   "modules": [
    {
     "id": "mono",
     "module": "effect:blackwhite",
     "params": {
      "amount": 1
     }
    },
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": -0.05,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "light",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0,
       0.02,
       0.06
      ],
      "alpha0": 1,
      "pos1": 0.55,
      "color1": [
       0.05,
       0.55,
       0.9
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.75,
       1,
       1
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "rim",
     "module": "effect:edgeDetect",
     "params": {
      "mode": 3,
      "channel": 0,
      "blackLevel": 0,
      "sensitivity": 2.5,
      "thickness": 1.5,
      "edgeColor": [
       0.4,
       1,
       1
      ],
      "edgeAlpha": false,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 360,
      "thickness": 1,
      "darkness": 0.45,
      "roll": 0.3,
      "mix": 1
     }
    },
    {
     "id": "tear",
     "module": "effect:lineJitter",
     "params": {
      "amount": 0.006,
      "lines": 240,
      "density": 0.15,
      "rate": 12,
      "edge": 0
     }
    },
    {
     "id": "split",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0,
      "lateral": 2.5,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.45,
      "knee": 0.15,
      "radius": 18,
      "intensity": 1
     }
    },
    {
     "id": "flicker",
     "module": "effect:exposure",
     "params": {
      "exposure": 0,
      "mix": 1
     }
    },
    {
     "id": "unsteady",
     "module": "modulator:noise",
     "params": {
      "rate": 6,
      "octaves": 3,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "flickerAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": -0.5,
      "toMax": 0.15,
      "steps": 4
     }
    }
   ],
   "wires": [
    "mono → tone",
    "tone → light",
    "light → rim",
    "rim → lines",
    "lines → tear",
    "tear → split",
    "split → glow",
    "glow → flicker",
    "unsteady.mod → flickerAmount.param:x",
    "flickerAmount.mod → flicker.param:exposure"
   ],
   "controls": [
    "Hologram Colour (light.color1)",
    "Glitch (tear.amount)",
    "Scanlines (lines.darkness)",
    "Glow (glow.intensity)",
    "Flicker (flickerAmount.toMin)"
   ]
  },
  {
   "name": "MacPaint",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.15,
      "black": 0,
      "gamma": 1.1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "bits",
     "module": "effect:dither",
     "params": {
      "matrix": 11,
      "scale": 2,
      "levels": 2,
      "monochrome": true,
      "angle": 0,
      "mix": 1
     }
    },
    {
     "id": "screen",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 2,
      "pos0": 0,
      "color0": [
       0.05,
       0.05,
       0.07
      ],
      "alpha0": 1,
      "pos1": 1,
      "color1": [
       0.96,
       0.95,
       0.9
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       1,
       0.95,
       0.7
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    }
   ],
   "wires": [
    "prep → bits",
    "bits → screen"
   ],
   "controls": [
    "Pixel Size (bits.scale)",
    "Contrast (prep.contrast)",
    "Gamma (prep.gamma)",
    "Screen (screen.color1)"
   ]
  },
  {
   "name": "Mandala",
   "modules": [
    {
     "id": "fold",
     "module": "effect:kaleidoscope",
     "params": {
      "mode": 0,
      "segments": 8,
      "rotation": 0,
      "sourceAngle": 0,
      "center": [
       0.5,
       0.5
      ],
      "zoom": 1.3,
      "edge": 3,
      "mix": 1
     }
    },
    {
     "id": "tunnel",
     "module": "effect:feedback",
     "params": {
      "persistence": 1.2,
      "zoom": 1.25,
      "rotate": 12,
      "drift": [
       0,
       0
      ],
      "hueShift": 45,
      "center": [
       0.5,
       0.5
      ],
      "mode": 0,
      "steps": 1,
      "edge": 2
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.7,
      "knee": 0.15,
      "radius": 20,
      "intensity": 0.2
     }
    },
    {
     "id": "colour",
     "module": "effect:saturation",
     "params": {
      "saturation": 1.25,
      "hue": 0,
      "mix": 1
     }
    },
    {
     "id": "rock",
     "module": "modulator:lfo",
     "params": {
      "shape": 0,
      "rate": 0.05,
      "phase": 0,
      "seed": 0,
      "amplitude": 90,
      "offset": 0
     }
    },
    {
     "id": "beat",
     "module": "modulator:pulse",
     "params": {
      "rate": 2,
      "width": 0.9,
      "chance": 1,
      "softness": 0,
      "seed": 0,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "hit",
     "module": "modulator:envelope",
     "params": {
      "gate": 0,
      "attack": 0,
      "decay": 0.3,
      "sustain": 0,
      "release": 0.05,
      "amplitude": 1,
      "offset": 0
     }
    },
    {
     "id": "glowAmount",
     "module": "modulator:map",
     "params": {
      "interpolation": 0,
      "x": 0,
      "auto": true,
      "fromMin": -1,
      "fromMax": 1,
      "toMin": 0.1,
      "toMax": 0.9,
      "steps": 4
     }
    }
   ],
   "wires": [
    "fold → tunnel",
    "tunnel → glow",
    "glow → colour",
    "rock.mod → fold.param:rotation",
    "beat.mod → hit.param:gate",
    "hit.mod → glowAmount.param:x",
    "glowAmount.mod → glow.param:intensity"
   ],
   "controls": [
    "Segments (fold.segments)",
    "Turn Speed (rock.rate)",
    "Tunnel Zoom (tunnel.zoom)",
    "Colour Cycle (tunnel.hueShift)",
    "Beats per Second (beat.rate)",
    "Beat Glow (glowAmount.toMax)"
   ]
  },
  {
   "name": "Neon FM",
   "modules": [
    {
     "id": "smooth",
     "module": "effect:blur",
     "params": {
      "method": 0,
      "radius": 3,
      "kernel": 0,
      "rotate": 0,
      "extend": 0,
      "preShrink": 0,
      "sampleStep": [
       1,
       1
      ],
      "dither": false,
      "mix": 1
     }
    },
    {
     "id": "fm",
     "module": "effect:fmScanlines",
     "params": {
      "carrier": 40,
      "depth": 100,
      "driver": 0,
      "waveform": 0,
      "width": 3,
      "speed": 0.1,
      "lineColor": [
       1,
       1,
       1
      ],
      "spacing": 6,
      "scatter": 0,
      "duty": 0.5,
      "axis": 0,
      "start": 0,
      "lumMask": 0.5,
      "output": 0,
      "bgColor": [
       0,
       0,
       0
      ],
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:halation",
     "params": {
      "threshold": 0.5,
      "knee": 0.15,
      "radius": 12,
      "intensity": 0.9,
      "tint": [
       1,
       1,
       1
      ],
      "mix": 1
     }
    },
    {
     "id": "neon",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.03,
       0.01,
       0.08
      ],
      "alpha0": 1,
      "pos1": 0.45,
      "color1": [
       0.95,
       0.1,
       0.6
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.4,
       0.95,
       1
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    }
   ],
   "wires": [
    "smooth → fm",
    "fm → glow",
    "glow → neon"
   ],
   "controls": [
    "Lines (fm.carrier)",
    "Depth (fm.depth)",
    "Drift (fm.speed)",
    "Glow (glow.intensity)",
    "Glow Color (neon.color1)",
    "Core Color (neon.color2)"
   ]
  },
  {
   "name": "Newsprint",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.1,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "press",
     "module": "effect:print",
     "params": {
      "inks": 0,
      "ruling": 45,
      "dotShape": 1,
      "dotGain": 0.22,
      "misregister": 1.5,
      "paper": [
       0.89,
       0.87,
       0.81
      ],
      "inkDensity": 0.9,
      "black": 0.7,
      "paperGrain": 0.45,
      "inkCount": 2,
      "ink1": [
       0,
       0.47,
       0.75
      ],
      "ink2": [
       1,
       0.28,
       0.69
      ],
      "ink3": [
       1,
       0.91,
       0
      ],
      "ink4": [
       0.11,
       0.11,
       0.11
      ],
      "rotate": 0,
      "variation": 0,
      "mix": 1
     }
    }
   ],
   "wires": [
    "prep → press"
   ],
   "controls": [
    "Ruling (press.ruling)",
    "Dot Gain (press.dotGain)",
    "Misregistration (press.misregister)",
    "Paper (press.paper)"
   ]
  },
  {
   "name": "Night Vision",
   "modules": [
    {
     "id": "gain",
     "module": "effect:exposure",
     "params": {
      "exposure": 1,
      "mix": 1
     }
    },
    {
     "id": "phosphor",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0,
       0.03,
       0.01
      ],
      "alpha0": 1,
      "pos1": 0.45,
      "color1": [
       0.12,
       0.62,
       0.18
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.78,
       1,
       0.72
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.55,
      "knee": 0.15,
      "radius": 14,
      "intensity": 0.9
     }
    },
    {
     "id": "noise",
     "module": "effect:grain",
     "params": {
      "amount": 0.14,
      "size": 1.5,
      "rate": 30,
      "mono": true,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 480,
      "thickness": 1,
      "darkness": 0.15,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "tube",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.55,
      "softness": 0.12,
      "strength": 1,
      "color": [
       0,
       0,
       0
      ]
     }
    }
   ],
   "wires": [
    "gain → phosphor",
    "phosphor → glow",
    "glow → noise",
    "noise → lines",
    "lines → tube"
   ],
   "controls": [
    "Gain (gain.exposure)",
    "Noise (noise.amount)",
    "Tube Glow (glow.intensity)",
    "Phosphor (phosphor.color1)"
   ]
  },
  {
   "name": "Oscilloscope",
   "modules": [
    {
     "id": "trace",
     "module": "effect:ruttEtra",
     "params": {
      "deflection": 0.1,
      "lines": 60,
      "occlusion": 0,
      "speed": 1,
      "brightness": 2.8,
      "mode": 0,
      "color": [
       0.3,
       1,
       0.45
      ],
      "lineWidth": 1.5,
      "smoothing": 0.1,
      "bias": 0,
      "cutoff": 0.02,
      "baseBrightness": 0.25,
      "carrier": 1,
      "pulses": 160,
      "ripple": 0.01,
      "frequency": 30,
      "spread": 0.25,
      "mix": 1
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.3,
      "knee": 0.15,
      "radius": 10,
      "intensity": 1
     }
    }
   ],
   "wires": [
    "trace → glow"
   ],
   "controls": [
    "Lines (trace.lines)",
    "Deflection (trace.deflection)",
    "Dot Break (trace.carrier)",
    "Phosphor (trace.color)"
   ]
  },
  {
   "name": "Portrait f/1.4",
   "modules": [
    {
     "id": "in",
     "module": "effect:exposure",
     "params": {
      "exposure": 0,
      "mix": 1
     }
    },
    {
     "id": "depth",
     "module": "effect:depth",
     "params": {
      "output": 0,
      "near": 1,
      "far": 0,
      "gamma": 1,
      "invert": false,
      "fogColor": [
       0.78,
       0.8,
       0.84
      ],
      "relief": 3,
      "softness": 0.35,
      "detail": 0
     }
    },
    {
     "id": "focus",
     "module": "modulator:math",
     "params": {
      "op": 1,
      "a": 0,
      "b": 0.8
     }
    },
    {
     "id": "distance",
     "module": "modulator:math",
     "params": {
      "op": 8,
      "a": 0,
      "b": 0
     }
    },
    {
     "id": "aperture",
     "module": "modulator:math",
     "params": {
      "op": 2,
      "a": 0,
      "b": 30
     }
    },
    {
     "id": "lens",
     "module": "effect:bokeh",
     "params": {
      "radius": 10,
      "shape": 0,
      "rotation": 0,
      "boost": 2,
      "threshold": 0.55,
      "mix": 1
     }
    },
    {
     "id": "corners",
     "module": "effect:vignette",
     "params": {
      "center": [
       0.5,
       0.5
      ],
      "radius": 0.9,
      "softness": 0.6,
      "strength": 0.2,
      "color": [
       0,
       0,
       0
      ]
     }
    }
   ],
   "wires": [
    "in → depth",
    "in → lens",
    "lens → corners",
    "depth → focus.param:a",
    "focus.mod → distance.param:a",
    "distance.mod → aperture.param:a",
    "aperture.mod → lens.param:radius"
   ],
   "controls": [
    "Focus Depth (focus.b)",
    "Blur (aperture.b)",
    "Aperture Shape (lens.shape)",
    "Highlights (lens.boost)"
   ]
  },
  {
   "name": "Risograph",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.15,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "screen",
     "module": "effect:dither",
     "params": {
      "matrix": 4,
      "scale": 2,
      "levels": 3,
      "monochrome": true,
      "angle": 0,
      "mix": 1
     }
    },
    {
     "id": "inks",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.12,
       0.22,
       0.55
      ],
      "alpha0": 1,
      "pos1": 0.5,
      "color1": [
       0.97,
       0.33,
       0.55
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.96,
       0.93,
       0.86
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "register",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0,
      "lateral": 1.5,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    },
    {
     "id": "paper",
     "module": "effect:grain",
     "params": {
      "amount": 0.04,
      "size": 2,
      "rate": 0,
      "mono": true,
      "mix": 1
     }
    }
   ],
   "wires": [
    "prep → screen",
    "screen → inks",
    "inks → register",
    "register → paper"
   ],
   "controls": [
    "First Ink (inks.color0)",
    "Second Ink (inks.color1)",
    "Paper (inks.color2)",
    "Dot Size (screen.scale)",
    "Misregister (register.lateral)"
   ]
  },
  {
   "name": "Signal Break",
   "modules": [
    {
     "id": "sort",
     "module": "effect:pixelSort",
     "params": {
      "direction": 0,
      "sortBy": 0,
      "order": 0,
      "lower": 0.12,
      "upper": 0.85,
      "invert": false,
      "maxLength": 320,
      "mix": 0.7
     }
    },
    {
     "id": "blocks",
     "module": "effect:blockGlitch",
     "params": {
      "blockSize": 28,
      "intensity": 0.45,
      "colorShift": 0.55,
      "speed": 0.8,
      "mix": 1
     }
    },
    {
     "id": "jitter",
     "module": "effect:code:1d80s3t1cc716c",
     "params": {
      "amount": 0.5,
      "rgbSplit": 0.025,
      "scanFreq": 90,
      "mix": 1
     }
    },
    {
     "id": "seq",
     "module": "modulator:stepSequencer",
     "params": {
      "steps": 8,
      "rate": 4,
      "glide": 0.08,
      "amplitude": 1,
      "offset": 0,
      "s0": 0.05,
      "s1": 0.85,
      "s2": 0.15,
      "s3": 1,
      "s4": 0.05,
      "s5": 0.45,
      "s6": 0.95,
      "s7": 0.2,
      "s8": 0,
      "s9": 0.25,
      "s10": 0.5,
      "s11": 0.75,
      "s12": 1,
      "s13": 0.75,
      "s14": 0.5,
      "s15": 0.25
     }
    },
    {
     "id": "formula",
     "module": "modulator:formula:0wsphbn0ulr3v1",
     "params": {
      "a": 0.5,
      "b": 0,
      "c": 0,
      "d": 0
     }
    }
   ],
   "wires": [
    "sort → blocks",
    "blocks → jitter",
    "seq.mod → blocks.param:intensity",
    "seq.mod → formula.param:a",
    "formula.mod → sort.param:mix",
    "formula.mod → jitter.param:amount"
   ],
   "controls": [
    "Rate (steps/s) (seq.rate)",
    "Block Size (blocks.blockSize)",
    "RGB Split (jitter.rgbSplit)",
    "Scanlines (jitter.scanFreq)",
    "Sort Length (sort.maxLength)"
   ]
  },
  {
   "name": "Slit-Scan",
   "modules": [
    {
     "id": "time",
     "module": "effect:timeMachine",
     "params": {
      "blackOffset": 0,
      "whiteOffset": 1.5,
      "blend": true,
      "frames": 60,
      "cacheFps": 30,
      "cacheSize": 1,
      "mix": 1
     }
    },
    {
     "id": "sweep",
     "module": "generator:ramp",
     "params": {
      "type": 0,
      "angle": 0,
      "interpolation": 0,
      "extend": 0,
      "stopCount": 2,
      "pos0": 0,
      "color0": [
       0,
       0,
       0
      ],
      "alpha0": 1,
      "pos1": 1,
      "color1": [
       1,
       1,
       1
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       0.98,
       0.78,
       0.25
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1
     }
    }
   ],
   "wires": [
    "sweep → time.timeMap"
   ],
   "controls": [
    "Spread (s) (time.whiteOffset)",
    "Direction (sweep.angle)",
    "Base Delay (s) (time.blackOffset)"
   ]
  },
  {
   "name": "Stained Glass",
   "modules": [
    {
     "id": "panes",
     "module": "effect:crystalMosaic",
     "params": {
      "cellSize": 36,
      "randomness": 0.9,
      "facet": 0.35,
      "edgeWidth": 3,
      "edgeColor": [
       0.04,
       0.03,
       0.03
      ],
      "speed": 0,
      "mix": 1
     }
    },
    {
     "id": "colour",
     "module": "effect:saturation",
     "params": {
      "saturation": 1.5,
      "hue": 0,
      "mix": 1
     }
    },
    {
     "id": "glass",
     "module": "effect:glass",
     "params": {
      "surface": 14,
      "size": 0.03,
      "angle": 0,
      "center": [
       0.5,
       0.5
      ],
      "relief": 0.35,
      "frost": 0.05,
      "speed": 0,
      "distance": 0.02,
      "ior": 1.5,
      "dispersion": 0.015,
      "absorption": 0.1,
      "tint": [
       1,
       1,
       1
      ],
      "reflection": 0.2,
      "lightAngle": 135,
      "grooveWidth": 0.15,
      "edge": 3,
      "mix": 1
     }
    },
    {
     "id": "sun",
     "module": "effect:godRays",
     "params": {
      "threshold": 0.55,
      "knee": 0.15,
      "light": [
       0.3,
       1.1
      ],
      "length": 0.6,
      "decay": 0.96,
      "intensity": 1,
      "tint": [
       1,
       0.9,
       0.7
      ]
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.7,
      "knee": 0.15,
      "radius": 12,
      "intensity": 0.4
     }
    }
   ],
   "wires": [
    "panes → colour",
    "colour → glass",
    "glass → sun",
    "sun → glow"
   ],
   "controls": [
    "Pane Size (panes.cellSize)",
    "Lead Width (panes.edgeWidth)",
    "Colour (colour.saturation)",
    "Sun Rays (sun.intensity)",
    "Sun (sun.light)"
   ]
  },
  {
   "name": "Teletext",
   "modules": [
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "blocks",
     "module": "effect:glyphs",
     "params": {
      "set": 1,
      "ramp": 0,
      "size": 12,
      "tint": 0,
      "ink": [
       0.35,
       1,
       0.55
      ],
      "speed": 1,
      "contrast": 1.2,
      "background": [
       0,
       0,
       0
      ],
      "mix": 1
     }
    },
    {
     "id": "palette",
     "module": "effect:posterize",
     "params": {
      "levels": 2,
      "mode": 0,
      "mix": 1
     }
    },
    {
     "id": "lines",
     "module": "effect:scanlines",
     "params": {
      "lines": 288,
      "thickness": 1,
      "darkness": 0.35,
      "roll": 0,
      "mix": 1
     }
    },
    {
     "id": "fields",
     "module": "effect:interlace",
     "params": {
      "lines": 288,
      "dim": 0.2,
      "offset": 0,
      "rate": 25
     }
    },
    {
     "id": "glow",
     "module": "effect:bloom",
     "params": {
      "threshold": 0.6,
      "knee": 0.15,
      "radius": 10,
      "intensity": 0.5
     }
    }
   ],
   "wires": [
    "tone → blocks",
    "blocks → palette",
    "palette → lines",
    "lines → fields",
    "fields → glow"
   ],
   "controls": [
    "Cell Size (blocks.size)",
    "Characters (blocks.set)",
    "Contrast (tone.contrast)",
    "Scanlines (lines.darkness)"
   ]
  },
  {
   "name": "Thermal Camera",
   "modules": [
    {
     "id": "smooth",
     "module": "effect:blur",
     "params": {
      "method": 0,
      "radius": 4,
      "kernel": 0,
      "rotate": 0,
      "extend": 0,
      "preShrink": 0,
      "sampleStep": [
       1,
       1
      ],
      "dither": false,
      "mix": 1
     }
    },
    {
     "id": "heat",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "palette",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 0,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.08,
       0.02,
       0.3
      ],
      "alpha0": 1,
      "pos1": 0.5,
      "color1": [
       0.9,
       0.25,
       0.15
      ],
      "alpha1": 1,
      "pos2": 1,
      "color2": [
       1,
       0.95,
       0.55
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "sensor",
     "module": "effect:pixelate",
     "params": {
      "size": 4,
      "shape": 0,
      "quantize": 0,
      "background": [
       0,
       0,
       0
      ],
      "mix": 1
     }
    },
    {
     "id": "detail",
     "module": "effect:sharpen",
     "params": {
      "amount": 0.8,
      "radius": 1.5,
      "threshold": 0.02,
      "lumaOnly": true,
      "mix": 1
     }
    },
    {
     "id": "noise",
     "module": "effect:grain",
     "params": {
      "amount": 0.03,
      "size": 1,
      "rate": 30,
      "mono": true,
      "mix": 1
     }
    }
   ],
   "wires": [
    "smooth → heat",
    "heat → palette",
    "palette → sensor",
    "sensor → detail",
    "detail → noise"
   ],
   "controls": [
    "Smoothing (smooth.radius)",
    "Contrast (heat.contrast)",
    "Sensor Pixels (sensor.size)",
    "Cold (palette.color0)",
    "Warm (palette.color1)",
    "Hot (palette.color2)"
   ]
  },
  {
   "name": "Time Melt",
   "modules": [
    {
     "id": "time",
     "module": "effect:timeMachine",
     "params": {
      "blackOffset": 0,
      "whiteOffset": 1.5,
      "blend": true,
      "frames": 60,
      "cacheFps": 30,
      "cacheSize": 1,
      "mix": 1
     }
    },
    {
     "id": "blobs",
     "module": "generator:noise",
     "params": {
      "noiseType": 0,
      "period": 1.5,
      "scale": [
       1,
       1
      ],
      "harmonics": 2,
      "contrast": 1,
      "monochrome": true,
      "speed": 0.2,
      "motion": 0,
      "translateMode": 0,
      "translate": [
       0,
       0,
       0
      ],
      "translateAmount": 1,
      "spread": 2.02,
      "roughness": 0.5,
      "offset": 0,
      "exponent": 1,
      "aspect": true,
      "noiseSeed": 0,
      "direction": 30
     }
    }
   ],
   "wires": [
    "blobs → time.timeMap"
   ],
   "controls": [
    "Spread (s) (time.whiteOffset)",
    "Blob Size (blobs.period)",
    "Drift (blobs.speed)"
   ]
  },
  {
   "name": "Toon",
   "modules": [
    {
     "id": "blur",
     "module": "effect:blur",
     "params": {
      "method": 0,
      "radius": 1.5,
      "kernel": 0,
      "rotate": 0,
      "extend": 0,
      "preShrink": 0,
      "sampleStep": [
       1,
       1
      ],
      "dither": false,
      "mix": 1
     }
    },
    {
     "id": "bands",
     "module": "effect:posterize",
     "params": {
      "levels": 5,
      "mode": 0,
      "mix": 1
     }
    },
    {
     "id": "ink",
     "module": "effect:edgeDetect",
     "params": {
      "mode": 3,
      "channel": 0,
      "blackLevel": 0,
      "sensitivity": 3,
      "thickness": 1.2,
      "edgeColor": [
       0,
       0,
       0
      ],
      "edgeAlpha": false,
      "mix": 1
     }
    }
   ],
   "wires": [
    "blur → bands",
    "bands → ink"
   ],
   "controls": [
    "Bands (bands.levels)",
    "Line Sensitivity (ink.sensitivity)",
    "Line Thickness (ink.thickness)",
    "Line Color (ink.edgeColor)",
    "Smoothing (blur.radius)"
   ]
  },
  {
   "name": "Underwater",
   "modules": [
    {
     "id": "murk",
     "module": "effect:depth",
     "params": {
      "output": 1,
      "near": 1,
      "far": 0,
      "gamma": 1,
      "invert": false,
      "fogColor": [
       0.05,
       0.25,
       0.32
      ],
      "relief": 3,
      "softness": 0.35,
      "detail": 0
     }
    },
    {
     "id": "sway",
     "module": "effect:wobble",
     "params": {
      "waveform": 0,
      "amplitude": 0.004,
      "frequency": 4,
      "rate": 0.6,
      "phase": 0,
      "axis": 2,
      "edge": 0
     }
    },
    {
     "id": "caustics",
     "module": "effect:caustics",
     "params": {
      "surface": 0,
      "scale": 0.5,
      "speed": 0.5,
      "mapSoftness": 4,
      "relief": 1,
      "focus": 1.2,
      "intensity": 1,
      "lightColor": [
       1,
       0.97,
       0.88
      ],
      "tint": [
       0.55,
       0.85,
       0.9
      ],
      "tintAmount": 0.35,
      "sharpness": 0.6,
      "dispersion": 0.08,
      "distortion": 0.008,
      "mix": 1
     }
    },
    {
     "id": "water",
     "module": "effect:whiteBalance",
     "params": {
      "temperature": -0.5,
      "tint": -0.2,
      "mix": 1
     }
    },
    {
     "id": "sun",
     "module": "effect:godRays",
     "params": {
      "threshold": 0.6,
      "knee": 0.15,
      "light": [
       0.5,
       1.1
      ],
      "length": 0.5,
      "decay": 0.96,
      "intensity": 0.8,
      "tint": [
       0.7,
       1,
       0.95
      ]
     }
    },
    {
     "id": "grain",
     "module": "effect:grain",
     "params": {
      "amount": 0.03,
      "size": 1.5,
      "rate": 24,
      "mono": true,
      "mix": 1
     }
    }
   ],
   "wires": [
    "murk → sway",
    "sway → caustics",
    "caustics → water",
    "water → sun",
    "sun → grain"
   ],
   "controls": [
    "Caustics (caustics.intensity)",
    "Sway (sway.amplitude)",
    "Water Colour (murk.fogColor)",
    "Sun Rays (sun.intensity)"
   ]
  },
  {
   "name": "Unknown Pleasures",
   "modules": [
    {
     "id": "prep",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "ridges",
     "module": "effect:ruttEtra",
     "params": {
      "deflection": 0.14,
      "lines": 80,
      "occlusion": 1,
      "speed": 0,
      "brightness": 2.5,
      "mode": 0,
      "color": [
       1,
       1,
       1
      ],
      "lineWidth": 1.4,
      "smoothing": 0.25,
      "bias": 0,
      "cutoff": 0,
      "baseBrightness": 0.4,
      "carrier": 0,
      "pulses": 120,
      "ripple": 0,
      "frequency": 45,
      "spread": 0.25,
      "mix": 1
     }
    }
   ],
   "wires": [
    "prep → ridges"
   ],
   "controls": [
    "Height (ridges.deflection)",
    "Lines (ridges.lines)",
    "Smoothing (ridges.smoothing)",
    "Contrast (prep.contrast)"
   ]
  },
  {
   "name": "VHS",
   "modules": [
    {
     "id": "bleed",
     "module": "effect:chromaBleed",
     "params": {
      "width": 10,
      "offset": 2,
      "saturation": 0.9,
      "mix": 1
     }
    },
    {
     "id": "tracking",
     "module": "effect:lineJitter",
     "params": {
      "amount": 0.008,
      "lines": 240,
      "density": 0.25,
      "rate": 12,
      "edge": 0
     }
    },
    {
     "id": "head",
     "module": "effect:headSwitch",
     "params": {
      "height": 0.04,
      "amount": 0.06,
      "bend": 0.6,
      "jitter": 0.3,
      "colorLoss": 0.6,
      "noise": 0.4,
      "rate": 30,
      "edge": 2,
      "background": [
       0,
       0,
       0
      ]
     }
    },
    {
     "id": "dropouts",
     "module": "effect:dropouts",
     "params": {
      "density": 0.006,
      "dash": 0.03,
      "tail": 0.6,
      "clump": 0.35,
      "compensation": 0,
      "lines": 360,
      "rate": 30,
      "color": [
       1,
       1,
       1
      ]
     }
    },
    {
     "id": "cable",
     "module": "effect:compositeVideo",
     "params": {
      "cycles": 180,
      "decoder": 0,
      "lumaFilter": 0.4,
      "chromaFilter": 1.2,
      "saturation": 1,
      "hue": 0,
      "crawl": true,
      "mix": 1
     }
    },
    {
     "id": "grain",
     "module": "effect:grain",
     "params": {
      "amount": 0.06,
      "size": 1,
      "rate": 24,
      "mono": false,
      "mix": 1
     }
    }
   ],
   "wires": [
    "bleed → tracking",
    "tracking → head",
    "head → dropouts",
    "dropouts → cable",
    "cable → grain"
   ],
   "controls": [
    "Color Bleed (bleed.width)",
    "Tracking (tracking.amount)",
    "Head Switch (head.amount)",
    "Dropouts (dropouts.density)"
   ]
  },
  {
   "name": "Warhol Grid",
   "modules": [
    {
     "id": "tone",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0,
      "contrast": 1.3,
      "black": 0,
      "gamma": 1,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "smooth",
     "module": "effect:blur",
     "params": {
      "method": 0,
      "radius": 1.5,
      "kernel": 0,
      "rotate": 0,
      "extend": 0,
      "preShrink": 0,
      "sampleStep": [
       1,
       1
      ],
      "dither": false,
      "mix": 1
     }
    },
    {
     "id": "inks1",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 2,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.1,
       0.05,
       0.3
      ],
      "alpha0": 1,
      "pos1": 0.35,
      "color1": [
       0.95,
       0.2,
       0.55
      ],
      "alpha1": 1,
      "pos2": 0.7,
      "color2": [
       1,
       0.9,
       0.2
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "inks2",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 2,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.05,
       0.2,
       0.15
      ],
      "alpha0": 1,
      "pos1": 0.35,
      "color1": [
       0.2,
       0.75,
       0.95
      ],
      "alpha1": 1,
      "pos2": 0.7,
      "color2": [
       1,
       0.6,
       0.75
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "inks3",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 2,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.35,
       0.05,
       0.05
      ],
      "alpha0": 1,
      "pos1": 0.35,
      "color1": [
       1,
       0.5,
       0.1
      ],
      "alpha1": 1,
      "pos2": 0.7,
      "color2": [
       0.6,
       1,
       0.6
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "inks4",
     "module": "effect:gradientMap",
     "params": {
      "channel": 0,
      "interpolation": 2,
      "stopCount": 3,
      "pos0": 0,
      "color0": [
       0.05,
       0.05,
       0.05
      ],
      "alpha0": 1,
      "pos1": 0.35,
      "color1": [
       0.55,
       0.3,
       0.85
      ],
      "alpha1": 1,
      "pos2": 0.7,
      "color2": [
       0.3,
       1,
       0.85
      ],
      "alpha2": 1,
      "pos3": 1,
      "color3": [
       0.2,
       0.8,
       0.9
      ],
      "alpha3": 1,
      "pos4": 1,
      "color4": [
       1,
       1,
       1
      ],
      "alpha4": 1,
      "pos5": 1,
      "color5": [
       0.5,
       0.5,
       0.5
      ],
      "alpha5": 1,
      "pos6": 1,
      "color6": [
       0.3,
       0.3,
       0.3
      ],
      "alpha6": 1,
      "pos7": 1,
      "color7": [
       0.1,
       0.1,
       0.1
      ],
      "alpha7": 1,
      "mix": 1
     }
    },
    {
     "id": "grid",
     "module": "effect:blend",
     "params": {
      "layers": 3,
      "canvas": 0,
      "canvasWidth": 1920,
      "canvasHeight": 1080,
      "background": [
       0,
       0,
       0
      ],
      "backgroundOpacity": 0,
      "baseFit": 1,
      "basePosition": [
       0,
       0
      ],
      "baseScale": 1,
      "baseRotation": 0,
      "baseAnchor": [
       0,
       0
      ],
      "visible": true,
      "mode": 0,
      "opacity": 1,
      "fit": 1,
      "position": [
       0,
       0
      ],
      "scale": 1,
      "rotation": 0,
      "anchor": [
       0,
       0
      ],
      "visible2": true,
      "mode2": 0,
      "opacity2": 1,
      "fit2": 1,
      "position2": [
       0,
       0
      ],
      "scale2": 1,
      "rotation2": 0,
      "anchor2": [
       0,
       0
      ],
      "visible3": true,
      "mode3": 0,
      "opacity3": 1,
      "fit3": 1,
      "position3": [
       0,
       0
      ],
      "scale3": 1,
      "rotation3": 0,
      "anchor3": [
       0,
       0
      ],
      "visible4": true,
      "mode4": 0,
      "opacity4": 1,
      "fit4": 2,
      "position4": [
       0,
       0
      ],
      "scale4": 1,
      "rotation4": 0,
      "anchor4": [
       0,
       0
      ],
      "visible5": true,
      "mode5": 0,
      "opacity5": 1,
      "fit5": 2,
      "position5": [
       0,
       0
      ],
      "scale5": 1,
      "rotation5": 0,
      "anchor5": [
       0,
       0
      ],
      "visible6": true,
      "mode6": 0,
      "opacity6": 1,
      "fit6": 2,
      "position6": [
       0,
       0
      ],
      "scale6": 1,
      "rotation6": 0,
      "anchor6": [
       0,
       0
      ],
      "visible7": true,
      "mode7": 0,
      "opacity7": 1,
      "fit7": 2,
      "position7": [
       0,
       0
      ],
      "scale7": 1,
      "rotation7": 0,
      "anchor7": [
       0,
       0
      ],
      "visible8": true,
      "mode8": 0,
      "opacity8": 1,
      "fit8": 2,
      "position8": [
       0,
       0
      ],
      "scale8": 1,
      "rotation8": 0,
      "anchor8": [
       0,
       0
      ],
      "arrange": 4,
      "columns": 2,
      "gap": 0,
      "padding": 0,
      "stack": false,
      "mix": 1
     }
    },
    {
     "id": "register",
     "module": "effect:chromaticAberration",
     "params": {
      "radial": 0,
      "lateral": 2,
      "center": [
       0.5,
       0.5
      ],
      "mix": 1
     }
    }
   ],
   "wires": [
    "tone → smooth",
    "smooth → inks1",
    "smooth → inks2",
    "smooth → inks3",
    "smooth → inks4",
    "inks1 → grid",
    "inks2 → grid.layer",
    "inks3 → grid.layer2",
    "inks4 → grid.layer3",
    "grid → register"
   ],
   "controls": [
    "Contrast (tone.contrast)",
    "Smoothing (smooth.radius)",
    "Gap (grid.gap)",
    "Misregister (register.lateral)"
   ]
  },
  {
   "name": "Watercolour",
   "modules": [
    {
     "id": "paint",
     "module": "effect:painterly",
     "params": {
      "radius": 6,
      "stretch": 1.5,
      "sharpness": 8,
      "hardness": 8,
      "mix": 1
     }
    },
    {
     "id": "wash",
     "module": "effect:levels",
     "params": {
      "auto": 0,
      "brightness": 0.03,
      "contrast": 1,
      "black": 0,
      "gamma": 1.15,
      "white": 1,
      "clip": 0.5,
      "opacity": 1,
      "mix": 1
     }
    },
    {
     "id": "pigment",
     "module": "effect:saturation",
     "params": {
      "saturation": 1.15,
      "hue": 0,
      "mix": 1
     }
    },
    {
     "id": "pooling",
     "module": "effect:edgeDetect",
     "params": {
      "mode": 3,
      "channel": 0,
      "blackLevel": 0,
      "sensitivity": 1.2,
      "thickness": 1.5,
      "edgeColor": [
       0.22,
       0.18,
       0.25
      ],
      "edgeAlpha": false,
      "mix": 0.45
     }
    },
    {
     "id": "paper",
     "module": "effect:grain",
     "params": {
      "amount": 0.05,
      "size": 2.5,
      "rate": 0,
      "mono": true,
      "mix": 1
     }
    }
   ],
   "wires": [
    "paint → wash",
    "wash → pigment",
    "pigment → pooling",
    "pooling → paper"
   ],
   "controls": [
    "Brush Size (paint.radius)",
    "Stroke Length (paint.stretch)",
    "Edge Darkening (pooling.mix)",
    "Paper (paper.amount)"
   ]
  }
 ],
 "wires": {
  "picture (handle null)": "Out of any picture node into a picture input (null or an extra input key), or into a field-taking param port (the picture becomes a value per pixel).",
  "mod → param:<key>": "A modulator's number into a modulatable param; it overrides the param's value.",
  "sound": "An audio node, a Sound Mix (or a video's sound port) into a sound port; a Sound Mix takes several, on sound:0, sound:1, ….",
  "text → text:<use>": "Words from a Prompt (text) or Describe node into a text port.",
  "render": "A Renderer's or Recorder's baked file into a Viewer or Background.",
  "rule": "Every input port takes one wire. No loops, but through a Feedback (feedbackLoop): a wire from downstream of it into its `loop` port closes one, and is read as last frame's picture. Wires go from source handle to target handle; the main picture handle is left out (null)."
 },
 "limits": {
  "maxWorkingSize": 2048,
  "imageSetItems": 32,
  "blendLayers": 8
 },
 "cannot": [
  "A 3D scene of several objects, or animated 3D: the Model module draws one glTF, GLB or OBJ file the user drops on its card, at its rest pose, from an orbiting camera, with its Depth, Normals and Matte as outputs (a project written here can place a Model, but not supply its file). Depth and Depth Relight only guess depth from one picture.",
  "Tracking an object across video frames, or stabilising a video.",
  "Changing what is in the picture (adding or removing things, changing a face) except through the AI modules: AI Image (a new picture from a prompt, with the user's own OpenRouter or Google key) and Fill (inpainting holes).",
  "Code that runs anywhere but on the GPU per pixel: a Code module is GLSL (no Python or JavaScript), one pass, no state from frame to frame; a Formula is one expression for a number.",
  "Editing several clips together on a timeline (one picture or video per chain; Layers stacks them).",
  "Reading text from a picture (Describe captions it in words).",
  "Vector output (SVG, PDF): renders are PNG, JPG, WebP, GIF, MP4, WebM or a PNG sequence."
 ]
}
