Reference: Add ref

This commit is contained in:
Starbeamrainbowlabs 2021-07-13 00:56:10 +01:00
parent 03038689e2
commit 643e1a2dce
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -519,7 +519,7 @@ Algorithm | Description
`perlin` | Perlin noise. Functional, but currently contains artefacts I'm having difficulty tracking down. `perlin` | Perlin noise. Functional, but currently contains artefacts I'm having difficulty tracking down.
`sin` | A sine wave created with `math.sin()`. `sin` | A sine wave created with `math.sin()`.
`white` | Random white noise. `white` | Random white noise.
`red` | Red noise - has a lower frequency than white noise. `red` | Red noise - has a lower frequency than white noise. Ref [Noise Functions and Map Generation by Red Blob Games](https://www.redblobgames.com/articles/noise/introduction.html).
`infrared` | Even smoother than red noise. Tends to also be quite flat unless you use a slightly higher `apply` value (e.g. `20`). `infrared` | Even smoother than red noise. Tends to also be quite flat unless you use a slightly higher `apply` value (e.g. `20`).
When specifying algorithm names, the `algorithm` parameter name is optional. For example, the following are both equivalent: When specifying algorithm names, the `algorithm` parameter name is optional. For example, the following are both equivalent: