# Sandbox.Utility.Noise.Simplex

## Overload 1

```csharp
static float Simplex(float x, float y = 0)
```

2D Simplex noise function.
For a thread-safe alternative with more options, use [Sandbox.Utility.Noise.SimplexField](/api/Sandbox.Utility.Noise/SimplexField).

### Parameters

- `x` (`float`): Input on the X axis.
- `y` (`float`), default `0`: Input on the Y axis.

### Returns

`float`: Resulting noise at given coordinates, in range of 0 to 1.

## Overload 2

```csharp
static float Simplex(float x, float y, float z)
```

3D Simplex noise function.
For a thread-safe alternative with more options, use [Sandbox.Utility.Noise.SimplexField](/api/Sandbox.Utility.Noise/SimplexField).

### Parameters

- `x` (`float`): Input on the X axis.
- `y` (`float`): Input on the Y axis.
- `z` (`float`): Input on the Z axis.

### Returns

`float`: Resulting noise at given coordinates, in range of 0 to 1.

Declared in [Sandbox.Utility.Noise](/api/Sandbox.Utility.Noise).
Assembly: `Sandbox.System`.
