StaticgenerateGenerates a heightmap using the Diamond-Square algorithm as an ImageBitmap.
Size = 2^detail + 1.
The roughness factor.
A promise resolving to an ImageBitmap.
StaticgenerateGenerates a heightmap as a Float32Array using the Diamond-Square algorithm.
Size = 2^detail + 1.
The roughness factor.
Optionalseed: stringOptional seed for random generation.
A promise resolving to a Float32Array.
StaticgenerateGenerates a heightmap using Perlin noise.
Size = 2^detail + 1.
Noise scale.
X offset.
Y offset.
Number of octaves.
Persistence factor.
A promise resolving to a Float32Array.
StaticgenerateGenerates a heightmap using Simplex noise.
Size = 2^detail + 1.
Noise scale.
X offset.
Y offset.
Number of octaves.
Persistence factor.
A promise resolving to a Float32Array.
Utility class for heightmap generation using various algorithms.