# @dioramajs/media/carousel

Exports of @dioramajs/media/carousel.

## Functions and values

- [default](/docs/api/media-carousel/default.md): The images of a container on a 3D ring that turns with a drag, a sideways wheel, keys, the page scroll or by itself, the front picture enlarged; a click on a picture turns it to the front, a click on the front one follows its link. Autoplay comes with a pause button and holds under the pointer and focus. Fires `dio:index` when a picture reaches the front.
- [onRing](/docs/api/media-carousel/on-ring.md): The place on a ring of `radius` px at `theta` radians from the front.
- [ringRadius](/docs/api/media-carousel/ring-radius.md): Radius that keeps `count` cards `width` px wide apart by `spacing` widths, px.

## Types

- [CarouselStyle](/docs/api/media-carousel/types/carousel-style.md): Where the viewer stands: before a ring of pictures, or inside one.
- [RingPose](/docs/api/media-carousel/types/ring-pose.md): A card's place on the ring at angle `theta` from the front, radians.
