# spiralBlur

function in `@dioramajs/diorama/kit`

```ts
import { spiralBlur } from '@dioramajs/diorama/kit'
```

A soft blur: the mean of `taps` reads on a golden-angle spiral over the disc of `radius` (in
the units of `uv`) around `uv`. `turn` rotates the spiral; turned per pixel, the taps read as
grain instead of ghost copies. One tap reads `uv` itself.

```ts
function spiralBlur(
  read: (uv: Node<'vec2'>) => Node<'vec4'>,
  uv: Node<'vec2'>,
  radius: Node<'vec2'>,
  taps: number,
  turn?: Node<'float'>,
): Node<'vec4'>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `read` | `(uv: Node<'vec2'>) => Node<'vec4'>` |  |
| `uv` | `Node<'vec2'>` |  |
| `radius` | `Node<'vec2'>` |  |
| `taps` | `number` |  |
| `turn?` | `Node<'float'>` |  |

Also exported from `@dioramajs/effects/kit`.

Defined in [packages/effects/src/kit.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/kit.ts#L571).
