# @dioramajs/media/glitch

Exports of @dioramajs/media/glitch.

## Functions and values

- [chance](/docs/api/media-glitch/chance.md): A uniform random number in [0, 1) for the seed and two counters: the same on every load.
- [default](/docs/api/media-glitch/default.md): Digital glitch on an image or video: blocks of it slide sideways, its color channels split, scanlines flicker and static flashes, in short bursts on hover, on a timer, with scroll speed or once as it first shows. At rest the copy is the image as it is.
- [strike](/docs/api/media-glitch/strike.md): The strength of step `n` of burst `burst`, 0..1, at `t` of its length: the first step hits in full, some later ones drop out so the picture stutters back, and the rest fade a little.
