Skip to main content

Module biome

Module biome 

Source
Expand description

Biome classification, climate simulation, and biome-driven parameters.

Implements a Whittaker biome diagram classifier driven by temperature, humidity, altitude, and slope. Also provides a climate simulator that derives these parameters from a heightmap using atmospheric physics.

Structs§

BiomeAdjacency
Tracks which biomes border each other in a map.
BiomeClassifier
Classifies a location into a BiomeType based on BiomeParams.
BiomeColor
Color palette for a biome.
BiomeMap
A 2D map of biome assignments.
BiomeNoiseVariator
Adds noise variation to biome parameters for more organic transitions.
BiomeParams
Input parameters for biome classification.
BiomeStats
Statistics about biome distribution in a region.
BiomeSuccession
Models how biomes transition over time (ecological succession).
BiomeTransitionMap
A map where each cell stores the blend factor between its biome and its neighbors.
ClimateMap
Output of the climate simulator: temperature and humidity maps.
ClimateSimulator
Simulates climate across a terrain given a heightmap.
PrecipitationPattern
Models seasonal precipitation patterns for a biome.
RiverSimulator
Simulates rivers as paths of high precipitation runoff.
SeasonFactor
Describes how a biome changes by season.
TemperatureRange
Monthly temperature range for a biome.
TransitionZone
Describes the blend zone between two adjacent biomes.
VegetationDensity
Vegetation density parameters for a biome.

Enums§

BiomeType
All supported biome types. Each represents a distinct ecological zone.
ClimateZone
Major climate zone classification (Koppen simplified).

Functions§

biome_from_index