Skip to content

Commit 431f5a6

Browse files
committed
Clean up
1 parent 034da22 commit 431f5a6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/_methods/noise_modes.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: post
3-
title: "noise_mode"
3+
title: "Noise Modes"
44
---
55

66
### Name ###
77

88
There are two noise modes available in PiCrate, both base on KdotJPG java noise.
9-
The default mode is a FastNoise module, the other SmoothNoise module can be used using the module name as a prefix see example below.
9+
The default noise uses the FastNoise module, the SmoothNoise module can be used using the module name as a prefix see example below.
1010

1111

1212
### Examples ###
@@ -58,15 +58,14 @@ TestNoise.new
5858
### Description ###
5959

6060
Currently supports four implementations of noise:-
61-
1. DEFAULT # fast classic OpenSimplex2
62-
2. OPEN_SMOOTH # smoother class OpenSimplex2F
63-
3. FAST_TERRAIN # more suited to terrain
64-
4. SMOOTH_TERRAIN # as above but smoother
61+
1. Default is classic OpenSimplex2
62+
2. SmoothNoise use smoother class OpenSimplex2F
63+
3. Use tnoise instead of noise for a noise mode more suited to terrain
6564

6665
### Syntax ###
6766

6867
```ruby
69-
noise_mode(mode) # default is NoiseMode::DEFAULT, a fast classic OpenSimplex2
68+
SmoothNoise.noise(...) # no prefix for fast classic OpenSimplex2
7069
```
7170

7271
### Related ###

0 commit comments

Comments
 (0)