Effects / Glitch

Glitch Digital

The Digital effect simulates digital video corruption, compression artifacts, and data errors. It creates block-based distortion, pixelation, and line tears that look like corrupted digital video or broken JPEG compression.

glitch-digitalFree

Effect ID: glitch-digital

Example Configuration

glitch-digital.json
{
  "effectId": "glitch-digital",
  "glitch": {
    "blockSize": 0.5,
    "displacement": 0.5,
    "blockOpacity": 0.3,
    "colorSplit": 0.3,
    "lineTear": 0.4,
    "pixelate": 0.2
  }
}

Settings

PropertyTypeDefaultDescription
blockSizenumber0.5Amount of glitch blocks (0-1)
displacementnumber0.5Block displacement amount (0-2)
blockOpacitynumber0.3Opacity of displaced blocks (0-1)
colorSplitnumber0.3RGB channel separation (0-2)
lineTearnumber0.4Horizontal line tear effect (0-2)
pixelatenumber0.2Pixelation artifact amount (0-2)

Effect Components

The Digital glitch effect simulates various digital artifacts:

  • Block Corruption - Random blocks show displaced or corrupted data
  • Pixelation - Localized areas become pixelated/mosaic
  • Line Tears - Horizontal bands shift left/right
  • Color Shift - RGB channels become misaligned in corrupted areas

Digital vs VHS

AspectDigitalVHS
EraModern digitalAnalog tape
Distortion typeBlock-based, sharpSmooth, wavy
Best forTech/cyber aestheticsRetro/nostalgic feel

API Usage

render-request.json
POST /api/v1/render
{
  "state": {
    "canvas": {
      "aspectRatio": "16:9",
      "backgroundColor": "#1a1a1a"
    },
    "layers": [...],
    "selectedLayerId": null,
    "effect": {
      "effectId": "glitch-digital",
      "enabled": true,
      "glitch": {
        "blockSize": 0.6,
        "displacement": 0.6,
        "blockOpacity": 0.4,
        "colorSplit": 0.4,
        "lineTear": 0.5,
        "pixelate": 0.3
      }
    }
  },
  "format": "png",
  "width": 1920,
  "height": 1080
}

Tips

  • Larger blockSize creates more dramatic, visible corruption
  • Combine with pixelate post-processing for extra digital feel
  • Works great for cyberpunk and tech-themed visuals
  • Animate intensity for dynamic glitch transitions
  • Lower values create subtle "compression artifact" look