Skip to main content

Module biomes

Module biomes 

Source
Expand description

Biome placement and ecological simulation.

Implements the Whittaker biome classification diagram, biome blending, vegetation density maps, rock/soil type assignment, river carving, lake filling, and coastline detection.

Structs§

BiomeBlend
Blending weights at a cell boundary.
BiomeMap
Full biome classification for a terrain.
BiomePlacer
Generates a full biome map from a heightmap.
BiomeStats
Summary statistics for a biome map.
ClimateCell
Per-cell climate data used for biome classification.
ClimateGenerator
Generates climate maps from a heightmap.
CoastlinePoint
A single point on a coastline contour.
SoilAssigner
Assign soil types based on altitude and biome.
VegetationDensityMap
Per-cell vegetation density values.
WhittakerClassifier
Classify a biome using the Whittaker biome diagram.

Enums§

BiomeKind
All biome types derived from the Whittaker biome diagram.
CoastFacing
Which direction the coast faces.
SoilType
Rock and soil type for a terrain cell.

Functions§

detect_coastline
Detect coastline cells (land cells adjacent to ocean).