Skip to main content

Module simplex_noise

Module simplex_noise 

Source
Expand description

Simplex noise implementation matching vanilla Minecraft’s SimplexNoise.java.

Used by the End islands density function for terrain generation in The End dimension. Supports 2D and 3D sampling with the same gradient vectors as Perlin noise.

Structs§

SimplexNoise
Simplex noise generator matching vanilla’s SimplexNoise.java.

Constants§

F2 🔒
Skewing factor for 2D simplex: 0.5 * (sqrt(3) - 1)
G2 🔒
Unskewing factor for 2D simplex: (3 - sqrt(3)) / 6
SQRT_3 🔒