---
title: "radial"
description: "Copies around a circle centred on the layer inside."
group: "effects"
groupTitle: "Filters & effects"
categoryId: "effects.instances"
categorySlug: "effects-instances"
categoryTitle: "Instances"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/effects/instances.ts#L93"
---

# radial

Copies around a circle centred on the layer inside.

```ts
radial(slots: RadialSlots): PlacementSpec
```

Import `effects` from `shaders/std` and use `effects.instances.radial`.

`sweep` at 360 spaces them evenly all the way round; smaller sweeps make an arc starting at `startAngle`.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `slots` | `RadialSlots` |  |

## Example

```ts
placement: radial({count: p('count'), radius: p('radius'), startAngle: p('startAngle'), sweep: p('sweep'), faceCenter: p('faceCenter')})
```

## See also

- [`grid`](/docs/primitives/effects-instances/grid) — Copies in rows and columns, filling this layer's bounding box.
- [`line`](/docs/primitives/effects-instances/line) — Copies in a row, marching away from the layer inside in one direction.
- [`byMode`](/docs/primitives/effects-instances/bymode) — Lets one select prop switch between a grid, a radial and a linear layout.

## Used by

[Repeater](/docs/components/repeater)