---
title: "distortedScanlines"
description: "CRT-style scanlines that appear only where a glitch frame is currently distorting."
group: "effects"
groupTitle: "Filters & effects"
categoryId: "effects.blurs"
categorySlug: "effects-blurs"
categoryTitle: "Blurs, glows & screens"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/effects/blurs.ts#L735"
---

# distortedScanlines

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

```ts
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

| Name | Type | Notes |
|---|---|---|
| `frame` | `GatherFrame` |  |
| `opts` | `{intensity: ArgSpec}` |  |

## Example

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

## See also

- [`glitchFrame`](/docs/primitives/effects-blurs/glitchframe) — The shared geometry of a digital glitch: when bursts fire, which horizontal bands jitter, and which blocks shift or flip.
- [`scanlines`](/docs/primitives/effects-blurs/scanlines) — Horizontal scanlines darkening the child in a smooth wave.

## Used by

[Glitch](/docs/components/glitch)