webgpu-biome 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +89 -2
- package/lib/canopy.d.ts +75 -0
- package/lib/canopy.d.ts.map +1 -0
- package/lib/canopy.js +295 -0
- package/lib/canopy.js.map +1 -0
- package/lib/climate.d.ts +68 -0
- package/lib/climate.d.ts.map +1 -0
- package/lib/climate.js +105 -0
- package/lib/climate.js.map +1 -0
- package/lib/detail.d.ts +55 -0
- package/lib/detail.d.ts.map +1 -0
- package/lib/detail.js +225 -0
- package/lib/detail.js.map +1 -0
- package/lib/ecotone.d.ts +166 -0
- package/lib/ecotone.d.ts.map +1 -0
- package/lib/ecotone.js +1007 -0
- package/lib/ecotone.js.map +1 -0
- package/lib/engine.d.ts +102 -0
- package/lib/engine.d.ts.map +1 -0
- package/lib/engine.js +773 -0
- package/lib/engine.js.map +1 -0
- package/lib/epiphytes.d.ts +19 -0
- package/lib/epiphytes.d.ts.map +1 -0
- package/lib/epiphytes.js +180 -0
- package/lib/epiphytes.js.map +1 -0
- package/lib/ground.d.ts +43 -0
- package/lib/ground.d.ts.map +1 -0
- package/lib/ground.js +450 -0
- package/lib/ground.js.map +1 -0
- package/lib/horizon.d.ts +20 -0
- package/lib/horizon.d.ts.map +1 -0
- package/lib/horizon.js +625 -0
- package/lib/horizon.js.map +1 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -0
- package/lib/particles.d.ts +12 -0
- package/lib/particles.d.ts.map +1 -0
- package/lib/particles.js +124 -0
- package/lib/particles.js.map +1 -0
- package/lib/post.d.ts +23 -0
- package/lib/post.d.ts.map +1 -0
- package/lib/post.js +225 -0
- package/lib/post.js.map +1 -0
- package/lib/recipe-specs.d.ts +51 -0
- package/lib/recipe-specs.d.ts.map +1 -0
- package/lib/recipe-specs.js +562 -0
- package/lib/recipe-specs.js.map +1 -0
- package/lib/recipes.d.ts +9 -0
- package/lib/recipes.d.ts.map +1 -0
- package/lib/recipes.js +279 -0
- package/lib/recipes.js.map +1 -0
- package/lib/sandbox.d.ts +183 -0
- package/lib/sandbox.d.ts.map +1 -0
- package/lib/sandbox.js +1060 -0
- package/lib/sandbox.js.map +1 -0
- package/lib/shadows.d.ts +71 -0
- package/lib/shadows.d.ts.map +1 -0
- package/lib/shadows.js +532 -0
- package/lib/shadows.js.map +1 -0
- package/lib/sky.d.ts +16 -0
- package/lib/sky.d.ts.map +1 -0
- package/lib/sky.js +132 -0
- package/lib/sky.js.map +1 -0
- package/lib/substrate.d.ts +124 -0
- package/lib/substrate.d.ts.map +1 -0
- package/lib/substrate.js +988 -0
- package/lib/substrate.js.map +1 -0
- package/lib/turf.d.ts +60 -0
- package/lib/turf.d.ts.map +1 -0
- package/lib/turf.js +278 -0
- package/lib/turf.js.map +1 -0
- package/lib/water.d.ts +41 -0
- package/lib/water.d.ts.map +1 -0
- package/lib/water.js +210 -0
- package/lib/water.js.map +1 -0
- package/package.json +63 -3
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
// Canonical ecological recipe specs and shared CPU solve helper for `webgpu-biome`.
|
|
2
|
+
// Pure ES2022 + `.ts` + `webgpu-trees` (zero runtime `"webgpu-grass"` import) so
|
|
3
|
+
// both Node (`mcp/studio.ts`, `node --test`) and the WebGPU engine solve the exact same world.
|
|
4
|
+
import { ALL_SPECIES } from "webgpu-trees";
|
|
5
|
+
import { DEFAULT_CLIMATE, evalPhenology } from "./climate.js";
|
|
6
|
+
import { solveBiomeStrata } from "./ecotone.js";
|
|
7
|
+
import { makePresetTerrain } from "./substrate.js";
|
|
8
|
+
export const DEFAULT_SOLVE_SETTINGS = {
|
|
9
|
+
terrainCell: 1,
|
|
10
|
+
mapCell: 0.5,
|
|
11
|
+
canopyCell: 2,
|
|
12
|
+
seed: 1337,
|
|
13
|
+
};
|
|
14
|
+
/** Canonical ecosystem solve shared between Biome Studio MCP and `createBiome`. */
|
|
15
|
+
export function solveRecipeBiome(spec, opts) {
|
|
16
|
+
const side = opts?.side ?? spec.defaultSide;
|
|
17
|
+
const day = opts?.day ?? spec.climate.day ?? DEFAULT_CLIMATE.day;
|
|
18
|
+
const seed = opts?.seed ?? DEFAULT_SOLVE_SETTINGS.seed;
|
|
19
|
+
const phenology = evalPhenology(day);
|
|
20
|
+
const grid = makePresetTerrain(spec.terrain, side, DEFAULT_SOLVE_SETTINGS.terrainCell);
|
|
21
|
+
const solved = solveBiomeStrata({
|
|
22
|
+
substrate: grid,
|
|
23
|
+
rules: opts?.rules ?? spec.rules,
|
|
24
|
+
treeSpecies: ALL_SPECIES,
|
|
25
|
+
mapCell: DEFAULT_SOLVE_SETTINGS.mapCell,
|
|
26
|
+
canopyCell: DEFAULT_SOLVE_SETTINGS.canopyCell,
|
|
27
|
+
foliageRetention: phenology.foliageRetention,
|
|
28
|
+
windHeading: spec.climate.windHeading,
|
|
29
|
+
seed,
|
|
30
|
+
rootHeave: true,
|
|
31
|
+
});
|
|
32
|
+
return { grid, solved, phenology, side, day, seed };
|
|
33
|
+
}
|
|
34
|
+
export const BIOME_ECOLOGY_SPECS = {
|
|
35
|
+
woodlandMeadow: {
|
|
36
|
+
id: "woodlandMeadow",
|
|
37
|
+
title: "Woodland Meadow",
|
|
38
|
+
shortTitle: "Woodland",
|
|
39
|
+
subtitle: "Oak & beech wood grading through a hawthorn mantle into wildflower meadows and a mown ride.",
|
|
40
|
+
terrain: "woodland-meadow",
|
|
41
|
+
defaultSide: 320,
|
|
42
|
+
climate: {
|
|
43
|
+
...DEFAULT_CLIMATE,
|
|
44
|
+
latitude: 55.7,
|
|
45
|
+
day: 172,
|
|
46
|
+
hour: 9.5,
|
|
47
|
+
windHeading: 245,
|
|
48
|
+
windSpeed: 4.0,
|
|
49
|
+
},
|
|
50
|
+
water: {
|
|
51
|
+
level: -1.75,
|
|
52
|
+
shallowColor: [0.08, 0.14, 0.08],
|
|
53
|
+
deepColor: [0.02, 0.045, 0.035],
|
|
54
|
+
clarity: 1.4,
|
|
55
|
+
ripple: 0.35,
|
|
56
|
+
},
|
|
57
|
+
mow: { width: 2.8, heading: 82 },
|
|
58
|
+
vista: [0, 82, 4.5, 0.08, -0.1],
|
|
59
|
+
views: {
|
|
60
|
+
edge: [-40, -28, 1.78, -3.14, -0.07],
|
|
61
|
+
under: [20, -28, 1.72, 0.45, 0.03],
|
|
62
|
+
floor: [5, 26, 0.62, 2.94, -0.2],
|
|
63
|
+
},
|
|
64
|
+
rules: {
|
|
65
|
+
treeSpacing: 6.8,
|
|
66
|
+
maxTrees: 950,
|
|
67
|
+
rockSlopeDeg: 32,
|
|
68
|
+
maxCanopyShelterForGrass: 0.72,
|
|
69
|
+
maxLitterForGrass: 0.76,
|
|
70
|
+
waterLevel: -1.75,
|
|
71
|
+
maxRocks: 650,
|
|
72
|
+
rocks: [
|
|
73
|
+
{ speciesId: "mossyWoodlandBoulder", mode: "outcrop", spacing: 8.5, colonyRadius: 9, weight: 1.0, niche: { moisture: [0.35, 0.85], elevation: [0.2, 12], maxSlopeDeg: 28 }, scaleRange: [0.75, 1.35] },
|
|
74
|
+
{ speciesId: "graniteErratic", mode: "outcrop", spacing: 18.0, colonyRadius: 12, weight: 0.65, niche: { elevation: [0.5, 12], maxSlopeDeg: 26 }, scaleRange: [0.8, 1.4] },
|
|
75
|
+
{ speciesId: "riverCobbles", mode: "streambed", spacing: 3.4, colonyRadius: 6, weight: 1.1, suppressesTurf: false, niche: { moisture: [0.72, 1.0], elevation: [-4, -1.15], maxSlopeDeg: 18 }, scaleRange: [0.7, 1.25] },
|
|
76
|
+
],
|
|
77
|
+
mownRow: 0,
|
|
78
|
+
pathFn(x, z) {
|
|
79
|
+
// Winding meadow ride + realistic double-rut woodland lane with a grassy center median.
|
|
80
|
+
const rideZ = 34 + 10 * Math.sin(x / 36) + 1.4 * Math.sin(x / 11);
|
|
81
|
+
const pathX = -14 + 9 * Math.sin(z / 28) + 1.2 * Math.cos(z / 9.5);
|
|
82
|
+
const dLane = Math.abs(x - pathX);
|
|
83
|
+
if (z < rideZ + 1.4 && dLane < 2.35 + 0.45 * Math.sin(z * 0.21)) {
|
|
84
|
+
const rutW = 0.46 + 0.1 * Math.sin(z * 0.31 + x * 0.19);
|
|
85
|
+
if (Math.abs(dLane - 0.98) < rutW)
|
|
86
|
+
return "bare";
|
|
87
|
+
return "mown";
|
|
88
|
+
}
|
|
89
|
+
const dRide = Math.abs(z - rideZ);
|
|
90
|
+
if (dRide < 3.15 + 0.5 * Math.sin(x * 0.14)) {
|
|
91
|
+
if (Math.abs(dRide - 1.05) < 0.42 && Math.sin(x * 0.08 + 0.4) > -0.25)
|
|
92
|
+
return "bare";
|
|
93
|
+
return "mown";
|
|
94
|
+
}
|
|
95
|
+
return null;
|
|
96
|
+
},
|
|
97
|
+
overstory: [
|
|
98
|
+
{ speciesName: "Oak", weight: 2.1, role: "canopy", niche: { moisture: [0.32, 0.78], soilPh: [0.42, 0.82], elevation: [-1, 10], maxSlopeDeg: 28 } },
|
|
99
|
+
{ speciesName: "Sweet chestnut", weight: 1.35, role: "canopy", niche: { moisture: [0.28, 0.68], soilPh: [0.3, 0.7], elevation: [1.0, 12], maxSlopeDeg: 28 } },
|
|
100
|
+
{ speciesName: "Beech", weight: 1.9, role: "canopy", niche: { moisture: [0.34, 0.72], soilPh: [0.45, 0.8], fertility: [0.42, 0.9], elevation: [1.5, 12], maxSlopeDeg: 30 } },
|
|
101
|
+
{ speciesName: "Silver birch", weight: 1.5, role: "pioneer", niche: { moisture: [0.22, 0.68], soilPh: [0.22, 0.72], elevation: [0.5, 12], maxSlopeDeg: 32 } },
|
|
102
|
+
{ speciesName: "Scots pine", weight: 2.2, role: "canopy", niche: { moisture: [0.15, 0.56], soilPh: [0.15, 0.52], elevation: [1.8, 12], maxSlopeDeg: 32 } },
|
|
103
|
+
{ speciesName: "Black alder", weight: 2.4, role: "canopy", niche: { moisture: [0.68, 1.0], fertility: [0.45, 1.0], elevation: [-4, 1.8], maxSlopeDeg: 22 } },
|
|
104
|
+
{ speciesName: "Crack willow", weight: 1.4, role: "canopy", niche: { moisture: [0.65, 1.0], elevation: [-4, 2.2], maxSlopeDeg: 24 } },
|
|
105
|
+
{ speciesName: "Hawthorn", weight: 1.3, role: "mantle", niche: { moisture: [0.3, 0.72], elevation: [0.4, 3.2], maxSlopeDeg: 26 } },
|
|
106
|
+
{ speciesName: "Blackthorn", weight: 1.0, role: "mantle", niche: { moisture: [0.32, 0.7], elevation: [0.6, 2.8], maxSlopeDeg: 24 } },
|
|
107
|
+
{ speciesName: "Elder", weight: 0.9, role: "mantle", niche: { moisture: [0.48, 0.85], fertility: [0.55, 1.0], elevation: [0.2, 2.8], maxSlopeDeg: 24 } },
|
|
108
|
+
],
|
|
109
|
+
maxFlora: 13500,
|
|
110
|
+
maxEpiphytes: 1800,
|
|
111
|
+
flora: [
|
|
112
|
+
{ speciesId: "bluebell", spacing: 0.82, colonyRadius: 11.5, weight: 1.15, minShelter: 0.25, niche: { moisture: [0.35, 0.8], fertility: [0.35, 0.9], maxSlopeDeg: 26 } },
|
|
113
|
+
{ speciesId: "woodAnemone", spacing: 0.9, colonyRadius: 9.0, weight: 1.0, minShelter: 0.3, niche: { moisture: [0.4, 0.85], soilPh: [0.35, 0.85], maxSlopeDeg: 24 } },
|
|
114
|
+
{ speciesId: "woodSorrel", spacing: 0.88, colonyRadius: 8.5, weight: 1.0, minShelter: 0.28, niche: { moisture: [0.35, 0.9], soilPh: [0.15, 0.75], maxSlopeDeg: 26 } },
|
|
115
|
+
{ speciesId: "ramsons", spacing: 0.96, colonyRadius: 11.0, weight: 1.05, minShelter: 0.35, niche: { moisture: [0.6, 0.98], fertility: [0.52, 1.0], maxSlopeDeg: 20 } },
|
|
116
|
+
{ speciesId: "ladyFern", spacing: 1.45, colonyRadius: 4.4, weight: 0.95, minShelter: 0.32, niche: { moisture: [0.5, 0.95], maxSlopeDeg: 28 } },
|
|
117
|
+
{ speciesId: "hartstongueFern", spacing: 1.4, colonyRadius: 3.6, weight: 0.85, minShelter: 0.28, niche: { moisture: [0.45, 0.9], maxSlopeDeg: 28 } },
|
|
118
|
+
{ speciesId: "forestSedge", spacing: 1.28, colonyRadius: 9.5, weight: 0.88, minShelter: 0.28, niche: { moisture: [0.42, 0.88], maxSlopeDeg: 26 } },
|
|
119
|
+
{ speciesId: "forestSedge", spacing: 0.82, colonyRadius: 7.5, weight: 1.35, emergentDepth: 0.25, maxAboveWater: 0.34, scaleRange: [1.2, 1.85], clonal: false, niche: { moisture: [0.55, 1.0], maxSlopeDeg: 22 } },
|
|
120
|
+
{ speciesId: "royalFern", spacing: 1.35, colonyRadius: 4.5, weight: 0.95, emergentDepth: 0.08, maxAboveWater: 0.6, scaleRange: [0.9, 1.35], niche: { moisture: [0.62, 1.0], maxSlopeDeg: 22 } },
|
|
121
|
+
{ speciesId: "bracken", spacing: 1.35, colonyRadius: 14.0, weight: 1.15, maxShelter: 0.58, niche: { soilPh: [0.1, 0.52], moisture: [0.2, 0.65], maxSlopeDeg: 28 } },
|
|
122
|
+
{ speciesId: "foxglove", spacing: 2.2, colonyRadius: 4.0, weight: 0.72, maxShelter: 0.55, niche: { light: [0.42, 0.92], soilPh: [0.15, 0.6], maxSlopeDeg: 28 } },
|
|
123
|
+
{ speciesId: "chanterelle", spacing: 1.9, colonyRadius: 2.4, weight: 0.85, minShelter: 0.3, minMycorrhiza: 0.35, niche: { moisture: [0.4, 0.82], maxSlopeDeg: 22 } },
|
|
124
|
+
{ speciesId: "flyAgaric", spacing: 2.6, colonyRadius: 2.8, weight: 0.78, minMycorrhiza: 0.4, niche: { soilPh: [0.1, 0.58], moisture: [0.3, 0.78], maxSlopeDeg: 22 } },
|
|
125
|
+
{ speciesId: "boletus", spacing: 2.8, colonyRadius: 2.8, weight: 0.72, minShelter: 0.25, minMycorrhiza: 0.38, niche: { moisture: [0.35, 0.78], maxSlopeDeg: 22 } },
|
|
126
|
+
{ speciesId: "inkcap", spacing: 2.1, colonyRadius: 2.2, weight: 0.75, minShelter: 0.2, niche: { moisture: [0.45, 0.9], fertility: [0.4, 1.0], maxSlopeDeg: 22 } },
|
|
127
|
+
{ speciesId: "nurseLog", spacing: 7.5, colonyRadius: 8.0, weight: 0.65, minShelter: 0.42, suppressesTurf: true, niche: { moisture: [0.32, 0.9], maxSlopeDeg: 20 } },
|
|
128
|
+
],
|
|
129
|
+
epiphytes: [
|
|
130
|
+
{ speciesId: "climbingIvy", hostSpecies: ["Oak", "Sweet chestnut", "Beech", "Black alder", "Ash"], attachment: "trunk-vine", chance: 0.48, minShelter: 0.25 },
|
|
131
|
+
{ speciesId: "tinderConk", hostSpecies: ["Silver birch", "Beech", "Black alder"], attachment: "trunk-shelf", chance: 0.28, minShelter: 0.3 },
|
|
132
|
+
{ speciesId: "sulphurShelf", hostSpecies: ["Oak", "Sweet chestnut"], attachment: "trunk-shelf", chance: 0.22, minShelter: 0.2 },
|
|
133
|
+
{ speciesId: "turkeyTail", hostSpecies: ["Oak", "Beech", "Silver birch"], attachment: "trunk-shelf", chance: 0.24, minShelter: 0.22 },
|
|
134
|
+
],
|
|
135
|
+
turf: [
|
|
136
|
+
{ row: 1, weight: 1.8, niche: { light: [0.55, 1.0], moisture: [0.58, 1.0], fertility: [0.5, 1.0] } },
|
|
137
|
+
{ row: 2, weight: 1.6, niche: { light: [0.62, 1.0], moisture: [0.28, 0.68], soilPh: [0.42, 0.95] } },
|
|
138
|
+
{ row: 3, weight: 1.5, niche: { light: [0.26, 0.72], moisture: [0.32, 0.82], soilPh: [0.35, 0.85] } },
|
|
139
|
+
{ row: 4, weight: 1.4, niche: { light: [0.22, 0.62], moisture: [0.18, 0.65] } },
|
|
140
|
+
{ row: 5, weight: 1.7, niche: { light: [0.35, 1.0], soilPh: [0.05, 0.44], moisture: [0.15, 0.6] } },
|
|
141
|
+
{ row: 6, weight: 1.6, niche: { light: [0.25, 0.75], moisture: [0.7, 1.0] } },
|
|
142
|
+
{ row: 7, weight: 1.5, niche: { light: [0.55, 1.0], moisture: [0.35, 0.72], soilPh: [0.48, 0.9] } },
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
danishCoastalHeath: {
|
|
147
|
+
id: "danishCoastalHeath",
|
|
148
|
+
title: "Danish Coastal Heath",
|
|
149
|
+
shortTitle: "Coastal Heath",
|
|
150
|
+
subtitle: "Wind-sculpted dunes, sea buckthorn & gorse scrub, coastal slacks, and Scots/Corsican pine shelterbelts.",
|
|
151
|
+
terrain: "coastal-dunes",
|
|
152
|
+
defaultSide: 320,
|
|
153
|
+
climate: {
|
|
154
|
+
...DEFAULT_CLIMATE,
|
|
155
|
+
latitude: 56.4,
|
|
156
|
+
day: 224,
|
|
157
|
+
hour: 16.5,
|
|
158
|
+
windHeading: 278,
|
|
159
|
+
windSpeed: 6.4,
|
|
160
|
+
atmosphere: { ...DEFAULT_CLIMATE.atmosphere, turbidity: 2.6, hazeDensity: 1.35, hazeScaleHeight: 160 },
|
|
161
|
+
},
|
|
162
|
+
water: {
|
|
163
|
+
level: -1.5,
|
|
164
|
+
shallowColor: [0.08, 0.17, 0.15],
|
|
165
|
+
deepColor: [0.02, 0.05, 0.06],
|
|
166
|
+
clarity: 1.6,
|
|
167
|
+
ripple: 0.5,
|
|
168
|
+
},
|
|
169
|
+
vista: [-22, -64, 5.2, -0.45, -0.12],
|
|
170
|
+
views: {
|
|
171
|
+
edge: [-48, -52, 1.78, 1.57, -0.07],
|
|
172
|
+
under: [-76, -56, 1.7, -0.45, 0.03],
|
|
173
|
+
floor: [31, 54, 0.62, 3.03, -0.2],
|
|
174
|
+
},
|
|
175
|
+
rules: {
|
|
176
|
+
treeSpacing: 7.4,
|
|
177
|
+
maxTrees: 700,
|
|
178
|
+
rockSlopeDeg: 25,
|
|
179
|
+
maxCanopyShelterForGrass: 0.68,
|
|
180
|
+
maxLitterForGrass: 0.72,
|
|
181
|
+
waterLevel: -1.5,
|
|
182
|
+
allowDryBareGround: true,
|
|
183
|
+
maxRocks: 750,
|
|
184
|
+
rocks: [
|
|
185
|
+
{ speciesId: "coastalGraniteOutcrop", mode: "outcrop", spacing: 11.0, colonyRadius: 10, weight: 1.0, niche: { exposure: [0.35, 1.0], elevation: [2.4, 16], maxSlopeDeg: 28 }, scaleRange: [0.75, 1.4] },
|
|
186
|
+
{ speciesId: "graniteErratic", mode: "outcrop", spacing: 16.0, colonyRadius: 10, weight: 0.7, niche: { soilPh: [0.05, 0.48], elevation: [2.0, 14], maxSlopeDeg: 26 }, scaleRange: [0.7, 1.25] },
|
|
187
|
+
{ speciesId: "peatHagBank", mode: "outcrop", spacing: 11.5, colonyRadius: 8, weight: 0.95, niche: { soilPh: [0.05, 0.44], moisture: [0.42, 0.92], maxSlopeDeg: 22 }, scaleRange: [0.8, 1.28] },
|
|
188
|
+
{ speciesId: "coastalShingle", mode: "streambed", spacing: 3.2, colonyRadius: 7, weight: 1.05, suppressesTurf: false, niche: { fertility: [0.0, 0.4], elevation: [-2.2, -0.95], maxSlopeDeg: 22 }, scaleRange: [0.75, 1.3] },
|
|
189
|
+
],
|
|
190
|
+
pathFn(x, z) {
|
|
191
|
+
// Parabolic wind-scoured quartz dune blowouts elongated along the westerly wind axis.
|
|
192
|
+
const wx = x + 6 * Math.sin(z / 16);
|
|
193
|
+
const wz = z + 5 * Math.cos(x / 22);
|
|
194
|
+
const parabolic = 0.55 * Math.sin(wx * 0.032 + 0.6) * Math.cos((wz + 26) * 0.075) +
|
|
195
|
+
0.3 * Math.sin(wx * 0.11 - wz * 0.14) +
|
|
196
|
+
0.15 * Math.cos((wx + wz) * 0.24);
|
|
197
|
+
if (z < 10 && parabolic > 0.44)
|
|
198
|
+
return "bare";
|
|
199
|
+
return null;
|
|
200
|
+
},
|
|
201
|
+
overstory: [
|
|
202
|
+
{ speciesName: "Corsican pine", weight: 2.0, role: "canopy", niche: { exposure: [0.1, 0.74], moisture: [0.14, 0.58], elevation: [2.2, 16], maxSlopeDeg: 28 } },
|
|
203
|
+
{ speciesName: "Scots pine", weight: 1.8, role: "canopy", niche: { exposure: [0.05, 0.68], soilPh: [0.1, 0.52], elevation: [2.6, 16], maxSlopeDeg: 28 } },
|
|
204
|
+
{ speciesName: "Silver birch", weight: 1.2, role: "pioneer", niche: { exposure: [0.0, 0.56], moisture: [0.35, 0.78], elevation: [1.5, 12], maxSlopeDeg: 26 } },
|
|
205
|
+
{ speciesName: "Sea buckthorn", weight: 2.2, role: "mantle", niche: { exposure: [0.3, 0.92], soilPh: [0.42, 0.9], elevation: [0.8, 9], maxSlopeDeg: 28 } },
|
|
206
|
+
{ speciesName: "Gorse", weight: 1.85, role: "mantle", niche: { exposure: [0.22, 0.85], soilPh: [0.15, 0.58], elevation: [1.2, 12], maxSlopeDeg: 28 } },
|
|
207
|
+
{ speciesName: "Scotch broom", weight: 1.4, role: "mantle", niche: { exposure: [0.15, 0.72], soilPh: [0.15, 0.52], elevation: [1.5, 12], maxSlopeDeg: 26 } },
|
|
208
|
+
],
|
|
209
|
+
maxFlora: 17500,
|
|
210
|
+
maxEpiphytes: 1400,
|
|
211
|
+
flora: [
|
|
212
|
+
{ speciesId: "heather", spacing: 0.72, colonyRadius: 17.5, weight: 2.6, maxShelter: 0.44, suppressesTurf: true, scaleRange: [0.94, 1.46], niche: { soilPh: [0.05, 0.52], moisture: [0.12, 0.68], exposure: [0.12, 0.88], maxSlopeDeg: 26 } },
|
|
213
|
+
{ speciesId: "bellHeather", spacing: 0.8, colonyRadius: 13.0, weight: 1.9, maxShelter: 0.42, suppressesTurf: true, scaleRange: [0.9, 1.4], niche: { soilPh: [0.05, 0.5], moisture: [0.1, 0.6], exposure: [0.16, 0.9], maxSlopeDeg: 26 } },
|
|
214
|
+
{ speciesId: "crowberry", spacing: 0.86, colonyRadius: 13.5, weight: 1.6, maxShelter: 0.4, suppressesTurf: true, scaleRange: [0.9, 1.38], niche: { exposure: [0.38, 0.96], soilPh: [0.05, 0.54], moisture: [0.1, 0.6], maxSlopeDeg: 28 } },
|
|
215
|
+
{ speciesId: "bilberry", spacing: 1.15, colonyRadius: 10.5, weight: 0.95, minShelter: 0.16, niche: { soilPh: [0.05, 0.46], moisture: [0.25, 0.75], maxSlopeDeg: 26 } },
|
|
216
|
+
{ speciesId: "bracken", spacing: 1.45, colonyRadius: 13.0, weight: 1.0, maxShelter: 0.6, niche: { soilPh: [0.05, 0.48], moisture: [0.25, 0.7], exposure: [0.05, 0.6], maxSlopeDeg: 26 } },
|
|
217
|
+
{ speciesId: "cottonGrassTussock", spacing: 1.35, colonyRadius: 10.5, weight: 0.95, maxShelter: 0.32, niche: { moisture: [0.65, 1.0], soilPh: [0.05, 0.5], maxSlopeDeg: 18 } },
|
|
218
|
+
{ speciesId: "cottonGrassTussock", spacing: 0.95, colonyRadius: 6.5, weight: 1.2, emergentDepth: 0.2, maxAboveWater: 0.35, scaleRange: [1.15, 1.7], clonal: false, niche: { moisture: [0.65, 1.0], maxSlopeDeg: 20 } },
|
|
219
|
+
{ speciesId: "forestSedge", spacing: 0.88, colonyRadius: 6.5, weight: 1.15, emergentDepth: 0.22, maxAboveWater: 0.32, scaleRange: [1.15, 1.75], clonal: false, niche: { moisture: [0.6, 1.0], maxSlopeDeg: 20 } },
|
|
220
|
+
{ speciesId: "flyAgaric", spacing: 2.5, colonyRadius: 2.8, weight: 0.82, minMycorrhiza: 0.38, niche: { soilPh: [0.05, 0.5], moisture: [0.2, 0.72], maxSlopeDeg: 22 } },
|
|
221
|
+
{ speciesId: "boletus", spacing: 2.8, colonyRadius: 2.8, weight: 0.75, minMycorrhiza: 0.4, niche: { soilPh: [0.05, 0.5], moisture: [0.22, 0.72], maxSlopeDeg: 22 } },
|
|
222
|
+
],
|
|
223
|
+
epiphytes: [
|
|
224
|
+
{ speciesId: "tinderConk", hostSpecies: ["Silver birch"], attachment: "trunk-shelf", chance: 0.3, minMoisture: 0.35 },
|
|
225
|
+
{ speciesId: "beardLichen", hostSpecies: ["Scots pine", "Corsican pine"], attachment: "bough-curtain", chance: 0.32, minShelter: 0.2 },
|
|
226
|
+
],
|
|
227
|
+
turf: [
|
|
228
|
+
{ row: 0, weight: 2.2, niche: { light: [0.65, 1.0], exposure: [0.56, 0.94], fertility: [0.0, 0.38], elevation: [1.4, 14] } },
|
|
229
|
+
{ row: 1, weight: 1.5, niche: { light: [0.45, 1.0], moisture: [0.14, 0.56], exposure: [0.2, 0.78] } },
|
|
230
|
+
{ row: 2, weight: 1.7, niche: { light: [0.35, 1.0], soilPh: [0.05, 0.44], moisture: [0.24, 0.72] } },
|
|
231
|
+
{ row: 3, weight: 1.8, niche: { light: [0.5, 1.0], moisture: [0.56, 0.86], fertility: [0.3, 0.9] } },
|
|
232
|
+
{ row: 4, weight: 2.2, niche: { light: [0.55, 1.0], moisture: [0.76, 1.0], elevation: [-3, 2.2] } },
|
|
233
|
+
{ row: 5, weight: 1.9, niche: { light: [0.6, 1.0], exposure: [0.5, 0.92], elevation: [0.6, 12] } },
|
|
234
|
+
],
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
montaneValley: {
|
|
238
|
+
id: "montaneValley",
|
|
239
|
+
title: "Montane Valley & Crags",
|
|
240
|
+
shortTitle: "Montane Crags",
|
|
241
|
+
subtitle: "Alder & willow stream bottom rising through mixed fir-larch flanks to spruce ridges and bare rock crags.",
|
|
242
|
+
terrain: "montane-ridge",
|
|
243
|
+
defaultSide: 320,
|
|
244
|
+
climate: {
|
|
245
|
+
...DEFAULT_CLIMATE,
|
|
246
|
+
latitude: 48.2,
|
|
247
|
+
day: 278,
|
|
248
|
+
hour: 8.8,
|
|
249
|
+
windHeading: 305,
|
|
250
|
+
windSpeed: 3.6,
|
|
251
|
+
atmosphere: { ...DEFAULT_CLIMATE.atmosphere, turbidity: 1.8, hazeDensity: 1.1, hazeScaleHeight: 280 },
|
|
252
|
+
},
|
|
253
|
+
water: {
|
|
254
|
+
level: -2.65,
|
|
255
|
+
shallowColor: [0.07, 0.22, 0.21],
|
|
256
|
+
deepColor: [0.02, 0.08, 0.11],
|
|
257
|
+
clarity: 2.4,
|
|
258
|
+
ripple: 0.55,
|
|
259
|
+
},
|
|
260
|
+
vista: [-8, 72, 8.6, 0.04, -0.14],
|
|
261
|
+
views: {
|
|
262
|
+
edge: [28, 20, 1.8, -3.14, -0.07],
|
|
263
|
+
under: [48, 40, 1.75, 0.42, 0.03],
|
|
264
|
+
floor: [-25, -79, 0.64, -0.1, -0.19],
|
|
265
|
+
},
|
|
266
|
+
rules: {
|
|
267
|
+
treeSpacing: 6.6,
|
|
268
|
+
maxTrees: 1100,
|
|
269
|
+
rockSlopeDeg: 28,
|
|
270
|
+
maxCanopyShelterForGrass: 0.7,
|
|
271
|
+
maxLitterForGrass: 0.74,
|
|
272
|
+
waterLevel: -2.65,
|
|
273
|
+
maxRocks: 1200,
|
|
274
|
+
rocks: [
|
|
275
|
+
{ speciesId: "alpineSchistCrag", mode: "cliff-contour", spacing: 5.4, colonyRadius: 20, weight: 2.2, niche: { elevation: [3, 30], minSlopeDeg: 18.5, maxSlopeDeg: 75 }, scaleRange: [0.85, 1.45] },
|
|
276
|
+
{ speciesId: "basaltColumnCrag", mode: "cliff-contour", spacing: 6.4, colonyRadius: 18, weight: 1.6, niche: { elevation: [5, 30], minSlopeDeg: 19.5, maxSlopeDeg: 75 }, scaleRange: [0.85, 1.4] },
|
|
277
|
+
{ speciesId: "limestoneKarstLedge", mode: "cliff-contour", spacing: 6.8, colonyRadius: 16, weight: 1.35, niche: { elevation: [0, 22], minSlopeDeg: 19, maxSlopeDeg: 60 }, scaleRange: [0.8, 1.35] },
|
|
278
|
+
{ speciesId: "screeTalus", mode: "talus-foot", spacing: 2.8, colonyRadius: 9, weight: 2.0, minConcavity: 0.02, niche: { elevation: [-1, 26], minSlopeDeg: 13, maxSlopeDeg: 34 }, scaleRange: [0.8, 1.3] },
|
|
279
|
+
{ speciesId: "glacialSlateScree", mode: "talus-foot", spacing: 3.1, colonyRadius: 9, weight: 1.75, minConcavity: 0.02, niche: { elevation: [3, 28], minSlopeDeg: 13, maxSlopeDeg: 36 }, scaleRange: [0.8, 1.25] },
|
|
280
|
+
{ speciesId: "graniteErratic", mode: "outcrop", spacing: 11.5, colonyRadius: 9, weight: 0.85, niche: { elevation: [-1, 24], maxSlopeDeg: 26 }, scaleRange: [0.75, 1.35] },
|
|
281
|
+
{ speciesId: "riverCobbles", mode: "streambed", spacing: 2.8, colonyRadius: 5, weight: 1.25, suppressesTurf: false, niche: { moisture: [0.76, 1.0], elevation: [-8, -2.05], maxSlopeDeg: 16 }, scaleRange: [0.75, 1.25] },
|
|
282
|
+
],
|
|
283
|
+
overstory: [
|
|
284
|
+
{ speciesName: "Black alder", weight: 2.2, role: "canopy", niche: { moisture: [0.68, 1.0], elevation: [-8, 2.5], maxSlopeDeg: 20 } },
|
|
285
|
+
{ speciesName: "White willow", weight: 1.6, role: "canopy", niche: { moisture: [0.72, 1.0], elevation: [-8, 1.8], maxSlopeDeg: 18 } },
|
|
286
|
+
{ speciesName: "Rowan", weight: 1.3, role: "pioneer", niche: { moisture: [0.3, 0.72], elevation: [2, 18], maxSlopeDeg: 30 } },
|
|
287
|
+
{ speciesName: "Silver birch", weight: 1.4, role: "pioneer", niche: { moisture: [0.35, 0.75], elevation: [0, 14], maxSlopeDeg: 28 } },
|
|
288
|
+
{ speciesName: "European larch", weight: 1.8, role: "canopy", niche: { moisture: [0.28, 0.65], elevation: [3, 22], maxSlopeDeg: 28 } },
|
|
289
|
+
{ speciesName: "Douglas fir", weight: 2.1, role: "canopy", niche: { moisture: [0.38, 0.72], elevation: [1.5, 19], maxSlopeDeg: 27 } },
|
|
290
|
+
{ speciesName: "Sitka spruce", weight: 1.7, role: "canopy", niche: { moisture: [0.5, 0.85], elevation: [2, 20], maxSlopeDeg: 26 } },
|
|
291
|
+
{ speciesName: "Subalpine fir", weight: 1.8, role: "canopy", niche: { moisture: [0.3, 0.75], elevation: [10, 29], maxSlopeDeg: 30 } },
|
|
292
|
+
{ speciesName: "Spruce", weight: 2.0, role: "canopy", niche: { moisture: [0.25, 0.68], elevation: [7, 28], maxSlopeDeg: 29 } },
|
|
293
|
+
{ speciesName: "Scots pine", weight: 1.8, role: "canopy", niche: { moisture: [0.15, 0.55], elevation: [8, 28], maxSlopeDeg: 30 } },
|
|
294
|
+
],
|
|
295
|
+
maxFlora: 10500,
|
|
296
|
+
maxEpiphytes: 1800,
|
|
297
|
+
flora: [
|
|
298
|
+
{ speciesId: "swordFern", spacing: 1.25, colonyRadius: 4.5, weight: 1.05, minShelter: 0.25, niche: { moisture: [0.42, 0.9], elevation: [-4, 18], maxSlopeDeg: 28 } },
|
|
299
|
+
{ speciesId: "ladyFern", spacing: 1.4, colonyRadius: 4.0, weight: 0.92, minShelter: 0.22, niche: { moisture: [0.58, 0.98], elevation: [-6, 12], maxSlopeDeg: 26 } },
|
|
300
|
+
{ speciesId: "forestSedge", spacing: 0.86, colonyRadius: 5.5, weight: 1.25, emergentDepth: 0.22, maxAboveWater: 0.38, scaleRange: [1.15, 1.8], clonal: false, niche: { moisture: [0.6, 1.0], maxSlopeDeg: 22 } },
|
|
301
|
+
{ speciesId: "woodSorrel", spacing: 0.96, colonyRadius: 9.0, weight: 0.95, minShelter: 0.3, niche: { moisture: [0.4, 0.88], elevation: [-2, 16], maxSlopeDeg: 26 } },
|
|
302
|
+
{ speciesId: "bilberry", spacing: 0.74, colonyRadius: 9.5, weight: 1.1, minShelter: 0.16, scaleRange: [0.95, 1.4], niche: { soilPh: [0.05, 0.44], moisture: [0.28, 0.68], elevation: [6, 24], maxSlopeDeg: 27 } },
|
|
303
|
+
{ speciesId: "heather", spacing: 0.76, colonyRadius: 10.5, weight: 1.05, maxShelter: 0.45, suppressesTurf: false, scaleRange: [0.95, 1.42], niche: { soilPh: [0.05, 0.42], moisture: [0.14, 0.48], elevation: [9, 26], maxSlopeDeg: 26 } },
|
|
304
|
+
{ speciesId: "nurseLog", spacing: 7.2, colonyRadius: 8.0, weight: 0.7, minShelter: 0.35, suppressesTurf: true, niche: { moisture: [0.35, 0.9], maxSlopeDeg: 20 } },
|
|
305
|
+
{ speciesId: "boletus", spacing: 2.6, colonyRadius: 2.8, weight: 0.8, minMycorrhiza: 0.36, niche: { moisture: [0.3, 0.78], maxSlopeDeg: 22 } },
|
|
306
|
+
{ speciesId: "chanterelle", spacing: 2.2, colonyRadius: 2.6, weight: 0.82, minMycorrhiza: 0.36, niche: { moisture: [0.38, 0.85], maxSlopeDeg: 22 } },
|
|
307
|
+
{ speciesId: "flyAgaric", spacing: 2.8, colonyRadius: 2.6, weight: 0.75, minMycorrhiza: 0.4, niche: { soilPh: [0.05, 0.55], maxSlopeDeg: 22 } },
|
|
308
|
+
],
|
|
309
|
+
epiphytes: [
|
|
310
|
+
{ speciesId: "beardLichen", hostSpecies: ["Spruce", "Sitka spruce", "Subalpine fir", "Douglas fir", "European larch"], attachment: "bough-curtain", chance: 0.55, minShelter: 0.2 },
|
|
311
|
+
{ speciesId: "tinderConk", hostSpecies: ["Black alder", "Silver birch", "Rowan"], attachment: "trunk-shelf", chance: 0.34, minMoisture: 0.4 },
|
|
312
|
+
],
|
|
313
|
+
turf: [
|
|
314
|
+
{ row: 0, weight: 2.3, niche: { light: [0.45, 1.0], moisture: [0.76, 1.0], elevation: [-8, 1.5] } },
|
|
315
|
+
{ row: 1, weight: 1.8, niche: { light: [0.45, 1.0], moisture: [0.54, 0.84], elevation: [-6, 6] } },
|
|
316
|
+
{ row: 2, weight: 1.6, niche: { light: [0.45, 1.0], moisture: [0.28, 0.62], elevation: [1, 16] } },
|
|
317
|
+
{ row: 3, weight: 1.5, niche: { light: [0.5, 1.0], moisture: [0.1, 0.45], elevation: [8, 28] } },
|
|
318
|
+
{ row: 4, weight: 1.4, niche: { light: [0.25, 0.78], soilPh: [0.1, 0.48], elevation: [5, 28] } },
|
|
319
|
+
],
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
mediterraneanKarst: {
|
|
323
|
+
id: "mediterraneanKarst",
|
|
324
|
+
title: "Mediterranean Stone Pine & Karst",
|
|
325
|
+
shortTitle: "Med Karst",
|
|
326
|
+
subtitle: "Umbrella stone pines, Aleppo pines & Mediterranean scrub above stepped limestone karst cliffs and a turquoise cove.",
|
|
327
|
+
terrain: "karst-gorge",
|
|
328
|
+
defaultSide: 320,
|
|
329
|
+
climate: {
|
|
330
|
+
...DEFAULT_CLIMATE,
|
|
331
|
+
latitude: 41.8,
|
|
332
|
+
day: 162,
|
|
333
|
+
hour: 10.2,
|
|
334
|
+
windHeading: 215,
|
|
335
|
+
windSpeed: 3.4,
|
|
336
|
+
drought: 0.42,
|
|
337
|
+
atmosphere: { ...DEFAULT_CLIMATE.atmosphere, turbidity: 2.0, hazeDensity: 0.9, hazeScaleHeight: 240 },
|
|
338
|
+
},
|
|
339
|
+
water: {
|
|
340
|
+
level: -1.1,
|
|
341
|
+
shallowColor: [0.04, 0.28, 0.26],
|
|
342
|
+
deepColor: [0.01, 0.07, 0.14],
|
|
343
|
+
clarity: 2.6,
|
|
344
|
+
ripple: 0.45,
|
|
345
|
+
},
|
|
346
|
+
vista: [40, 48, 4.2, 0.36, -0.14],
|
|
347
|
+
views: {
|
|
348
|
+
edge: [64, 48, 1.85, -1.57, -0.08],
|
|
349
|
+
under: [12, 20, 1.75, -0.45, 0.04],
|
|
350
|
+
floor: [28, -14, 0.64, -1.73, -0.2],
|
|
351
|
+
},
|
|
352
|
+
rules: {
|
|
353
|
+
treeSpacing: 7.5,
|
|
354
|
+
maxTrees: 720,
|
|
355
|
+
rockSlopeDeg: 22.5,
|
|
356
|
+
maxCanopyShelterForGrass: 0.64,
|
|
357
|
+
maxLitterForGrass: 0.68,
|
|
358
|
+
waterLevel: -1.1,
|
|
359
|
+
allowDryBareGround: true,
|
|
360
|
+
maxRocks: 1550,
|
|
361
|
+
rocks: [
|
|
362
|
+
{ speciesId: "limestoneKarstLedge", mode: "cliff-contour", spacing: 5.2, colonyRadius: 20, weight: 2.3, niche: { elevation: [-0.8, 22], minSlopeDeg: 17.5, maxSlopeDeg: 75 }, scaleRange: [0.85, 1.45] },
|
|
363
|
+
{ speciesId: "limestonePavement", mode: "outcrop", spacing: 8.5, colonyRadius: 11, weight: 1.3, niche: { elevation: [1.0, 18], maxSlopeDeg: 24 }, scaleRange: [0.8, 1.38] },
|
|
364
|
+
{ speciesId: "travertineBoulder", mode: "outcrop", spacing: 11.0, colonyRadius: 8, weight: 0.9, niche: { elevation: [-0.6, 12], maxSlopeDeg: 26 }, scaleRange: [0.75, 1.3] },
|
|
365
|
+
{ speciesId: "screeTalus", mode: "talus-foot", spacing: 2.8, colonyRadius: 10, weight: 2.1, minConcavity: 0.01, niche: { elevation: [-0.8, 18], minSlopeDeg: 11, maxSlopeDeg: 32 }, scaleRange: [0.75, 1.25] },
|
|
366
|
+
{ speciesId: "coastalShingle", mode: "streambed", spacing: 3.0, colonyRadius: 6, weight: 1.1, suppressesTurf: false, niche: { elevation: [-1.8, -0.55], maxSlopeDeg: 20 }, scaleRange: [0.75, 1.3] },
|
|
367
|
+
],
|
|
368
|
+
overstory: [
|
|
369
|
+
{ speciesName: "Stone pine", weight: 2.3, role: "canopy", niche: { elevation: [0.5, 15], soilPh: [0.5, 1.0], maxSlopeDeg: 26 } },
|
|
370
|
+
{ speciesName: "Aleppo pine", weight: 1.9, role: "canopy", niche: { elevation: [2.0, 20], exposure: [0.25, 1.0], maxSlopeDeg: 30 } },
|
|
371
|
+
{ speciesName: "Monterey cypress", weight: 1.4, role: "canopy", niche: { elevation: [0.8, 12], exposure: [0.4, 1.0], maxSlopeDeg: 28 } },
|
|
372
|
+
{ speciesName: "Holm oak", weight: 1.8, role: "canopy", niche: { moisture: [0.2, 0.72], elevation: [0.5, 14], maxSlopeDeg: 28 } },
|
|
373
|
+
{ speciesName: "Coast live oak", weight: 1.5, role: "canopy", niche: { moisture: [0.25, 0.75], elevation: [0.2, 12], maxSlopeDeg: 26 } },
|
|
374
|
+
{ speciesName: "Gorse", weight: 1.5, role: "mantle", niche: { exposure: [0.25, 0.95], elevation: [1.0, 14], maxSlopeDeg: 28 } },
|
|
375
|
+
{ speciesName: "Scotch broom", weight: 1.3, role: "mantle", niche: { exposure: [0.15, 0.85], elevation: [1.5, 14], maxSlopeDeg: 28 } },
|
|
376
|
+
],
|
|
377
|
+
maxFlora: 9500,
|
|
378
|
+
maxEpiphytes: 900,
|
|
379
|
+
flora: [
|
|
380
|
+
{ speciesId: "cistusScrub", spacing: 0.96, colonyRadius: 13.5, weight: 1.75, maxShelter: 0.48, suppressesTurf: true, niche: { soilPh: [0.45, 1.0], exposure: [0.18, 1.0], maxSlopeDeg: 28 } },
|
|
381
|
+
{ speciesId: "bracken", spacing: 1.75, colonyRadius: 12.0, weight: 0.95, maxShelter: 0.55, niche: { moisture: [0.22, 0.65], maxSlopeDeg: 26 } },
|
|
382
|
+
{ speciesId: "hartstongueFern", spacing: 1.65, colonyRadius: 3.6, weight: 0.85, minShelter: 0.25, niche: { moisture: [0.4, 0.88], maxSlopeDeg: 28 } },
|
|
383
|
+
{ speciesId: "swordFern", spacing: 1.8, colonyRadius: 3.6, weight: 0.78, minShelter: 0.25, niche: { moisture: [0.42, 0.88], maxSlopeDeg: 26 } },
|
|
384
|
+
{ speciesId: "forestSedge", spacing: 1.6, colonyRadius: 9.0, weight: 0.78, niche: { moisture: [0.5, 0.92], maxSlopeDeg: 24 } },
|
|
385
|
+
{ speciesId: "forestSedge", spacing: 0.92, colonyRadius: 6.0, weight: 1.15, emergentDepth: 0.2, maxAboveWater: 0.32, scaleRange: [1.1, 1.7], clonal: false, niche: { moisture: [0.55, 1.0], maxSlopeDeg: 22 } },
|
|
386
|
+
],
|
|
387
|
+
epiphytes: [
|
|
388
|
+
{ speciesId: "climbingIvy", hostSpecies: ["Holm oak", "Coast live oak", "Stone pine"], attachment: "trunk-vine", chance: 0.3, minShelter: 0.2 },
|
|
389
|
+
],
|
|
390
|
+
turf: [
|
|
391
|
+
{ row: 0, weight: 1.8, niche: { light: [0.55, 1.0], elevation: [1.8, 15], moisture: [0.24, 0.68], maxSlopeDeg: 21 } },
|
|
392
|
+
{ row: 1, weight: 1.7, niche: { light: [0.5, 1.0], soilPh: [0.6, 1.0], moisture: [0.22, 0.6], maxSlopeDeg: 19 } },
|
|
393
|
+
{ row: 2, weight: 1.6, niche: { light: [0.42, 1.0], moisture: [0.42, 0.88], elevation: [-0.8, 5], maxSlopeDeg: 21 } },
|
|
394
|
+
{ row: 3, weight: 1.4, niche: { light: [0.22, 0.72], moisture: [0.3, 0.82], maxSlopeDeg: 21 } },
|
|
395
|
+
],
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
borealTaiga: {
|
|
399
|
+
id: "borealTaiga",
|
|
400
|
+
title: "Nordic Boreal Taiga",
|
|
401
|
+
shortTitle: "Boreal Taiga",
|
|
402
|
+
subtitle: "Spruce, Scots pine, European larch & silver birch over bilberry-heather shield granite bordering a dark boreal tarn.",
|
|
403
|
+
terrain: "glacial-tarn",
|
|
404
|
+
defaultSide: 320,
|
|
405
|
+
climate: {
|
|
406
|
+
...DEFAULT_CLIMATE,
|
|
407
|
+
latitude: 63.4,
|
|
408
|
+
day: 262,
|
|
409
|
+
hour: 10.5,
|
|
410
|
+
windHeading: 285,
|
|
411
|
+
windSpeed: 3.8,
|
|
412
|
+
atmosphere: { ...DEFAULT_CLIMATE.atmosphere, turbidity: 1.6, hazeDensity: 1.05, hazeScaleHeight: 240 },
|
|
413
|
+
},
|
|
414
|
+
water: {
|
|
415
|
+
level: -1.2,
|
|
416
|
+
shallowColor: [0.09, 0.07, 0.03],
|
|
417
|
+
deepColor: [0.015, 0.02, 0.025],
|
|
418
|
+
clarity: 1.1,
|
|
419
|
+
ripple: 0.35,
|
|
420
|
+
},
|
|
421
|
+
vista: [-32, 72, 5.2, -0.18, -0.12],
|
|
422
|
+
views: {
|
|
423
|
+
edge: [44, -40, 1.78, -3.14, -0.07],
|
|
424
|
+
under: [48, -20, 1.72, -1.85, 0.04],
|
|
425
|
+
floor: [53, -38, 0.62, -0.06, -0.19],
|
|
426
|
+
},
|
|
427
|
+
rules: {
|
|
428
|
+
treeSpacing: 6.4,
|
|
429
|
+
maxTrees: 1050,
|
|
430
|
+
rockSlopeDeg: 29,
|
|
431
|
+
maxCanopyShelterForGrass: 0.68,
|
|
432
|
+
maxLitterForGrass: 0.72,
|
|
433
|
+
waterLevel: -1.2,
|
|
434
|
+
maxRocks: 1100,
|
|
435
|
+
rocks: [
|
|
436
|
+
{ speciesId: "graniteErratic", mode: "outcrop", spacing: 8.8, colonyRadius: 9, weight: 1.15, niche: { elevation: [-0.8, 16], maxSlopeDeg: 28 }, scaleRange: [0.8, 1.45] },
|
|
437
|
+
{ speciesId: "mossyWoodlandBoulder", mode: "outcrop", spacing: 9.2, colonyRadius: 8, weight: 1.0, niche: { moisture: [0.4, 0.9], maxSlopeDeg: 26 }, scaleRange: [0.75, 1.3] },
|
|
438
|
+
{ speciesId: "peatHagBank", mode: "outcrop", spacing: 11.5, colonyRadius: 8, weight: 0.85, niche: { soilPh: [0.05, 0.45], moisture: [0.45, 0.92], maxSlopeDeg: 20 }, scaleRange: [0.8, 1.25] },
|
|
439
|
+
{ speciesId: "riverCobbles", mode: "streambed", spacing: 3.0, colonyRadius: 6, weight: 1.15, suppressesTurf: false, niche: { elevation: [-1.8, -0.65], maxSlopeDeg: 18 }, scaleRange: [0.75, 1.25] },
|
|
440
|
+
],
|
|
441
|
+
overstory: [
|
|
442
|
+
{ speciesName: "Spruce", weight: 2.3, role: "canopy", niche: { soilPh: [0.1, 0.55], elevation: [0.5, 16], maxSlopeDeg: 28 } },
|
|
443
|
+
{ speciesName: "White spruce", weight: 1.8, role: "canopy", niche: { soilPh: [0.1, 0.55], elevation: [1.5, 16], maxSlopeDeg: 28 } },
|
|
444
|
+
{ speciesName: "Subalpine fir", weight: 1.4, role: "canopy", niche: { soilPh: [0.1, 0.55], elevation: [4.0, 16], maxSlopeDeg: 28 } },
|
|
445
|
+
{ speciesName: "Scots pine", weight: 2.2, role: "canopy", niche: { soilPh: [0.05, 0.48], moisture: [0.15, 0.65], elevation: [1.2, 16], maxSlopeDeg: 30 } },
|
|
446
|
+
{ speciesName: "European larch", weight: 1.5, role: "canopy", niche: { elevation: [2.0, 16], maxSlopeDeg: 28 } },
|
|
447
|
+
{ speciesName: "Rowan", weight: 1.2, role: "pioneer", niche: { moisture: [0.25, 0.75], elevation: [1.0, 14], maxSlopeDeg: 28 } },
|
|
448
|
+
{ speciesName: "Silver birch", weight: 1.6, role: "pioneer", niche: { moisture: [0.25, 0.8], elevation: [0.0, 12], maxSlopeDeg: 28 } },
|
|
449
|
+
{ speciesName: "Aspen", weight: 1.2, role: "pioneer", niche: { moisture: [0.3, 0.78], elevation: [0.5, 12], maxSlopeDeg: 26 } },
|
|
450
|
+
{ speciesName: "Black alder", weight: 1.9, role: "canopy", niche: { moisture: [0.7, 1.0], elevation: [-1.1, 1.2], maxSlopeDeg: 20 } },
|
|
451
|
+
{ speciesName: "White willow", weight: 1.3, role: "mantle", niche: { moisture: [0.72, 1.0], elevation: [-1.1, 1.0], maxSlopeDeg: 18 } },
|
|
452
|
+
],
|
|
453
|
+
maxFlora: 14500,
|
|
454
|
+
maxEpiphytes: 1800,
|
|
455
|
+
flora: [
|
|
456
|
+
{ speciesId: "bilberry", spacing: 0.88, colonyRadius: 15.0, weight: 1.45, minShelter: 0.14, niche: { soilPh: [0.05, 0.48], moisture: [0.25, 0.78], maxSlopeDeg: 26 } },
|
|
457
|
+
{ speciesId: "heather", spacing: 0.96, colonyRadius: 16.0, weight: 1.35, maxShelter: 0.48, suppressesTurf: true, niche: { soilPh: [0.05, 0.46], maxSlopeDeg: 26 } },
|
|
458
|
+
{ speciesId: "crowberry", spacing: 1.1, colonyRadius: 12.0, weight: 1.0, maxShelter: 0.42, suppressesTurf: true, niche: { soilPh: [0.05, 0.48], maxSlopeDeg: 28 } },
|
|
459
|
+
{ speciesId: "cloudberry", spacing: 1.15, colonyRadius: 10.5, weight: 1.0, niche: { moisture: [0.52, 0.94], soilPh: [0.05, 0.48], maxSlopeDeg: 20 } },
|
|
460
|
+
{ speciesId: "cottonGrassTussock", spacing: 1.3, colonyRadius: 10.0, weight: 0.92, maxShelter: 0.35, niche: { moisture: [0.68, 1.0], soilPh: [0.05, 0.5], maxSlopeDeg: 18 } },
|
|
461
|
+
{ speciesId: "cottonGrassTussock", spacing: 0.9, colonyRadius: 6.5, weight: 1.3, emergentDepth: 0.22, maxAboveWater: 0.38, scaleRange: [1.15, 1.75], clonal: false, niche: { moisture: [0.65, 1.0], maxSlopeDeg: 20 } },
|
|
462
|
+
{ speciesId: "forestSedge", spacing: 0.8, colonyRadius: 6.5, weight: 1.35, emergentDepth: 0.26, maxAboveWater: 0.35, scaleRange: [1.2, 1.85], clonal: false, niche: { moisture: [0.62, 1.0], maxSlopeDeg: 20 } },
|
|
463
|
+
{ speciesId: "swordFern", spacing: 1.6, colonyRadius: 4.0, weight: 0.85, minShelter: 0.25, niche: { moisture: [0.42, 0.92], maxSlopeDeg: 26 } },
|
|
464
|
+
{ speciesId: "flyAgaric", spacing: 2.2, colonyRadius: 2.8, weight: 0.9, minMycorrhiza: 0.32, niche: { soilPh: [0.05, 0.55], maxSlopeDeg: 22 } },
|
|
465
|
+
{ speciesId: "chanterelle", spacing: 2.0, colonyRadius: 2.6, weight: 0.88, minMycorrhiza: 0.34, niche: { moisture: [0.35, 0.85], maxSlopeDeg: 22 } },
|
|
466
|
+
{ speciesId: "boletus", spacing: 2.4, colonyRadius: 2.8, weight: 0.85, minMycorrhiza: 0.34, niche: { maxSlopeDeg: 22 } },
|
|
467
|
+
{ speciesId: "nurseLog", spacing: 7.0, colonyRadius: 7.5, weight: 0.75, minShelter: 0.32, suppressesTurf: true, niche: { moisture: [0.35, 0.9], maxSlopeDeg: 20 } },
|
|
468
|
+
],
|
|
469
|
+
epiphytes: [
|
|
470
|
+
{ speciesId: "beardLichen", hostSpecies: ["Spruce", "White spruce", "Subalpine fir", "Scots pine", "European larch"], attachment: "bough-curtain", chance: 0.62, minShelter: 0.18 },
|
|
471
|
+
{ speciesId: "tinderConk", hostSpecies: ["Silver birch", "Black alder", "Aspen", "Rowan"], attachment: "trunk-shelf", chance: 0.36, minMoisture: 0.35 },
|
|
472
|
+
],
|
|
473
|
+
turf: [
|
|
474
|
+
{ row: 0, weight: 1.8, niche: { light: [0.28, 1.0], soilPh: [0.05, 0.48] } },
|
|
475
|
+
{ row: 1, weight: 1.5, niche: { light: [0.45, 1.0], moisture: [0.1, 0.52] } },
|
|
476
|
+
{ row: 2, weight: 2.2, niche: { light: [0.45, 1.0], moisture: [0.76, 1.0], elevation: [-1.1, 1.0] } },
|
|
477
|
+
{ row: 3, weight: 1.7, niche: { light: [0.4, 1.0], moisture: [0.5, 0.85] } },
|
|
478
|
+
{ row: 4, weight: 1.8, niche: { light: [0.45, 1.0], moisture: [0.55, 0.9], soilPh: [0.05, 0.5] } },
|
|
479
|
+
{ row: 5, weight: 2.0, niche: { light: [0.5, 1.0], moisture: [0.72, 1.0], soilPh: [0.05, 0.48] } },
|
|
480
|
+
],
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
palmLagoon: {
|
|
484
|
+
id: "palmLagoon",
|
|
485
|
+
title: "Coastal Palm Lagoon",
|
|
486
|
+
shortTitle: "Palm Lagoon",
|
|
487
|
+
subtitle: "Canary date palms, fan & queen palms, coastal Torrey pines, and fern-edged sandspits framing a turquoise tidal lagoon.",
|
|
488
|
+
terrain: "palm-lagoon",
|
|
489
|
+
defaultSide: 320,
|
|
490
|
+
climate: {
|
|
491
|
+
...DEFAULT_CLIMATE,
|
|
492
|
+
latitude: 28.5,
|
|
493
|
+
day: 172,
|
|
494
|
+
hour: 15.8,
|
|
495
|
+
windHeading: 195,
|
|
496
|
+
windSpeed: 4.8,
|
|
497
|
+
atmosphere: { ...DEFAULT_CLIMATE.atmosphere, turbidity: 2.2, hazeDensity: 1.15, hazeScaleHeight: 200 },
|
|
498
|
+
},
|
|
499
|
+
water: {
|
|
500
|
+
level: -0.85,
|
|
501
|
+
shallowColor: [0.05, 0.34, 0.3],
|
|
502
|
+
deepColor: [0.01, 0.1, 0.16],
|
|
503
|
+
clarity: 2.8,
|
|
504
|
+
ripple: 0.4,
|
|
505
|
+
},
|
|
506
|
+
vista: [-24, 72, 6.4, -0.3, -0.11],
|
|
507
|
+
views: {
|
|
508
|
+
edge: [-64, 72, 1.82, 1.57, -0.07],
|
|
509
|
+
under: [-68, -56, 1.75, 0.55, 0.04],
|
|
510
|
+
floor: [79, 38, 0.62, -1.59, -0.19],
|
|
511
|
+
},
|
|
512
|
+
rules: {
|
|
513
|
+
treeSpacing: 7.0,
|
|
514
|
+
maxTrees: 760,
|
|
515
|
+
rockSlopeDeg: 28,
|
|
516
|
+
maxCanopyShelterForGrass: 0.7,
|
|
517
|
+
maxLitterForGrass: 0.72,
|
|
518
|
+
waterLevel: -0.85,
|
|
519
|
+
allowDryBareGround: true,
|
|
520
|
+
maxRocks: 850,
|
|
521
|
+
rocks: [
|
|
522
|
+
{ speciesId: "coastalGraniteOutcrop", mode: "outcrop", spacing: 11.5, colonyRadius: 9, weight: 1.0, niche: { elevation: [1.6, 10], minSlopeDeg: 9, maxSlopeDeg: 28 }, scaleRange: [0.75, 1.35] },
|
|
523
|
+
{ speciesId: "travertineBoulder", mode: "outcrop", spacing: 10.5, colonyRadius: 8, weight: 0.95, niche: { elevation: [1.8, 9], minSlopeDeg: 11, maxSlopeDeg: 26 }, scaleRange: [0.75, 1.3] },
|
|
524
|
+
{ speciesId: "limestoneKarstLedge", mode: "cliff-contour", spacing: 10.5, weight: 0.9, niche: { elevation: [0.5, 12], minSlopeDeg: 18, maxSlopeDeg: 65 }, scaleRange: [0.75, 1.2] },
|
|
525
|
+
{ speciesId: "redSandstoneLedge", mode: "cliff-contour", spacing: 12.0, weight: 0.85, niche: { elevation: [1.5, 12], minSlopeDeg: 20, maxSlopeDeg: 68 }, scaleRange: [0.75, 1.25] },
|
|
526
|
+
{ speciesId: "coastalShingle", mode: "streambed", spacing: 3.2, colonyRadius: 6, weight: 1.1, suppressesTurf: false, niche: { elevation: [-1.5, -0.32], maxSlopeDeg: 18 }, scaleRange: [0.75, 1.25] },
|
|
527
|
+
],
|
|
528
|
+
overstory: [
|
|
529
|
+
{ speciesName: "Canary date palm", weight: 2.2, role: "canopy", niche: { elevation: [-0.4, 6], maxSlopeDeg: 22 } },
|
|
530
|
+
{ speciesName: "Queen palm", weight: 1.9, role: "canopy", niche: { elevation: [-0.2, 5.5], moisture: [0.3, 0.85], maxSlopeDeg: 22 } },
|
|
531
|
+
{ speciesName: "Mexican fan palm", weight: 2.0, role: "canopy", niche: { elevation: [0.0, 8], maxSlopeDeg: 25 } },
|
|
532
|
+
{ speciesName: "California fan palm", weight: 1.6, role: "canopy", niche: { elevation: [0.2, 7.5], moisture: [0.35, 0.9], maxSlopeDeg: 24 } },
|
|
533
|
+
{ speciesName: "Torrey pine", weight: 1.5, role: "canopy", niche: { elevation: [1.8, 10], exposure: [0.35, 1.0], maxSlopeDeg: 28 } },
|
|
534
|
+
{ speciesName: "Monterey pine", weight: 1.4, role: "canopy", niche: { elevation: [2.0, 10], maxSlopeDeg: 28 } },
|
|
535
|
+
{ speciesName: "Coast live oak", weight: 1.5, role: "canopy", niche: { elevation: [0.8, 8], moisture: [0.3, 0.78], maxSlopeDeg: 26 } },
|
|
536
|
+
{ speciesName: "California sycamore", weight: 1.4, role: "canopy", niche: { elevation: [-0.3, 3.0], moisture: [0.55, 1.0], maxSlopeDeg: 20 } },
|
|
537
|
+
],
|
|
538
|
+
maxFlora: 6800,
|
|
539
|
+
maxEpiphytes: 900,
|
|
540
|
+
flora: [
|
|
541
|
+
{ speciesId: "royalFern", spacing: 1.65, colonyRadius: 4.8, weight: 1.05, minShelter: 0.22, niche: { moisture: [0.6, 0.98], maxSlopeDeg: 24 } },
|
|
542
|
+
{ speciesId: "swordFern", spacing: 1.35, colonyRadius: 5.0, weight: 1.15, minShelter: 0.24, niche: { moisture: [0.56, 0.96], maxSlopeDeg: 26 } },
|
|
543
|
+
{ speciesId: "hartstongueFern", spacing: 1.55, colonyRadius: 4.0, weight: 0.85, minShelter: 0.24, niche: { moisture: [0.58, 0.95], maxSlopeDeg: 26 } },
|
|
544
|
+
{ speciesId: "ladyFern", spacing: 1.5, colonyRadius: 4.2, weight: 0.95, minShelter: 0.25, niche: { moisture: [0.62, 0.98], maxSlopeDeg: 24 } },
|
|
545
|
+
{ speciesId: "forestSedge", spacing: 1.35, colonyRadius: 8.5, weight: 0.95, niche: { moisture: [0.64, 1.0], maxSlopeDeg: 22 } },
|
|
546
|
+
{ speciesId: "forestSedge", spacing: 0.86, colonyRadius: 6.0, weight: 1.25, emergentDepth: 0.22, maxAboveWater: 0.36, scaleRange: [1.2, 1.85], clonal: false, niche: { moisture: [0.62, 1.0], maxSlopeDeg: 20 } },
|
|
547
|
+
{ speciesId: "royalFern", spacing: 1.25, colonyRadius: 4.5, weight: 1.05, emergentDepth: 0.1, maxAboveWater: 0.55, scaleRange: [0.95, 1.4], niche: { moisture: [0.62, 1.0], maxSlopeDeg: 22 } },
|
|
548
|
+
],
|
|
549
|
+
epiphytes: [
|
|
550
|
+
{ speciesId: "climbingIvy", hostSpecies: ["Coast live oak", "California sycamore"], attachment: "trunk-vine", chance: 0.38, minShelter: 0.2 },
|
|
551
|
+
],
|
|
552
|
+
turf: [
|
|
553
|
+
{ row: 0, weight: 1.6, niche: { light: [0.55, 1.0], elevation: [0.65, 7.5], moisture: [0.38, 0.62], exposure: [0.35, 1.0] } },
|
|
554
|
+
{ row: 1, weight: 1.7, niche: { light: [0.48, 1.0], elevation: [0.95, 9.0], moisture: [0.46, 0.72] } },
|
|
555
|
+
{ row: 2, weight: 1.6, niche: { light: [0.35, 1.0], moisture: [0.54, 0.78], elevation: [0.25, 6.0] } },
|
|
556
|
+
{ row: 3, weight: 2.1, niche: { light: [0.38, 1.0], moisture: [0.74, 1.0], elevation: [-0.8, 1.4] } },
|
|
557
|
+
{ row: 4, weight: 1.9, niche: { light: [0.35, 0.95], moisture: [0.76, 1.0], elevation: [-0.8, 1.2] } },
|
|
558
|
+
],
|
|
559
|
+
},
|
|
560
|
+
},
|
|
561
|
+
};
|
|
562
|
+
//# sourceMappingURL=recipe-specs.js.map
|