Post-Processing

RGB Glitch

RGB Glitch creates animated color channel separation effects, simulating digital signal corruption or VHS tracking errors. The channels shift and separate randomly.

Example Configuration

rgb-glitch.json
{
  "effect": {
    "postProcesses": [
      {
        "id": "pp_rgb_glitch",
        "type": "rgb-glitch",
        "enabled": true,
        "settings": {
          "intensity": 0.05,
          "frequency": 1
        }
      }
    ]
  }
}

Settings

PropertyTypeRangeDefaultDescription
intensitynumber0-10.05Glitch intensity/strength
frequencynumber0-51How often glitches occur

Suggested Presets

StyleSettings
Subtle Glitchintensity: 0.02, frequency: 0.5
VHS Trackingintensity: 0.05, frequency: 1
Digital Corruptionintensity: 0.1, frequency: 2
Heavy Glitchintensity: 0.5, frequency: 3

API Usage

render-request.json
POST /api/v1/render
{
  "state": {
    "canvas": {
      "aspectRatio": "16:9",
      "backgroundColor": "#1a1a1a"
    },
    "layers": [...],
    "selectedLayerId": null,
    "effect": {
      "effectId": "ascii-standard",
      "enabled": true,
      "postProcesses": [
        {
          "id": "pp_1",
          "type": "rgb-glitch",
          "enabled": true,
          "settings": {
            "intensity": 0.1,
            "frequency": 2
          }
        }
      ]
    }
  },
  "format": "png",
  "width": 1920,
  "height": 1080
}

Tips

  • Combine with chromatic aberration for enhanced effect
  • Lower frequency creates more intermittent glitches
  • Works great with scanlines for VHS aesthetic
  • Use with noise for complete digital corruption look
  • High intensity values create dramatic, stylized effects