---
title: "noiseField"
description: "A field of smooth noise in the chosen flavor."
group: "paint"
groupTitle: "Painting"
categoryId: "paint"
categorySlug: "paint"
categoryTitle: "Fields, palettes & ramps"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/fields.ts#L506"
---

# noiseField

A field of smooth noise in the chosen flavor.

```ts
noiseField(basis: NoiseBasis): Field
```

Import `paint` from `shaders/std` and use `paint.noiseField`.

Noise needs a 3D coordinate, so put it inside `scaledVolume` (and `warped` for motion).

## Parameters

| Name | Type | Notes |
|---|---|---|
| `basis` | `NoiseBasis` |  |

## Example

```ts
paint: rampOver(scaledVolume(noiseField('mx3'), {scale: p('scale')}), stops(p('colorSpace')))
```

## See also

- [`scaledVolume`](/docs/primitives/paint/scaledvolume) — Gives a noise field a zoomable, aspect-correct coordinate.
- [`warped`](/docs/primitives/paint/warped) — Makes a field flow like liquid by bending its coordinate with moving noise.
- [`tone`](/docs/primitives/paint/tone) — Reshapes a 0–1 field with glow, contrast and balance controls, then flips it.

## Used by

[BlockNoise](/docs/components/blocknoise), [PerlinNoise](/docs/components/perlinnoise), [Plasma](/docs/components/plasma), [SimplexNoise](/docs/components/simplexnoise)