# Look

interface in `@dioramajs/text/text-glitch`

```ts
import type { Look } from '@dioramajs/text/text-glitch'
```

How a style breaks the text. Distances are in em, so a heading and a label break alike.

```ts
interface Look
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `density` | `number` | Share of the slabs struck at full strength. |
| `depth` | `number` | Largest jump towards or away from the viewer, em. |
| `extrude` | `number` | Thickness of the block a struck slab becomes, em; 0 keeps it flat. |
| `lean` | `number` | Lean of the whole line around its horizontal axis, radians: vhs leans back. |
| `noise` | `number` | Static mixed into struck slabs. |
| `rows` | `number` | Slabs per `slices`: big blocks for slice, many thin lines for vhs. |
| `shift` | `number` | Largest sideways jump of a struck slab, em. |
| `split` | `number` | Scale of the color split. |
| `tilt` | `number` | Turn of the whole line around its vertical axis, radians: the color layers part. |
| `trail` | `number` | Scanline copies trailing behind the text, the hologram of vhs. |
| `turn` | `readonly [number, number]` | Largest turn of a struck slab around its horizontal and vertical axes, radians. |
| `warp` | `number` | Tape warp: the line bends in depth and sideways, em. |

Defined in [packages/text/src/text-glitch.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/text-glitch.ts#L51).
