---
title: "APERTURE_TO_HALF_ANGLE"
description: "The factor that turns an opening angle in degrees into the half-angle `arc` takes."
group: "space"
groupTitle: "Shapes, frames & warps"
categoryId: "shape"
categorySlug: "shape"
categoryTitle: "Shapes"
kind: "constant"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/shape.ts#L256"
---

# APERTURE_TO_HALF_ANGLE

The factor that turns an opening angle in degrees into the half-angle `arc` takes.

```ts
APERTURE_TO_HALF_ANGLE: 0.008726646259971648
```

Import `shape` from `shaders/std` and use `shape.APERTURE_TO_HALF_ANGLE`.

Multiply a 0–360 aperture prop by it. It equals π/360.

## Example

```ts
distance: ({x, y}, u) => arc(x, y, u('radius'), math.mul(u('aperture'), APERTURE_TO_HALF_ANGLE))
```

## See also

- [`arc`](/docs/primitives/shape/arc) — A pie wedge: a filled sector of a circle.

## Used by

[Arc](/docs/components/arc)