Skip to main content

Module normal_noise

Module normal_noise 

Source
Expand description

Normal (Double Perlin) noise implementation matching vanilla Minecraft’s NormalNoise.java

This combines two PerlinNoise samplers with slightly different coordinate scaling to create smoother, more natural-looking noise. It’s used for biome climate parameters.

Structs§

NormalNoise
Normal (Double Perlin) noise generator.

Constants§

INPUT_FACTOR
Input factor for the second Perlin sampler.
VALUE_FACTOR_NUMERATOR 🔒
Value factor numerator matching vanilla’s inline literal 0.16666666666666666 (1/6).

Functions§

expected_deviation 🔒
Calculate the expected deviation for a given octave span.