# ringRadius

function in `@dioramajs/media/carousel`

```ts
import { ringRadius } from '@dioramajs/media/carousel'
```

Radius that keeps `count` cards `width` px wide apart by `spacing` widths, px.

```ts
function ringRadius(count: number, width: number, spacing: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `count` | `number` |  |
| `width` | `number` |  |
| `spacing` | `number` |  |

Defined in [packages/media/src/carousel.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/carousel.ts#L61).
