---
title: "coverage.angular"
description: "A clock hand sweeping around `center`."
group: "effects"
groupTitle: "Filters & effects"
categoryId: "effects.reveal"
categorySlug: "effects-reveal"
categoryTitle: "Reveals & wipes"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/effects/reveal.ts#L198"
---

# coverage.angular

A clock hand sweeping around `center`.

```ts
coverage.angular(
  center: ArgSpec,
  startDeg: ArgSpec,
  direction: PropRef | AngularDirection,
): Coverage
```

Import `effects` from `shaders/std` and use `effects.reveal.coverage.angular`.

`startDeg` is where the sweep begins, in degrees. `direction` is `'cw'`, `'ccw'` or `'both'` (two hands opening from the start and meeting opposite it), either as a literal or as a select prop declared `compileTime: true`.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `center` | `ArgSpec` |  |
| `startDeg` | `ArgSpec` |  |
| `direction` | `PropRef \| AngularDirection` |  |

## Example

```ts
coverage: coverage.angular(p('center'), p('startAngle'), p('direction'))
```

## See also

- [`coverage.radial`](/docs/primitives/effects-reveal/coverage-radial) — A circle growing out from `center`, an iris wipe.
- [`coverage.directional`](/docs/primitives/effects-reveal/coverage-directional) — A straight edge sweeping across the canvas.

## Used by

[RadialWipe](/docs/components/radialwipe)