feat: move biomes code to a separate module, reduce deserts amount

This commit is contained in:
Azgaar 2023-08-11 14:31:08 +04:00
parent 71cc739b4d
commit 1bb90251cd
9 changed files with 185 additions and 135 deletions

View file

@ -215,7 +215,7 @@ window.Submap = (function () {
// biome calculation based on (resampled) grid.cells.temp and prec
// it's safe to recalculate.
stage("Regenerating Biome.");
defineBiomes();
Biomes.define();
// recalculate suitability and population
// TODO: normalize according to the base-map
rankCells();