# @dioramajs/media/polaroids

Exports of @dioramajs/media/polaroids.

## Functions and values

- [default](/docs/api/media-polaroids/default.md): The images of a container as prints scattered on a table, each at a seeded angle: drag one to move it to the top, click one to bring it forward, click the top one to hold it up large (or follow its link). Fires `dio:index` when a print comes on top and `dio:open` when one is held up or put back.
- [layout](/docs/api/media-polaroids/layout.md): Where the prints lie on a `width` x `height` table, the same for a seed on every load. `sizes` are the prints, `at` the centres of their images in the page (for `grid`). `rotate` in degrees, `spread` 0..1 how far they stray from their places.

## Types

- [PolaroidsStyle](/docs/api/media-polaroids/types/polaroids-style.md): How the prints lie on the table.
- [Spot](/docs/api/media-polaroids/types/spot.md): Where a print lies: its centre px from the box centre (y up), its turn in radians.
