---
title: "radialFrame"
description: "The frame for a burst, halo or sweep around a center prop."
group: "light"
groupTitle: "Noise, light & materials"
categoryId: "light"
categorySlug: "light"
categoryTitle: "Light"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/light.ts#L190"
---

# radialFrame

The frame for a burst, halo or sweep around a center prop.

```ts
radialFrame(center: PropRef): LightValue
```

Import `light` from `shaders/std` and use `light.radialFrame`.

Gives each pixel its distance and angle from the center as `vec2(dist, angle)`. Distance is in aspect-corrected uv (0.5 is half the canvas height), the angle in radians. `center` is a position prop. Evaluate parts in it with `withFrame`.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `center` | `PropRef` |  |

## Example

```ts
coverage: withFrame(radialFrame(p('center')), modulate(rayLobes({count: p('rays'), spin: -1, sharpness: 4}), featherMask({radius: p('radius'), feather: 0.5})), 'burst')
```

## See also

- [`withFrame`](/docs/primitives/light/withframe) — Evaluate a light part in a frame.
- [`seamlessRadialFrame`](/docs/primitives/light/seamlessradialframe) — The frame `noiseRays` needs: a radial frame around a center prop with no visible seam.
- [`beamFrame`](/docs/primitives/light/beamframe) — The frame of a beam that starts at an anchor prop and points at the canvas center.

## Used by

[SunBurst](/docs/components/sunburst)