#### <sup>[Ollin](../../index.md) → [Examples](../index.md) → Randomness</sup>

---

## Randomness

| [![Gaussian](https://media.ollin.art/examples/Randomness/Gaussian/still-640.jpg?v=c4e90af6)](gaussian.md) | [![NoiseField](https://media.ollin.art/examples/Randomness/NoiseField/still-640.jpg?v=801ed839)](noisefield.md) | [![NoiseKinds](https://media.ollin.art/examples/Randomness/NoiseKinds/still-640.jpg?v=72d1a7b4)](noisekinds.md) | [![NoiseWave](https://media.ollin.art/examples/Randomness/NoiseWave/still-640.jpg?v=286d2d6b)](noisewave.md) |
|---|---|---|---|
| [Gaussian](gaussian.md) | [NoiseField](noisefield.md) | [NoiseKinds](noisekinds.md) | [NoiseWave](noisewave.md) |
| [![RandomBand](https://media.ollin.art/examples/Randomness/RandomBand/still-640.jpg?v=aa31e192)](randomband.md) | [![Ring](https://media.ollin.art/examples/Randomness/Ring/still-640.jpg?v=915f39b9)](ring.md) | [![TilingNoise](https://media.ollin.art/examples/Randomness/TilingNoise/still-640.jpg?v=d3c2a077)](tilingnoise.md) | [![Variations](https://media.ollin.art/examples/Randomness/Variations/still-640.jpg?v=0b359eb2)](variations.md) |
| [RandomBand](randomband.md) | [Ring](ring.md) | [TilingNoise](tilingnoise.md) | [Variations](variations.md) |
| [![Walk](https://media.ollin.art/examples/Randomness/Walk/still-640.jpg?v=eb2a85d6)](walk.md) |  |  |  |
| [Walk](walk.md) |  |  |  |

`random`, Perlin `noise`, and the scatter helpers. All of them take a seed, so a run can be repeated exactly.

| Example | What it shows |
|---|---|
| [Gaussian](gaussian.md) | 2000 dots a frame, placed by `randomGaussian`, so the bell curve becomes visible |
| [NoiseField](noisefield.md) | an 80×80 grid shaded by 3D Perlin `noise`, and the mouse scrubs through the field |
| [NoiseKinds](noisekinds.md) | the noise kinds side by side on one seeded field: `simplexNoise`, `signedSimplexNoise` split at zero, `worley` with its feature and jitter exposed as parameters, and `turbulence` |
| [NoiseWave](noisewave.md) | a wave of dots offset by `signedNoise`, which is smooth, as the noise counterpart to RandomBand |
| [TilingNoise](tilingnoise.md) | one tile laid down nine times, once from `fbm` and once from `tilingFbm`, so you can see the seams and where they disappear |
| [RandomBand](randomband.md) | a band of dots jittered by `random`, which is jagged, and the mouse re-rolls it |
| [Ring](ring.md) | dots scattered in an annulus by `randomVector(innerRadius:outerRadius:)`, relative to `scale`, so the ring keeps its proportion |
| [Variations](variations.md) | a whole composition per seed, which you explore from the inspector's Variation card and proof as a range with `--export-grid` |
| [Walk](walk.md) | a seeded random walk that the clock reveals over time, and a click starts a fresh walk in a `randomChoice` color |

Run one with `swift run Example-Randomness-<Name>`, for example `swift run Example-Randomness-NoiseField`.
