distortedScanlines

CRT-style scanlines that appear only where a glitch frame is currently distorting.

distortedScanlines(frame: GatherFrame, opts: {intensity: ArgSpec}): OverlayStage

Import effects from shaders/std and use effects.blurs.distortedScanlines.

intensity (0–1) is how visible they are.

Parameters

NameTypeNotes
frameGatherFrame
opts{intensity: ArgSpec}

Example

distortedScanlines(glitch, {intensity: p('scanlineIntensity')})

See also

  • glitchFrame — The shared geometry of a digital glitch: when bursts fire, which horizontal bands jitter, and which blocks shift or flip.
  • scanlines — Horizontal scanlines darkening the child in a smooth wave.

Used by

Glitch