{
  "id": "data-mosh",
  "name": "Data Mosh",
  "description": "Temporal block-smear glitch with scanline tearing and chroma offset.",
  "category": "Glitch",
  "entryPoint": "shadeVideo",
  "temporal": {
    "enabled": true,
    "historySource": "preLayerInput",
    "historyLength": 8
  },
  "parameters": [
    {
      "id": "amount",
      "label": "Amount",
      "type": "float",
      "default": 0.45,
      "min": 0,
      "max": 1,
      "step": 0.01,
      "description": "Strength of the blocky temporal smear."
    },
    {
      "id": "blockCount",
      "label": "Block Count",
      "type": "vec2",
      "default": [
        32,
        18
      ],
      "min": [
        2,
        2
      ],
      "max": [
        160,
        120
      ],
      "step": [
        1,
        1
      ],
      "description": "Number of glitch blocks across X and Y."
    },
    {
      "id": "tearAmount",
      "label": "Tear",
      "type": "float",
      "default": 0.18,
      "min": 0,
      "max": 1,
      "step": 0.01,
      "description": "Horizontal scanline tearing intensity."
    },
    {
      "id": "chromaShift",
      "label": "Chroma Shift",
      "type": "float",
      "default": 1.8,
      "min": 0,
      "max": 12,
      "step": 0.1,
      "description": "Separate color-channel offset in pixels."
    }
  ]
}
