File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11---
22layout : post
3- title : " noise_mode "
3+ title : " Noise Modes "
44---
55
66### Name ###
77
88There 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
6060Currently 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 ###
You can’t perform that action at this time.
0 commit comments