---
title: "waveletBands"
description: "Rotating bands of wavelets: layered ripples that turn against each other, a watery interference look."
group: "light"
groupTitle: "Noise, light & materials"
categoryId: "noise"
categorySlug: "noise"
categoryTitle: "Noise"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/noise.ts#L552"
---

# waveletBands

Rotating bands of wavelets: layered ripples that turn against each other, a watery interference look.

```ts
waveletBands(slots: {detail: PropRef}): Field
```

Import `noise` from `shaders/std` and use `noise.waveletBands`.

`detail` is the frequency ratio between the four layers (1.05 to 2, default 1.24; higher adds finer ripples). The bands slide on the layer's clock. Signed, about −1 to 1: wrap it in `unitized` before a tone word. Takes a 2D position.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `slots` | `{detail: PropRef}` |  |

## Example

```ts
paint: rampOver(noiseTone(seededPlane(unitized(waveletBands({detail: p('detail')})), {scale: p('scale'), seed: p('seed')}), {contrast: p('contrast'), balance: p('balance')}), stops(p('colorSpace')))
```

## See also

- [`gaborGrains`](/docs/primitives/noise/gaborgrains) — Oriented sine grains: short striped patches, each facing a random way, like brushed metal or wood grain.
- [`unitized`](/docs/primitives/noise/unitized) — Turns a signed field (−1 to 1) into a unit field (0 to 1).

## Used by

[WaveletNoise](/docs/components/waveletnoise)