# @dioramajs/media/frost

Exports of @dioramajs/media/frost.

## Functions and values

- [default](/docs/api/media-frost/default.md): Frosted glass over a photo, or a pane of ice over the page on `<body>` (over its box on any other element). The pointer wipes it clear and it fogs back by itself, or it clears from the pointer on hover, as it comes into view or as the page scrolls. `cover` freezes the glass from the edges and thaws it from a point. `steam` is a fogged mirror with droplets instead of ice.
- [reach](/docs/api/media-frost/reach.md): Distance from (`x`, `y`) to the farthest corner of a `width` × `height` box, px.
- [Wipe](/docs/api/media-frost/wipe.md): Where the glass is wiped clear: `size` × `size` cells over the box, each 0 (fogged) to 1 (clear), y up. A stroke clears a band along the pointer's path; each step the clear areas fog back over `refog` seconds. Deterministic: the same strokes and steps give the same mask.
