webgpu-trees 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.
Files changed (322) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1541 -2
  3. package/assets/SOURCES.md +255 -0
  4. package/assets/bark/alder.albedo.avif +0 -0
  5. package/assets/bark/alder.normal.avif +0 -0
  6. package/assets/bark/aleppoPine.albedo.avif +0 -0
  7. package/assets/bark/aleppoPine.normal.avif +0 -0
  8. package/assets/bark/ash.albedo.avif +0 -0
  9. package/assets/bark/ash.normal.avif +0 -0
  10. package/assets/bark/aspen.albedo.avif +0 -0
  11. package/assets/bark/aspen.normal.avif +0 -0
  12. package/assets/bark/beech.albedo.avif +0 -0
  13. package/assets/bark/beech.normal.avif +0 -0
  14. package/assets/bark/birch.albedo.avif +0 -0
  15. package/assets/bark/birch.normal.avif +0 -0
  16. package/assets/bark/birchFoot.albedo.avif +0 -0
  17. package/assets/bark/birchFoot.normal.avif +0 -0
  18. package/assets/bark/corsicanPine.albedo.avif +0 -0
  19. package/assets/bark/corsicanPine.normal.avif +0 -0
  20. package/assets/bark/cypress.albedo.avif +0 -0
  21. package/assets/bark/cypress.normal.avif +0 -0
  22. package/assets/bark/douglas.albedo.avif +0 -0
  23. package/assets/bark/douglas.normal.avif +0 -0
  24. package/assets/bark/eucalyptus.albedo.avif +0 -0
  25. package/assets/bark/eucalyptus.normal.avif +0 -0
  26. package/assets/bark/eucalyptusUpper.albedo.avif +0 -0
  27. package/assets/bark/eucalyptusUpper.normal.avif +0 -0
  28. package/assets/bark/fibrous.albedo.avif +0 -0
  29. package/assets/bark/fibrous.normal.avif +0 -0
  30. package/assets/bark/hemlock.albedo.avif +0 -0
  31. package/assets/bark/hemlock.normal.avif +0 -0
  32. package/assets/bark/hornbeam.albedo.avif +0 -0
  33. package/assets/bark/hornbeam.normal.avif +0 -0
  34. package/assets/bark/larch.albedo.avif +0 -0
  35. package/assets/bark/larch.normal.avif +0 -0
  36. package/assets/bark/lime.albedo.avif +0 -0
  37. package/assets/bark/lime.normal.avif +0 -0
  38. package/assets/bark/liveOak.albedo.avif +0 -0
  39. package/assets/bark/liveOak.normal.avif +0 -0
  40. package/assets/bark/maple.albedo.avif +0 -0
  41. package/assets/bark/maple.normal.avif +0 -0
  42. package/assets/bark/montereyPine.albedo.avif +0 -0
  43. package/assets/bark/montereyPine.normal.avif +0 -0
  44. package/assets/bark/norMaple.albedo.avif +0 -0
  45. package/assets/bark/norMaple.normal.avif +0 -0
  46. package/assets/bark/oak.albedo.avif +0 -0
  47. package/assets/bark/oak.normal.avif +0 -0
  48. package/assets/bark/palmLattice.albedo.avif +0 -0
  49. package/assets/bark/palmLattice.normal.avif +0 -0
  50. package/assets/bark/palmPineapple.albedo.avif +0 -0
  51. package/assets/bark/palmPineapple.normal.avif +0 -0
  52. package/assets/bark/palmRings.albedo.avif +0 -0
  53. package/assets/bark/palmRings.normal.avif +0 -0
  54. package/assets/bark/pine.albedo.avif +0 -0
  55. package/assets/bark/pine.normal.avif +0 -0
  56. package/assets/bark/pineFlakes.albedo.avif +0 -0
  57. package/assets/bark/pineFlakes.normal.avif +0 -0
  58. package/assets/bark/plane.albedo.avif +0 -0
  59. package/assets/bark/plane.normal.avif +0 -0
  60. package/assets/bark/poplar.albedo.avif +0 -0
  61. package/assets/bark/poplar.normal.avif +0 -0
  62. package/assets/bark/redAlder.albedo.avif +0 -0
  63. package/assets/bark/redAlder.normal.avif +0 -0
  64. package/assets/bark/redOak.albedo.avif +0 -0
  65. package/assets/bark/redOak.normal.avif +0 -0
  66. package/assets/bark/ridged.albedo.avif +0 -0
  67. package/assets/bark/ridged.normal.avif +0 -0
  68. package/assets/bark/sitkaSpruce.albedo.avif +0 -0
  69. package/assets/bark/sitkaSpruce.normal.avif +0 -0
  70. package/assets/bark/spruce.albedo.avif +0 -0
  71. package/assets/bark/spruce.normal.avif +0 -0
  72. package/assets/bark/stonePine.albedo.avif +0 -0
  73. package/assets/bark/stonePine.normal.avif +0 -0
  74. package/assets/bark/sycMaple.albedo.avif +0 -0
  75. package/assets/bark/sycMaple.normal.avif +0 -0
  76. package/assets/bark/torreyPine.albedo.avif +0 -0
  77. package/assets/bark/torreyPine.normal.avif +0 -0
  78. package/assets/bark/whitePine.albedo.avif +0 -0
  79. package/assets/bark/whitePine.normal.avif +0 -0
  80. package/assets/bark/whiteSpruce.albedo.avif +0 -0
  81. package/assets/bark/whiteSpruce.normal.avif +0 -0
  82. package/assets/bark/whiteWillow.albedo.avif +0 -0
  83. package/assets/bark/whiteWillow.normal.avif +0 -0
  84. package/assets/bark/willow.albedo.avif +0 -0
  85. package/assets/bark/willow.normal.avif +0 -0
  86. package/assets/leaves/alder.albedo.avif +0 -0
  87. package/assets/leaves/alder.normal.avif +0 -0
  88. package/assets/leaves/ash.albedo.avif +0 -0
  89. package/assets/leaves/ash.normal.avif +0 -0
  90. package/assets/leaves/aspen.albedo.avif +0 -0
  91. package/assets/leaves/aspen.normal.avif +0 -0
  92. package/assets/leaves/beech.albedo.avif +0 -0
  93. package/assets/leaves/beech.normal.avif +0 -0
  94. package/assets/leaves/birch.albedo.avif +0 -0
  95. package/assets/leaves/birch.normal.avif +0 -0
  96. package/assets/leaves/blackthorn.albedo.avif +0 -0
  97. package/assets/leaves/blackthorn.normal.avif +0 -0
  98. package/assets/leaves/blade.albedo.avif +0 -0
  99. package/assets/leaves/blade.normal.avif +0 -0
  100. package/assets/leaves/broomSprig.albedo.avif +0 -0
  101. package/assets/leaves/broomSprig.normal.avif +0 -0
  102. package/assets/leaves/corsicanShoot.albedo.avif +0 -0
  103. package/assets/leaves/corsicanShoot.normal.avif +0 -0
  104. package/assets/leaves/cypress.albedo.avif +0 -0
  105. package/assets/leaves/cypress.normal.avif +0 -0
  106. package/assets/leaves/cypressPad.albedo.avif +0 -0
  107. package/assets/leaves/cypressPad.normal.avif +0 -0
  108. package/assets/leaves/deadFronds.albedo.avif +0 -0
  109. package/assets/leaves/deadFronds.normal.avif +0 -0
  110. package/assets/leaves/deltoid.albedo.avif +0 -0
  111. package/assets/leaves/deltoid.normal.avif +0 -0
  112. package/assets/leaves/douglasShoot.albedo.avif +0 -0
  113. package/assets/leaves/douglasShoot.normal.avif +0 -0
  114. package/assets/leaves/elderSprig.albedo.avif +0 -0
  115. package/assets/leaves/elderSprig.normal.avif +0 -0
  116. package/assets/leaves/elliptic.albedo.avif +0 -0
  117. package/assets/leaves/elliptic.normal.avif +0 -0
  118. package/assets/leaves/eucalyptus.albedo.avif +0 -0
  119. package/assets/leaves/eucalyptus.normal.avif +0 -0
  120. package/assets/leaves/fan.albedo.avif +0 -0
  121. package/assets/leaves/fan.normal.avif +0 -0
  122. package/assets/leaves/fanB.albedo.avif +0 -0
  123. package/assets/leaves/fanB.normal.avif +0 -0
  124. package/assets/leaves/fir.albedo.avif +0 -0
  125. package/assets/leaves/fir.normal.avif +0 -0
  126. package/assets/leaves/frond.albedo.avif +0 -0
  127. package/assets/leaves/frond.normal.avif +0 -0
  128. package/assets/leaves/gorse.albedo.avif +0 -0
  129. package/assets/leaves/gorse.normal.avif +0 -0
  130. package/assets/leaves/hawthorn.albedo.avif +0 -0
  131. package/assets/leaves/hawthorn.normal.avif +0 -0
  132. package/assets/leaves/hemlockShoot.albedo.avif +0 -0
  133. package/assets/leaves/hemlockShoot.normal.avif +0 -0
  134. package/assets/leaves/hornbeam.albedo.avif +0 -0
  135. package/assets/leaves/hornbeam.normal.avif +0 -0
  136. package/assets/leaves/lance.albedo.avif +0 -0
  137. package/assets/leaves/lance.normal.avif +0 -0
  138. package/assets/leaves/larchShoot.albedo.avif +0 -0
  139. package/assets/leaves/larchShoot.normal.avif +0 -0
  140. package/assets/leaves/lime.albedo.avif +0 -0
  141. package/assets/leaves/lime.normal.avif +0 -0
  142. package/assets/leaves/liveOak.albedo.avif +0 -0
  143. package/assets/leaves/liveOak.normal.avif +0 -0
  144. package/assets/leaves/londonPlane.albedo.avif +0 -0
  145. package/assets/leaves/londonPlane.normal.avif +0 -0
  146. package/assets/leaves/maple.albedo.avif +0 -0
  147. package/assets/leaves/maple.normal.avif +0 -0
  148. package/assets/leaves/norMaple.albedo.avif +0 -0
  149. package/assets/leaves/norMaple.normal.avif +0 -0
  150. package/assets/leaves/oak.albedo.avif +0 -0
  151. package/assets/leaves/oak.normal.avif +0 -0
  152. package/assets/leaves/paintFan.albedo.avif +0 -0
  153. package/assets/leaves/paintFan.normal.avif +0 -0
  154. package/assets/leaves/paintFrond.albedo.avif +0 -0
  155. package/assets/leaves/paintFrond.normal.avif +0 -0
  156. package/assets/leaves/pine.albedo.avif +0 -0
  157. package/assets/leaves/pine.normal.avif +0 -0
  158. package/assets/leaves/pineClumpDark.albedo.avif +0 -0
  159. package/assets/leaves/pineClumpDark.normal.avif +0 -0
  160. package/assets/leaves/pineClumpLight.albedo.avif +0 -0
  161. package/assets/leaves/pineClumpLight.normal.avif +0 -0
  162. package/assets/leaves/poplar.albedo.avif +0 -0
  163. package/assets/leaves/poplar.normal.avif +0 -0
  164. package/assets/leaves/queenFrond.albedo.avif +0 -0
  165. package/assets/leaves/queenFrond.normal.avif +0 -0
  166. package/assets/leaves/redAlder.albedo.avif +0 -0
  167. package/assets/leaves/redAlder.normal.avif +0 -0
  168. package/assets/leaves/redOak.albedo.avif +0 -0
  169. package/assets/leaves/redOak.normal.avif +0 -0
  170. package/assets/leaves/round.albedo.avif +0 -0
  171. package/assets/leaves/round.normal.avif +0 -0
  172. package/assets/leaves/scale.albedo.avif +0 -0
  173. package/assets/leaves/scale.normal.avif +0 -0
  174. package/assets/leaves/scotsPineClump.albedo.avif +0 -0
  175. package/assets/leaves/scotsPineClump.normal.avif +0 -0
  176. package/assets/leaves/seaBuckthornSprig.albedo.avif +0 -0
  177. package/assets/leaves/seaBuckthornSprig.normal.avif +0 -0
  178. package/assets/leaves/serrate.albedo.avif +0 -0
  179. package/assets/leaves/serrate.normal.avif +0 -0
  180. package/assets/leaves/sitkaShoot.albedo.avif +0 -0
  181. package/assets/leaves/sitkaShoot.normal.avif +0 -0
  182. package/assets/leaves/stonePineCanopy.albedo.avif +0 -0
  183. package/assets/leaves/stonePineCanopy.normal.avif +0 -0
  184. package/assets/leaves/stonePineCushion.albedo.avif +0 -0
  185. package/assets/leaves/stonePineCushion.normal.avif +0 -0
  186. package/assets/leaves/sycamore.albedo.avif +0 -0
  187. package/assets/leaves/sycamore.normal.avif +0 -0
  188. package/assets/leaves/torreyPine.albedo.avif +0 -0
  189. package/assets/leaves/torreyPine.normal.avif +0 -0
  190. package/assets/leaves/whitePine.albedo.avif +0 -0
  191. package/assets/leaves/whitePine.normal.avif +0 -0
  192. package/assets/leaves/whiteSpruceShoot.albedo.avif +0 -0
  193. package/assets/leaves/whiteSpruceShoot.normal.avif +0 -0
  194. package/assets/leaves/whiteWillow.albedo.avif +0 -0
  195. package/assets/leaves/whiteWillow.normal.avif +0 -0
  196. package/assets/leaves/willow.albedo.avif +0 -0
  197. package/assets/leaves/willow.normal.avif +0 -0
  198. package/assets/marks/marks.json +894 -0
  199. package/assets/marks/painterly.avif +0 -0
  200. package/assets/marks/sheets.avif +0 -0
  201. package/assets/scans.json +6066 -0
  202. package/lib/age.d.ts +36 -0
  203. package/lib/age.d.ts.map +1 -0
  204. package/lib/age.js +170 -0
  205. package/lib/age.js.map +1 -0
  206. package/lib/atmosphere.d.ts +64 -0
  207. package/lib/atmosphere.d.ts.map +1 -0
  208. package/lib/atmosphere.js +260 -0
  209. package/lib/atmosphere.js.map +1 -0
  210. package/lib/dabs.d.ts +4 -0
  211. package/lib/dabs.d.ts.map +1 -0
  212. package/lib/dabs.js +77 -0
  213. package/lib/dabs.js.map +1 -0
  214. package/lib/engine.d.ts +211 -0
  215. package/lib/engine.d.ts.map +1 -0
  216. package/lib/engine.js +3808 -0
  217. package/lib/engine.js.map +1 -0
  218. package/lib/genetics.d.ts +129 -0
  219. package/lib/genetics.d.ts.map +1 -0
  220. package/lib/genetics.js +721 -0
  221. package/lib/genetics.js.map +1 -0
  222. package/lib/geometry.d.ts +237 -0
  223. package/lib/geometry.d.ts.map +1 -0
  224. package/lib/geometry.js +1944 -0
  225. package/lib/geometry.js.map +1 -0
  226. package/lib/grow.d.ts +83 -0
  227. package/lib/grow.d.ts.map +1 -0
  228. package/lib/grow.js +3851 -0
  229. package/lib/grow.js.map +1 -0
  230. package/lib/hiz.d.ts +74 -0
  231. package/lib/hiz.d.ts.map +1 -0
  232. package/lib/hiz.js +161 -0
  233. package/lib/hiz.js.map +1 -0
  234. package/lib/impostor.d.ts +106 -0
  235. package/lib/impostor.d.ts.map +1 -0
  236. package/lib/impostor.js +450 -0
  237. package/lib/impostor.js.map +1 -0
  238. package/lib/index.d.ts +17 -0
  239. package/lib/index.d.ts.map +1 -0
  240. package/lib/index.js +16 -0
  241. package/lib/index.js.map +1 -0
  242. package/lib/leaves.d.ts +30 -0
  243. package/lib/leaves.d.ts.map +1 -0
  244. package/lib/leaves.js +829 -0
  245. package/lib/leaves.js.map +1 -0
  246. package/lib/light.d.ts +110 -0
  247. package/lib/light.d.ts.map +1 -0
  248. package/lib/light.js +430 -0
  249. package/lib/light.js.map +1 -0
  250. package/lib/lobes.d.ts +25 -0
  251. package/lib/lobes.d.ts.map +1 -0
  252. package/lib/lobes.js +151 -0
  253. package/lib/lobes.js.map +1 -0
  254. package/lib/marks.d.ts +63 -0
  255. package/lib/marks.d.ts.map +1 -0
  256. package/lib/marks.js +553 -0
  257. package/lib/marks.js.map +1 -0
  258. package/lib/mips.d.ts +42 -0
  259. package/lib/mips.d.ts.map +1 -0
  260. package/lib/mips.js +220 -0
  261. package/lib/mips.js.map +1 -0
  262. package/lib/paintedMarks.d.ts +21 -0
  263. package/lib/paintedMarks.d.ts.map +1 -0
  264. package/lib/paintedMarks.js +53 -0
  265. package/lib/paintedMarks.js.map +1 -0
  266. package/lib/palm.d.ts +162 -0
  267. package/lib/palm.d.ts.map +1 -0
  268. package/lib/palm.js +779 -0
  269. package/lib/palm.js.map +1 -0
  270. package/lib/palmAtlas.d.ts +79 -0
  271. package/lib/palmAtlas.d.ts.map +1 -0
  272. package/lib/palmAtlas.js +335 -0
  273. package/lib/palmAtlas.js.map +1 -0
  274. package/lib/palmGeometry.d.ts +41 -0
  275. package/lib/palmGeometry.d.ts.map +1 -0
  276. package/lib/palmGeometry.js +309 -0
  277. package/lib/palmGeometry.js.map +1 -0
  278. package/lib/phenology.d.ts +21 -0
  279. package/lib/phenology.d.ts.map +1 -0
  280. package/lib/phenology.js +164 -0
  281. package/lib/phenology.js.map +1 -0
  282. package/lib/random.d.ts +34 -0
  283. package/lib/random.d.ts.map +1 -0
  284. package/lib/random.js +92 -0
  285. package/lib/random.js.map +1 -0
  286. package/lib/scans.d.ts +232 -0
  287. package/lib/scans.d.ts.map +1 -0
  288. package/lib/scans.js +391 -0
  289. package/lib/scans.js.map +1 -0
  290. package/lib/scatter.d.ts +70 -0
  291. package/lib/scatter.d.ts.map +1 -0
  292. package/lib/scatter.js +186 -0
  293. package/lib/scatter.js.map +1 -0
  294. package/lib/species.d.ts +369 -0
  295. package/lib/species.d.ts.map +1 -0
  296. package/lib/species.js +2817 -0
  297. package/lib/species.js.map +1 -0
  298. package/lib/sprays.d.ts +112 -0
  299. package/lib/sprays.d.ts.map +1 -0
  300. package/lib/sprays.js +1137 -0
  301. package/lib/sprays.js.map +1 -0
  302. package/lib/stand.d.ts +52 -0
  303. package/lib/stand.d.ts.map +1 -0
  304. package/lib/stand.js +279 -0
  305. package/lib/stand.js.map +1 -0
  306. package/lib/styles.d.ts +135 -0
  307. package/lib/styles.d.ts.map +1 -0
  308. package/lib/styles.js +79 -0
  309. package/lib/styles.js.map +1 -0
  310. package/lib/tree.d.ts +134 -0
  311. package/lib/tree.d.ts.map +1 -0
  312. package/lib/tree.js +57 -0
  313. package/lib/tree.js.map +1 -0
  314. package/lib/variants.d.ts +157 -0
  315. package/lib/variants.d.ts.map +1 -0
  316. package/lib/variants.js +532 -0
  317. package/lib/variants.js.map +1 -0
  318. package/lib/visibility.d.ts +105 -0
  319. package/lib/visibility.d.ts.map +1 -0
  320. package/lib/visibility.js +242 -0
  321. package/lib/visibility.js.map +1 -0
  322. package/package.json +62 -3
package/lib/species.js ADDED
@@ -0,0 +1,2817 @@
1
+ // A species: what one kind of tree is. Its form and behaviour, as plain data,
2
+ // so a wood is described and not programmed.
3
+ //
4
+ // Nothing that draws a tree names a species: growing reads the row, and the
5
+ // shaders read what growing made of it. A tree's size is not the species'
6
+ // but its own (`TreeInstance`): a species says how a tree of that kind is
7
+ // built, and a measured tree says how big this one is.
8
+ export const LEAF_KIND_ROWS = ["broad", "narrow", "needle", "small", "frond", "pine"];
9
+ export const REGION_ROWS = ["california", "pacific-northwest", "great-britain", "france", "ontario", "netherlands", "denmark"];
10
+ /**
11
+ * Every field a species may leave out (`TreeSpecies`'s optional members), and what it must be when given: for
12
+ * a host reading species from JSON (the lab's presets). The compiler holds the list to the type: a member
13
+ * missing or one too many will not build. The rest of a species must all be there; `checkSpecies` then says
14
+ * whether the values are sound.
15
+ */
16
+ export const OPTIONAL_SPECIES_FIELDS = {
17
+ latin: "string",
18
+ regions: "strings",
19
+ crownRatio: "pair",
20
+ baseRatio: "pair",
21
+ heightRange: "pair",
22
+ crownPeak: "number",
23
+ crownRound: "number",
24
+ lobes: "number",
25
+ scaffolds: "number",
26
+ shed: "number",
27
+ boleStubs: "number",
28
+ limbAngle: "pair",
29
+ limbCurve: "number",
30
+ limbCurveBack: "number",
31
+ zigzag: "number",
32
+ zigzagRun: "number",
33
+ phyllotaxis: ["spiral", "opposite", "distichous"],
34
+ sprayHang: "number",
35
+ canopyLift: "number",
36
+ fork: "number",
37
+ forkStems: "number",
38
+ forkSplits: "number",
39
+ forkShare: "number",
40
+ forkSpread: "number",
41
+ forkStemsMost: "number",
42
+ stemShare: "number",
43
+ stemRange: "pair",
44
+ pads: "number",
45
+ clusters: "number",
46
+ lean: "number",
47
+ buttress: "number",
48
+ leafColors: "strings",
49
+ weep: "number",
50
+ palmLeaf: ["feather", "fan"],
51
+ pruning: ["natural", "skirt", "skinned", "pineapple"],
52
+ plumose: "number",
53
+ deadColor: "string",
54
+ skirt: "number",
55
+ frondWidth: "number",
56
+ fanDroop: "number",
57
+ };
58
+ /** Whether `value` is of `kind` (`SpeciesFieldKind`). */
59
+ export function isSpeciesFieldKind(value, kind) {
60
+ if (typeof kind !== "string")
61
+ return typeof value === "string" && kind.includes(value);
62
+ if (kind === "number")
63
+ return typeof value === "number" && Number.isFinite(value);
64
+ if (kind === "string")
65
+ return typeof value === "string";
66
+ if (kind === "strings")
67
+ return Array.isArray(value) && value.every((v) => typeof v === "string");
68
+ return Array.isArray(value) && value.length === 2 && value.every((v) => typeof v === "number" && Number.isFinite(v));
69
+ }
70
+ /**
71
+ * The trees a course in a temperate place is likely to have, at the sizes they reach there. By eye: the oak,
72
+ * the plane, the eucalyptus and the Scots pine set against photographs of open-grown trees (an oak's crown
73
+ * wider than it is tall, a plane's full oval, a park eucalyptus between its vase and Riviera's tall blue
74
+ * gums, a Scots pine's flat lopsided top on a thin trunk). The oak's, the Scots pine's and the spruce's
75
+ * outlines and proportions (crown reach and base for height) are measured from photographs of open-grown
76
+ * trees (test/outlines.json): an open-grown spruce is much wider than a forest one. An old Scots pine has
77
+ * given up its leader, and is grown as a broadleaf, with needles.
78
+ */
79
+ export const STARTER_SPECIES = [
80
+ // Set against the owner's reference pictures: a parkland oak's broad dome on heavy limbs, the limbs seen
81
+ // through it (open 0.45), dark green; its bark grey-brown. Wider than it is tall, as the pictures have it and
82
+ // TSO says: 27 m across on 18 m (r/H 0.75; TSO's open-grown 18–24 m tall and 20–30 m across), its clumps
83
+ // bigger to fill so wide a dome; its trunk 1.4 m through, as Hemery's open-grown oaks have for such a crown.
84
+ {
85
+ name: "Oak",
86
+ latin: "Quercus robur",
87
+ regions: ["great-britain", "france", "netherlands", "denmark"],
88
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; TSO's
89
+ // open-grown 20–30 m across on 18–24 m, wider than high (the photographed one in test/outlines.json,
90
+ // 0.66). Base: live crown 0.75–0.90 open-grown, 0.30–0.45 in a wood [est.].
91
+ crownRatio: [0.18, 0.8],
92
+ baseRatio: [0.1, 0.7],
93
+ // Height (docs/MORPHOLOGY.md): TSO's open-grown 18–24 m; 20–30 m, exceptionally 40 m.
94
+ heightRange: [18, 40],
95
+ architecture: "broadleaf",
96
+ height: 18,
97
+ crownRadius: 13.5,
98
+ crownBase: 2.5,
99
+ trunkRadius: 0.7,
100
+ shape: "hemispherical",
101
+ crownPeak: 0.15,
102
+ crownRound: 2.0,
103
+ foliageDepth: 0.35,
104
+ openness: 0.45,
105
+ stems: 1,
106
+ branchAngle: 60,
107
+ branchAngleSpread: 15,
108
+ bend: -0.2,
109
+ crooked: 0.7,
110
+ leader: 0.15,
111
+ whorl: 0,
112
+ whorlsPerMetre: 0,
113
+ branchiness: 0.8,
114
+ scaffolds: 8,
115
+ forkShare: 0.55,
116
+ fork: 0.78,
117
+ forkSpread: 0.3,
118
+ forkStems: 2,
119
+ forkStemsMost: 3,
120
+ boleStubs: 0.8,
121
+ buttress: 0.45,
122
+ canopyLift: 0.15,
123
+ limbAngle: [50, 95],
124
+ limbCurve: -15,
125
+ limbCurveBack: 25,
126
+ zigzag: 20,
127
+ pads: 0.2,
128
+ leafKind: "broad",
129
+ clumpSize: 1.8,
130
+ clumpSpread: 0.35,
131
+ leafColor: "#4d6b33",
132
+ leafVariation: 0.3,
133
+ treeVariation: 0.25,
134
+ throughTint: [0.85, 1.0, 0.45],
135
+ barkColor: "#6b655c",
136
+ barkPale: 0,
137
+ stiffness: 0.75,
138
+ },
139
+ {
140
+ name: "Plane",
141
+ latin: "Platanus × hispanica",
142
+ regions: ["france", "great-britain", "netherlands", "california"],
143
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): open-grown r/H 0.30–0.45; street and stand trees to
144
+ // 0.2 [est.]. Base: low in parks, raised on streets [est.].
145
+ crownRatio: [0.2, 0.45],
146
+ baseRatio: [0.1, 0.6],
147
+ // Height (docs/MORPHOLOGY.md): 25–35 m typical, to 50 m (TSO; one tree at Pau past 52 m).
148
+ heightRange: [25, 50],
149
+ architecture: "broadleaf",
150
+ height: 22,
151
+ crownRadius: 9.8,
152
+ crownBase: 3,
153
+ trunkRadius: 0.65,
154
+ shape: "spherical",
155
+ crownPeak: 0.4,
156
+ foliageDepth: 0.3,
157
+ openness: 0.34,
158
+ stems: 1,
159
+ forkShare: 0.55,
160
+ fork: 0.9,
161
+ forkSpread: 0.25,
162
+ forkStems: 2,
163
+ forkStemsMost: 3,
164
+ branchAngle: 40,
165
+ branchAngleSpread: 12,
166
+ bend: 0.15,
167
+ crooked: 0.48,
168
+ leader: 0.25,
169
+ whorl: 0,
170
+ whorlsPerMetre: 0,
171
+ branchiness: 0.8,
172
+ buttress: 0.7,
173
+ scaffolds: 7,
174
+ limbAngle: [32, 65],
175
+ limbCurve: 12,
176
+ limbCurveBack: -25,
177
+ zigzag: 25,
178
+ leafKind: "broad",
179
+ clumpSize: 1.7,
180
+ clumpSpread: 0.3,
181
+ leafColor: "#62873f",
182
+ leafVariation: 0.25,
183
+ treeVariation: 0.2,
184
+ throughTint: [0.9, 1.0, 0.45],
185
+ barkColor: "#6f6a5c",
186
+ barkPale: 0.35,
187
+ stiffness: 0.7,
188
+ },
189
+ // Set against the owner's reference pictures: an open-grown blue gum, "broadly rounded" (secondary, in
190
+ // docs/MORPHOLOGY.md), 20 m across (the top of 10–20 m), its bole a metre and more through, most of them
191
+ // forked low into a V of ascending limbs, few leading; its crown from 6 m (an open-grown live crown of
192
+ // 0.6–0.8), widest near halfway up and broad-shouldered, fuller (open 0.4, its bunches less apart).
193
+ {
194
+ name: "Eucalyptus",
195
+ latin: "Eucalyptus globulus",
196
+ regions: ["california"],
197
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
198
+ // open-grown 0.20–0.35 [est.]. Base: live crown 0.6–0.8 open-grown, 0.25–0.40 in groves [est.].
199
+ crownRatio: [0.08, 0.35],
200
+ baseRatio: [0.2, 0.75],
201
+ // Height (docs/MORPHOLOGY.md): 30–55 m typical, to 70 m (EUCLID); planted in California 30–50 m.
202
+ heightRange: [30, 70],
203
+ architecture: "broadleaf",
204
+ height: 26,
205
+ crownRadius: 10,
206
+ crownBase: 6,
207
+ trunkRadius: 0.6,
208
+ shape: "hemispherical",
209
+ crownPeak: 0.45,
210
+ crownRound: 2.6,
211
+ lobes: 0.65,
212
+ foliageDepth: 0.3,
213
+ openness: 0.4,
214
+ stems: 1,
215
+ forkShare: 0.75,
216
+ fork: 0.8,
217
+ forkSpread: 0.2,
218
+ forkStems: 2,
219
+ stemShare: 0.25,
220
+ stemRange: [2, 3],
221
+ branchAngle: 32,
222
+ branchAngleSpread: 14,
223
+ bend: -0.15,
224
+ crooked: 0.4,
225
+ leader: 0.25,
226
+ whorl: 0,
227
+ whorlsPerMetre: 0,
228
+ branchiness: 0.55,
229
+ scaffolds: 6,
230
+ limbAngle: [35, 75],
231
+ limbCurve: 6,
232
+ limbCurveBack: -12,
233
+ zigzag: 5,
234
+ clusters: 0.6,
235
+ leafKind: "narrow",
236
+ clumpSize: 1.6,
237
+ clumpSpread: 0.45,
238
+ leafColor: "#7d8c62",
239
+ leafVariation: 0.3,
240
+ treeVariation: 0.3,
241
+ throughTint: [0.95, 1.0, 0.6],
242
+ barkColor: "#8e8576",
243
+ barkPale: 0.7,
244
+ stiffness: 0.55,
245
+ },
246
+ {
247
+ name: "Spruce",
248
+ latin: "Picea abies",
249
+ regions: ["denmark", "netherlands", "ontario"],
250
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; the
251
+ // photographed open-grown one (test/outlines.json), 0.31. Base: to the ground open-grown (photographed,
252
+ // 0), live crown 0.35–0.55 in plantations [est.].
253
+ crownRatio: [0.09, 0.31],
254
+ baseRatio: [0, 0.65],
255
+ // Height (docs/MORPHOLOGY.md): 30–50 m typical, up to 50–60 m (EUAT); the record 62.7 m (GDB).
256
+ heightRange: [30, 60],
257
+ architecture: "conifer",
258
+ height: 20,
259
+ crownRadius: 5.8,
260
+ crownBase: 1,
261
+ trunkRadius: 0.35,
262
+ shape: "conical",
263
+ foliageDepth: 0.6,
264
+ openness: 0.1,
265
+ stems: 1,
266
+ branchAngle: 80,
267
+ branchAngleSpread: 8,
268
+ bend: -0.45,
269
+ crooked: 0.15,
270
+ leader: 1,
271
+ whorl: 5,
272
+ whorlsPerMetre: 1.6,
273
+ branchiness: 1,
274
+ limbAngle: [45, 115],
275
+ limbCurve: -30,
276
+ limbCurveBack: 50,
277
+ sprayHang: 0.5,
278
+ buttress: 0.35,
279
+ leafKind: "needle",
280
+ clumpSize: 1.0,
281
+ clumpSpread: 0.25,
282
+ leafColor: "#2f4d35",
283
+ leafVariation: 0.2,
284
+ treeVariation: 0.15,
285
+ throughTint: [0.7, 0.9, 0.5],
286
+ barkColor: "#4e4239",
287
+ barkPale: 0,
288
+ stiffness: 0.85,
289
+ },
290
+ // Set against the owner's reference pictures: its crown more open, its clumps apart with sky between (open
291
+ // 0.5; its outline stays the photographed tree's, test/outlines.json), grey-green rather than teal, olive where
292
+ // lit. Most old ones fork into two or three sub-leaders at the crown's base (MORPHOLOGY.md 5: "old trees often
293
+ // fork into 2–4 sub-leaders"), the heavy orange limbs the references show; a stem straight to there, and
294
+ // thicker (a mature tree's).
295
+ {
296
+ name: "Scots pine",
297
+ latin: "Pinus sylvestris",
298
+ regions: ["great-britain", "denmark", "netherlands"],
299
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; the
300
+ // photographed open-grown one (test/outlines.json), 0.43. Base: live crown 0.5–0.8 open-grown
301
+ // (photographed, base 0.46), 0.25–0.40 in plantations [est.].
302
+ crownRatio: [0.1, 0.43],
303
+ baseRatio: [0.2, 0.75],
304
+ // Height (docs/MORPHOLOGY.md): 23–27 m on average, over 40 m possible (EUAT); to 40 m (GDB).
305
+ heightRange: [23, 40],
306
+ architecture: "broadleaf",
307
+ height: 19,
308
+ crownRadius: 8,
309
+ crownBase: 9,
310
+ trunkRadius: 0.42,
311
+ shape: "hemispherical",
312
+ crownPeak: 0.4,
313
+ crownRound: 2.4,
314
+ lobes: 0.25,
315
+ foliageDepth: 0.3,
316
+ openness: 0.5,
317
+ stems: 1,
318
+ branchAngle: 65,
319
+ branchAngleSpread: 20,
320
+ bend: -0.1,
321
+ crooked: 0.3,
322
+ leader: 0.2,
323
+ whorl: 0,
324
+ whorlsPerMetre: 0,
325
+ branchiness: 0.6,
326
+ scaffolds: 5,
327
+ limbAngle: [45, 90],
328
+ limbCurve: -5,
329
+ limbCurveBack: 35,
330
+ zigzag: 10,
331
+ fork: 1,
332
+ forkStems: 2,
333
+ forkStemsMost: 3,
334
+ forkSplits: 1,
335
+ forkShare: 0.7,
336
+ pads: 0.85,
337
+ leafKind: "pine",
338
+ clumpSize: 2.0,
339
+ clumpSpread: 0.4,
340
+ leafColor: "#748060",
341
+ leafVariation: 0.25,
342
+ treeVariation: 0.2,
343
+ throughTint: [0.8, 0.95, 0.5],
344
+ barkColor: "#9a6a4a",
345
+ barkPale: 0.45,
346
+ stiffness: 0.8,
347
+ },
348
+ {
349
+ name: "Shrub",
350
+ regions: ["california", "pacific-northwest", "great-britain", "france", "ontario", "netherlands", "denmark"],
351
+ // Height (docs/MORPHOLOGY.md): a course's understorey and rough, 0.5–3 m (MORPHOLOGY.md 30).
352
+ heightRange: [0.5, 3],
353
+ architecture: "shrub",
354
+ height: 2.4,
355
+ crownRadius: 1.6,
356
+ crownBase: 0.1,
357
+ trunkRadius: 0.05,
358
+ shape: "hemispherical",
359
+ foliageDepth: 0.7,
360
+ openness: 0.15,
361
+ stems: 5,
362
+ branchAngle: 30,
363
+ branchAngleSpread: 15,
364
+ bend: 0.2,
365
+ crooked: 0.5,
366
+ leader: 0,
367
+ whorl: 0,
368
+ whorlsPerMetre: 0,
369
+ branchiness: 0.9,
370
+ leafKind: "small",
371
+ clumpSize: 0.55,
372
+ clumpSpread: 0.3,
373
+ leafColor: "#4f6e3b",
374
+ leafVariation: 0.25,
375
+ treeVariation: 0.25,
376
+ throughTint: [0.85, 1.0, 0.5],
377
+ barkColor: "#5a4d42",
378
+ barkPale: 0,
379
+ stiffness: 0.6,
380
+ },
381
+ ];
382
+ /**
383
+ * More species, by the regions Couch Golf Club's courses are in, keyed by a short id. Each row's size is a
384
+ * typical open-grown tree of its kind on a course or in a park there (not a forest-grown record tree),
385
+ * taken from the source named over it; its form, colours and the rest are by eye, from photographs.
386
+ * "UF/IFAS" is Gilman and Watson's tree fact sheets (University of Florida, Environmental Horticulture).
387
+ */
388
+ export const MORE_SPECIES = {
389
+ // UF/IFAS ST-244 (European beech): 50–75 ft tall, 40–60 ft spread. A dense dome, leaves only on its
390
+ // outside, low-branched when open-grown; smooth grey bark.
391
+ // Set against the owner's reference pictures: an open-grown beech's broad dome, widest low, skirted nearly to
392
+ // the ground at its rim (crown from 1.5 m), its limbs seen sweeping out under it (canopyLift 0.3), 24 m across on 18 m (r/H 0.67: UF's 60 ft spread on a 50 ft tree, 0.6, and
393
+ // the 15–25 m open-grown spread of MORPHOLOGY.md), its many limbs spreading wide and low; silver-grey bark
394
+ // (EUAT, #9A9A91 to #B5B5AC), its trunk 1.4 m through (Hemery's open-grown beech for a 24 m crown). Its
395
+ // branches grown all round its limbs: two-ranked, every branch lay in its
396
+ // limb's plane and the crown came out a stack of shelves (its sprays' flat fans are its leaves').
397
+ beech: {
398
+ name: "Beech",
399
+ latin: "Fagus sylvatica",
400
+ regions: ["denmark", "great-britain", "netherlands", "france"],
401
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
402
+ // open-grown 0.35–0.50 [est.] (TSO: spreading, low-branched). Base: live crown 0.85–0.95 open-grown,
403
+ // 0.35–0.50 in a wood [est.].
404
+ crownRatio: [0.14, 0.5],
405
+ baseRatio: [0.05, 0.65],
406
+ // Height (docs/MORPHOLOGY.md): commonly 30–40 m, up to 50 m (EUAT); the record 49.2 m (TSO).
407
+ heightRange: [30, 50],
408
+ architecture: "broadleaf",
409
+ height: 18,
410
+ crownRadius: 12,
411
+ crownBase: 1.5,
412
+ trunkRadius: 0.7,
413
+ shape: "hemispherical",
414
+ crownPeak: 0.2,
415
+ crownRound: 2.2,
416
+ foliageDepth: 0.4,
417
+ openness: 0.12,
418
+ stems: 1,
419
+ forkShare: 0.4,
420
+ fork: 0.8,
421
+ forkSpread: 0.35,
422
+ forkStems: 2,
423
+ forkStemsMost: 3,
424
+ branchAngle: 45,
425
+ branchAngleSpread: 12,
426
+ bend: -0.15,
427
+ crooked: 0.3,
428
+ leader: 0.3,
429
+ whorl: 0,
430
+ whorlsPerMetre: 0,
431
+ branchiness: 1,
432
+ scaffolds: 9,
433
+ buttress: 0.5,
434
+ limbAngle: [35, 95],
435
+ limbCurve: -15,
436
+ limbCurveBack: 22,
437
+ canopyLift: 0.3,
438
+ zigzag: 12,
439
+ leafKind: "broad",
440
+ clumpSize: 2,
441
+ clumpSpread: 0.25,
442
+ leafColor: "#557a36",
443
+ leafVariation: 0.2,
444
+ treeVariation: 0.2,
445
+ throughTint: [0.85, 1.0, 0.45],
446
+ barkColor: "#aeada4",
447
+ barkPale: 0.1,
448
+ stiffness: 0.8,
449
+ },
450
+ // UF/IFAS ST-97 (European birch): 40–50 ft tall, 15–25 ft spread. A narrow open oval with a leader,
451
+ // drooping twigs (some of them hang in tresses), light yellow-green; white bark, dark and fissured at its
452
+ // foot.
453
+ // Set against the owner's reference pictures: 12 m across (the top of 6–12 m, MORPHOLOGY.md) on 18 m (15–25 m),
454
+ // its black rugged base up to 1–3 m (WT: the lowest 0.5–3 m; scans.ts), 0.6 m through (Hemery); full (open 0.3), and its twigs hanging in
455
+ // curtains (weep 0.45: "pendulous, hanging 150–180 degrees ... in long whip-like curtains"), its top open.
456
+ silverBirch: {
457
+ name: "Silver birch",
458
+ latin: "Betula pendula",
459
+ regions: ["great-britain", "denmark", "netherlands"],
460
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
461
+ // open-grown 0.20–0.30 [est.]. Base: live crown 0.6–0.8 open-grown, 0.3–0.5 in a stand [est.].
462
+ crownRatio: [0.1, 0.3],
463
+ baseRatio: [0.2, 0.7],
464
+ // Height (docs/MORPHOLOGY.md): 15–25 m typical, to 30 m (WT).
465
+ heightRange: [15, 30],
466
+ architecture: "broadleaf",
467
+ height: 18,
468
+ crownRadius: 6,
469
+ crownBase: 2.5,
470
+ trunkRadius: 0.3,
471
+ shape: "spherical",
472
+ foliageDepth: 0.3,
473
+ openness: 0.3,
474
+ stems: 1,
475
+ forkShare: 0.55,
476
+ fork: 0.85,
477
+ forkSpread: 0.15,
478
+ forkStems: 2,
479
+ forkStemsMost: 3,
480
+ stemShare: 0.12,
481
+ stemRange: [2, 4],
482
+ branchAngle: 40,
483
+ branchAngleSpread: 12,
484
+ bend: -0.35,
485
+ crooked: 0.3,
486
+ leader: 0.48,
487
+ whorl: 0,
488
+ whorlsPerMetre: 0,
489
+ branchiness: 0.9,
490
+ scaffolds: 8,
491
+ boleStubs: 0.7,
492
+ buttress: 0.25,
493
+ limbAngle: [32, 55],
494
+ limbCurve: 12,
495
+ limbCurveBack: -35,
496
+ zigzag: 15,
497
+ leafKind: "small",
498
+ clumpSize: 1.2,
499
+ clumpSpread: 0.35,
500
+ leafColor: "#7b9a48",
501
+ leafVariation: 0.3,
502
+ treeVariation: 0.25,
503
+ throughTint: [0.95, 1.0, 0.5],
504
+ barkColor: "#d4d0c4",
505
+ barkPale: 0.3,
506
+ stiffness: 0.35,
507
+ weep: 0.45,
508
+ },
509
+ // UF/IFAS ST-70 (common alder): 40–50 ft tall, 20–40 ft spread. Conical to oval on a leader that keeps
510
+ // on, by water; dark green, dark bark.
511
+ blackAlder: {
512
+ name: "Black alder",
513
+ latin: "Alnus glutinosa",
514
+ regions: ["denmark", "netherlands", "france"],
515
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
516
+ // open-grown 0.15–0.25 [est.]. Base: live crown 0.6–0.8 open-grown, 0.35–0.55 in a stand [est.].
517
+ crownRatio: [0.09, 0.25],
518
+ baseRatio: [0.2, 0.65],
519
+ // Height (docs/MORPHOLOGY.md): usually 15–25 m [est.], to 35 m (TSO).
520
+ heightRange: [15, 35],
521
+ architecture: "broadleaf",
522
+ height: 15,
523
+ crownRadius: 4,
524
+ crownBase: 2.5,
525
+ trunkRadius: 0.25,
526
+ shape: "conical",
527
+ foliageDepth: 0.3,
528
+ openness: 0.3,
529
+ stems: 1,
530
+ forkShare: 0.28,
531
+ fork: 0.72,
532
+ forkSpread: 0.2,
533
+ forkStems: 2,
534
+ forkStemsMost: 3,
535
+ stemShare: 0.12,
536
+ stemRange: [2, 4],
537
+ branchAngle: 55,
538
+ branchAngleSpread: 12,
539
+ bend: 0,
540
+ crooked: 0.3,
541
+ leader: 0.85,
542
+ whorl: 0,
543
+ whorlsPerMetre: 0,
544
+ branchiness: 0.8,
545
+ boleStubs: 0.6,
546
+ limbAngle: [55, 75],
547
+ limbCurve: 0,
548
+ limbCurveBack: 0,
549
+ zigzag: 8,
550
+ scaffolds: 10,
551
+ buttress: 0.3,
552
+ leafKind: "broad",
553
+ clumpSize: 1.2,
554
+ clumpSpread: 0.3,
555
+ leafColor: "#4a6a35",
556
+ leafVariation: 0.2,
557
+ treeVariation: 0.2,
558
+ throughTint: [0.8, 1.0, 0.45],
559
+ barkColor: "#4f4943",
560
+ barkPale: 0,
561
+ stiffness: 0.6,
562
+ },
563
+ // UF/IFAS ST-501 (Lombardy poplar): 40–60 ft tall, 10–12 ft spread (taller in Europe's lines of them).
564
+ // A column of short branches that all turn up, from near the ground.
565
+ lombardyPoplar: {
566
+ name: "Lombardy poplar",
567
+ latin: "Populus nigra 'Italica'",
568
+ regions: ["france", "netherlands"],
569
+ // Real crowns (docs/MORPHOLOGY.md): the clone's column, r/H 0.06–0.10; TALLO's species (not split by
570
+ // clone) 0.10–0.21, so up to 0.16 [est.]. Base: branched from low on the stem [est.].
571
+ crownRatio: [0.05, 0.16],
572
+ baseRatio: [0.03, 0.5],
573
+ // Height (docs/MORPHOLOGY.md): about 15 m at 25 years, the largest 30–35 m (TSO; the UK champion 38.5 m).
574
+ heightRange: [15, 35],
575
+ architecture: "broadleaf",
576
+ height: 22,
577
+ crownRadius: 2.5,
578
+ crownBase: 2,
579
+ trunkRadius: 0.4,
580
+ shape: "tendFlame",
581
+ foliageDepth: 0.45,
582
+ openness: 0.25,
583
+ stems: 1,
584
+ branchAngle: 15,
585
+ branchAngleSpread: 6,
586
+ bend: 0.9,
587
+ crooked: 0.15,
588
+ leader: 0.85,
589
+ whorl: 0,
590
+ whorlsPerMetre: 0,
591
+ branchiness: 0.9,
592
+ limbAngle: [10, 25],
593
+ limbCurve: 8,
594
+ zigzag: 5,
595
+ scaffolds: 12,
596
+ buttress: 0.35,
597
+ leafKind: "broad",
598
+ clumpSize: 0.9,
599
+ clumpSpread: 0.25,
600
+ leafColor: "#6a8a3e",
601
+ leafVariation: 0.25,
602
+ treeVariation: 0.2,
603
+ throughTint: [0.9, 1.0, 0.45],
604
+ barkColor: "#6a6258",
605
+ barkPale: 0.1,
606
+ stiffness: 0.4,
607
+ },
608
+ // UF/IFAS ENH-734 (weeping willow): 30–50 ft tall and as wide. A broad weeping dome, light yellow-green,
609
+ // by lakes: limbs that rise and arch, and from them a curtain of whips hanging nearly to the ground.
610
+ weepingWillow: {
611
+ name: "Weeping willow",
612
+ latin: "Salix × sepulcralis",
613
+ regions: ["france", "denmark", "netherlands"],
614
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): open-grown r/H 0.45–0.60; crowded by water 0.3 [est.].
615
+ // Base: its curtains hang near the ground [est.].
616
+ crownRatio: [0.3, 0.6],
617
+ baseRatio: [0, 0.4],
618
+ // Height (docs/MORPHOLOGY.md): 15–23 m; the largest 'Chrysocoma' 23 m (TSO).
619
+ heightRange: [15, 23],
620
+ architecture: "broadleaf",
621
+ height: 11,
622
+ crownRadius: 7.5,
623
+ crownBase: 1,
624
+ trunkRadius: 0.5,
625
+ shape: "hemispherical",
626
+ foliageDepth: 0.35,
627
+ openness: 0.35,
628
+ stems: 1,
629
+ forkShare: 0.4,
630
+ fork: 0.7,
631
+ forkSpread: 0.3,
632
+ forkStems: 2,
633
+ forkStemsMost: 3,
634
+ branchAngle: 50,
635
+ branchAngleSpread: 15,
636
+ bend: 0.1,
637
+ crooked: 0.35,
638
+ leader: 0.1,
639
+ whorl: 0,
640
+ whorlsPerMetre: 0,
641
+ branchiness: 0.85,
642
+ limbAngle: [40, 45],
643
+ limbCurve: 5,
644
+ limbCurveBack: -35,
645
+ zigzag: 5,
646
+ buttress: 0.4,
647
+ leafKind: "narrow",
648
+ clumpSize: 1.4,
649
+ clumpSpread: 0.35,
650
+ leafColor: "#8ea655",
651
+ leafVariation: 0.25,
652
+ treeVariation: 0.2,
653
+ throughTint: [0.95, 1.0, 0.5],
654
+ barkColor: "#6b5e4e",
655
+ barkPale: 0,
656
+ stiffness: 0.1,
657
+ weep: 0.85,
658
+ },
659
+ // The Conservation Volunteers' tree library (hawthorn): typically 5–8 m. A small crooked tree, or a hedge
660
+ // left to grow up; dense small leaves, dark.
661
+ hawthorn: {
662
+ name: "Hawthorn",
663
+ latin: "Crataegus monogyna",
664
+ regions: ["great-britain", "denmark", "netherlands", "france"],
665
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 3–10 m lower quartile (its
666
+ // height); open-grown 0.40–0.60 [est.]. Base: live crown 0.7–0.9 [est.].
667
+ crownRatio: [0.17, 0.6],
668
+ baseRatio: [0.1, 0.3],
669
+ // Height (docs/MORPHOLOGY.md): usually 5–10 m [est.], to about 15 m (WT).
670
+ heightRange: [5, 15],
671
+ architecture: "broadleaf",
672
+ height: 6,
673
+ crownRadius: 3,
674
+ crownBase: 1.4,
675
+ trunkRadius: 0.15,
676
+ shape: "spherical",
677
+ foliageDepth: 0.45,
678
+ openness: 0.2,
679
+ stems: 1,
680
+ forkShare: 0.5,
681
+ fork: 0.7,
682
+ forkSpread: 0.15,
683
+ forkStems: 2,
684
+ forkStemsMost: 3,
685
+ branchAngle: 55,
686
+ branchAngleSpread: 18,
687
+ bend: -0.05,
688
+ crooked: 0.85,
689
+ leader: 0.1,
690
+ whorl: 0,
691
+ whorlsPerMetre: 0,
692
+ branchiness: 0.9,
693
+ buttress: 0.55,
694
+ limbAngle: [45, 70],
695
+ limbCurve: -10,
696
+ limbCurveBack: 10,
697
+ zigzag: 25,
698
+ leafKind: "small",
699
+ clumpSize: 0.7,
700
+ clumpSpread: 0.35,
701
+ leafColor: "#4e6b34",
702
+ leafVariation: 0.25,
703
+ treeVariation: 0.25,
704
+ throughTint: [0.85, 1.0, 0.45],
705
+ barkColor: "#5e5248",
706
+ barkPale: 0,
707
+ stiffness: 0.7,
708
+ },
709
+ // RHS (Ulex europaeus): 1.5–2.5 m tall and across. A dense spiny heath shrub, dark green spines (the
710
+ // yellow flowers are spring's, left out).
711
+ gorse: {
712
+ name: "Gorse",
713
+ latin: "Ulex europaeus",
714
+ regions: ["great-britain", "denmark", "netherlands"],
715
+ // Height (docs/MORPHOLOGY.md): usually about 2 m, up to 4 m left uncut (BSBI).
716
+ heightRange: [1.5, 4],
717
+ architecture: "shrub",
718
+ height: 1.6,
719
+ crownRadius: 1.0,
720
+ crownBase: 0.15,
721
+ trunkRadius: 0.03,
722
+ shape: "hemispherical",
723
+ foliageDepth: 1,
724
+ openness: 0.08,
725
+ stems: 12,
726
+ branchAngle: 35,
727
+ branchAngleSpread: 15,
728
+ bend: 0.15,
729
+ crooked: 0.7,
730
+ leader: 0,
731
+ whorl: 0,
732
+ whorlsPerMetre: 0,
733
+ branchiness: 1,
734
+ crownPeak: 0.05,
735
+ crownRound: 2.2,
736
+ leafKind: "pine",
737
+ clumpSize: 0.3,
738
+ clumpSpread: 0.3,
739
+ leafColor: "#41572c",
740
+ leafVariation: 0.2,
741
+ treeVariation: 0.2,
742
+ throughTint: [0.75, 0.95, 0.45],
743
+ barkColor: "#5a4a3a",
744
+ barkPale: 0,
745
+ stiffness: 0.65,
746
+ },
747
+ // NC State Extension (Picea sitchensis): 20–30 ft wide; the Gymnosperm Database for its form (a conical
748
+ // crown of level boughs). A big coastal conifer, blue-green, in Danish plantations and the PNW.
749
+ sitkaSpruce: {
750
+ name: "Sitka spruce",
751
+ latin: "Picea sitchensis",
752
+ regions: ["denmark", "pacific-northwest"],
753
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's only 10 records (14–33 m tall),
754
+ // their quartiles 0.13–0.21; open-grown 0.15–0.22 [est.]. Base: long trunks with no lower limbs in the
755
+ // forest (FEIS), live crown 0.30–0.50 in plantations, 0.85–1.0 open-grown [est.].
756
+ crownRatio: [0.13, 0.22],
757
+ baseRatio: [0, 0.7],
758
+ // Height (docs/MORPHOLOGY.md): British plantations 25–40 m at harvest [est.]; in Europe rarely over 50 m
759
+ // (EUAT), in its own range to 80 m (GDB).
760
+ heightRange: [25, 80],
761
+ architecture: "conifer",
762
+ height: 28,
763
+ crownRadius: 4.5,
764
+ crownBase: 2.0,
765
+ trunkRadius: 0.5,
766
+ shape: "conical",
767
+ foliageDepth: 0.5,
768
+ openness: 0.2,
769
+ stems: 1,
770
+ branchAngle: 80,
771
+ branchAngleSpread: 8,
772
+ bend: -0.2,
773
+ crooked: 0.15,
774
+ leader: 1,
775
+ whorl: 5,
776
+ whorlsPerMetre: 1.2,
777
+ branchiness: 0.95,
778
+ limbAngle: [75, 100],
779
+ limbCurve: -10,
780
+ limbCurveBack: 20,
781
+ sprayHang: 0.45,
782
+ buttress: 0.6,
783
+ leafKind: "needle",
784
+ clumpSize: 1.1,
785
+ clumpSpread: 0.25,
786
+ leafColor: "#3e5f52",
787
+ leafVariation: 0.2,
788
+ treeVariation: 0.15,
789
+ throughTint: [0.7, 0.9, 0.55],
790
+ barkColor: "#6b5f57",
791
+ barkPale: 0,
792
+ stiffness: 0.85,
793
+ },
794
+ // UF/IFAS ENH-627 (Pinus nigra): 40–60 ft in the landscape; Virginia Tech Extension: about 30 ft spread.
795
+ // Dark and dense, the pine of the Dutch dunes and Danish coasts, broad-crowned when old; grey-brown plated
796
+ // bark, pinker up the trunk.
797
+ corsicanPine: {
798
+ name: "Corsican pine",
799
+ latin: "Pinus nigra",
800
+ regions: ["netherlands", "denmark", "france", "great-britain"],
801
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m quartiles, wider than
802
+ // the open-grown 0.15–0.22 [est.]. Base: live crown 0.6–0.8 open-grown, 0.25–0.40 in plantations
803
+ // [est.].
804
+ crownRatio: [0.16, 0.26],
805
+ baseRatio: [0.2, 0.75],
806
+ // Height (docs/MORPHOLOGY.md): UK plantations 25–35 m [est.]; commonly 30 m, exceptionally 40 m (EUAT); to
807
+ // 50 m (GDB).
808
+ heightRange: [25, 50],
809
+ architecture: "conifer",
810
+ height: 18,
811
+ crownRadius: 4.5,
812
+ crownBase: 5.5,
813
+ trunkRadius: 0.35,
814
+ shape: "conical",
815
+ crownPeak: 0.4,
816
+ foliageDepth: 0.65,
817
+ openness: 0.4,
818
+ stems: 1,
819
+ branchAngle: 70,
820
+ branchAngleSpread: 15,
821
+ bend: 0.25,
822
+ crooked: 0.1,
823
+ leader: 0.8,
824
+ whorl: 4,
825
+ whorlsPerMetre: 1.0,
826
+ branchiness: 0.95,
827
+ buttress: 0.3,
828
+ limbAngle: [55, 90],
829
+ limbCurve: 0,
830
+ limbCurveBack: 15,
831
+ sprayHang: 0,
832
+ crownRound: 2.4,
833
+ leafKind: "pine",
834
+ clumpSize: 1.6,
835
+ clumpSpread: 0.35,
836
+ leafColor: "#354d32",
837
+ leafVariation: 0.2,
838
+ treeVariation: 0.15,
839
+ throughTint: [0.7, 0.9, 0.5],
840
+ barkColor: "#6e655d",
841
+ barkPale: 0.25,
842
+ stiffness: 0.85,
843
+ },
844
+ // UF/IFAS (Pseudotsuga menziesii): 40–60 ft tall, 15–25 ft spread in a landscape; taller on the PNW's
845
+ // courses, so 30 m here. A tall conifer, somewhat open, its boughs drooping and their tips turned up.
846
+ douglasFir: {
847
+ name: "Douglas fir",
848
+ latin: "Pseudotsuga menziesii",
849
+ regions: ["pacific-northwest", "denmark"],
850
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
851
+ // open-grown 0.15–0.22 [est.]. Base: branches near the ground when young and open-grown (FEIS), live
852
+ // crown 0.30–0.50 in managed stands [est.].
853
+ crownRatio: [0.08, 0.22],
854
+ baseRatio: [0, 0.7],
855
+ // Height (docs/MORPHOLOGY.md): plantations in Europe 35–55 m [est.]; old growth commonly 76 m (FEIS),
856
+ // exceptionally over 100 m (EUAT).
857
+ heightRange: [35, 100],
858
+ architecture: "conifer",
859
+ height: 30,
860
+ crownRadius: 5,
861
+ crownBase: 3,
862
+ trunkRadius: 0.55,
863
+ shape: "conical",
864
+ foliageDepth: 0.45,
865
+ openness: 0.45,
866
+ stems: 1,
867
+ branchAngle: 75,
868
+ branchAngleSpread: 10,
869
+ bend: -0.3,
870
+ crooked: 0.3,
871
+ leader: 0.9,
872
+ whorl: 5,
873
+ whorlsPerMetre: 1.0,
874
+ branchiness: 0.75,
875
+ buttress: 0.45,
876
+ limbAngle: [65, 115],
877
+ limbCurve: -24,
878
+ limbCurveBack: 48,
879
+ sprayHang: 0.45,
880
+ leafKind: "needle",
881
+ clumpSize: 1.3,
882
+ clumpSpread: 0.3,
883
+ leafColor: "#415e38",
884
+ leafVariation: 0.2,
885
+ treeVariation: 0.15,
886
+ throughTint: [0.7, 0.9, 0.5],
887
+ barkColor: "#5e4636",
888
+ barkPale: 0,
889
+ stiffness: 0.85,
890
+ },
891
+ // UF/IFAS ST-631 (Thuja plicata): 50–70 ft tall, 30–40 ft spread. A PNW conifer with drooping boughs and
892
+ // hanging sprays of scale leaves, reddish fibrous bark. Its buttressed foot is not grown (the trunk tapers
893
+ // by the pipe model alone).
894
+ westernRedCedar: {
895
+ name: "Western red cedar",
896
+ latin: "Thuja plicata",
897
+ regions: ["pacific-northwest"],
898
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's lower quartile over 25 m and
899
+ // upper quartile at 3–10 m (no 10–18 m band). Base: live crown 0.85–1.0 open-grown, 0.4–0.6 in a stand
900
+ // [est.].
901
+ crownRatio: [0.1, 0.27],
902
+ baseRatio: [0, 0.6],
903
+ // Height (docs/MORPHOLOGY.md): ornamental and UK trees 20–35 m [est.]; 50(–70) m (GDB).
904
+ heightRange: [20, 70],
905
+ architecture: "conifer",
906
+ height: 20,
907
+ crownRadius: 4.5,
908
+ crownBase: 1,
909
+ trunkRadius: 0.5,
910
+ shape: "conical",
911
+ foliageDepth: 0.5,
912
+ openness: 0.15,
913
+ stems: 1,
914
+ branchAngle: 80,
915
+ branchAngleSpread: 16,
916
+ bend: -0.55,
917
+ crooked: 0.2,
918
+ leader: 0.85,
919
+ whorl: 3,
920
+ whorlsPerMetre: 2.6,
921
+ branchiness: 0.95,
922
+ limbAngle: [65, 120],
923
+ limbCurve: -40,
924
+ limbCurveBack: 60,
925
+ sprayHang: 0.62,
926
+ buttress: 0.8,
927
+ leafKind: "small",
928
+ clumpSize: 1.1,
929
+ clumpSpread: 0.3,
930
+ leafColor: "#3f5e36",
931
+ leafVariation: 0.2,
932
+ treeVariation: 0.15,
933
+ throughTint: [0.75, 0.95, 0.45],
934
+ barkColor: "#825842",
935
+ barkPale: 0.1,
936
+ stiffness: 0.75,
937
+ },
938
+ // UF/IFAS ENH-383 (Hesperocyparis macrocarpa): 40–70 ft tall, 30–40 ft spread. On the coast, wind-shaped:
939
+ // a few great limbs holding a broad flat-topped mass of dark scale leaves.
940
+ // Set against the owner's reference pictures: a headland tree, low, wide and flat-topped, 24 m across on 12 m
941
+ // (r/H 1.0, the top of MORPHOLOGY.md's 0.50–1.00; GDB: "often wider than tall"), widest high and flat
942
+ // across its top (crownRound 5); a short massive trunk (1.5 m through) forking low into a few heavy limbs
943
+ // that run out at 55–85 degrees, bare under the canopy (canopyLift 0.8), its foliage in thin pads on them
944
+ // (pads 1) with sky between (open 0.45). Fitted narrow (a sheltered tree inland), it is neither lifted nor
945
+ // so thinly padded (grow.ts).
946
+ montereyCypress: {
947
+ name: "Monterey cypress",
948
+ latin: "Hesperocyparis macrocarpa",
949
+ regions: ["california"],
950
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): GDB: broad-spreading, wider than tall on
951
+ // headlands, more upright where sheltered; 0.50–1.00 exposed, 0.25 sheltered [est.]. Base: GDB's few
952
+ // major limbs near the trunk's foot, live crown 0.6–1.0 [est.].
953
+ crownRatio: [0.25, 1],
954
+ baseRatio: [0, 0.4],
955
+ // Height (docs/MORPHOLOGY.md): no low end is given (its specimen's); typical maximum 25 m, planted trees to
956
+ // 31 m in the US and 48 m in San Francisco (GDB).
957
+ heightRange: [12, 48],
958
+ architecture: "broadleaf",
959
+ height: 12,
960
+ crownRadius: 12,
961
+ crownBase: 3.5,
962
+ trunkRadius: 0.75,
963
+ shape: "inverseConical",
964
+ crownPeak: 0.7,
965
+ crownRound: 5,
966
+ lobes: 0.6,
967
+ foliageDepth: 0.2,
968
+ openness: 0.45,
969
+ stems: 1,
970
+ forkShare: 1,
971
+ fork: 0.6,
972
+ forkSpread: 0.3,
973
+ forkStems: 3,
974
+ forkStemsMost: 3,
975
+ branchAngle: 45,
976
+ branchAngleSpread: 12,
977
+ bend: 0.15,
978
+ crooked: 0.7,
979
+ leader: 0,
980
+ whorl: 0,
981
+ whorlsPerMetre: 0,
982
+ branchiness: 0.8,
983
+ scaffolds: 4,
984
+ limbAngle: [55, 85],
985
+ limbCurve: -20,
986
+ limbCurveBack: 10,
987
+ zigzag: 5,
988
+ pads: 1,
989
+ canopyLift: 0.8,
990
+ leafKind: "small",
991
+ clumpSize: 1.5,
992
+ clumpSpread: 0.35,
993
+ leafColor: "#2f4a2c",
994
+ leafVariation: 0.2,
995
+ treeVariation: 0.2,
996
+ throughTint: [0.7, 0.9, 0.45],
997
+ barkColor: "#6e645a",
998
+ barkPale: 0.1,
999
+ stiffness: 0.85,
1000
+ },
1001
+ // Britannica (Monterey pine): commonly 12–18 m within 25 years of planting; State Herbarium of South
1002
+ // Australia's Plant Selector: 8–10 m spread. An irregular rounded crown going flat, long grass-green
1003
+ // needles, dark furrowed bark.
1004
+ montereyPine: {
1005
+ name: "Monterey pine",
1006
+ latin: "Pinus radiata",
1007
+ regions: ["california"],
1008
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
1009
+ // open-grown 0.30–0.45 [est.]. Base: GDB's stands' crowns 10–20 % of height, open-grown live crown
1010
+ // 0.6–0.9 [est.].
1011
+ crownRatio: [0.12, 0.45],
1012
+ baseRatio: [0.1, 0.9],
1013
+ // Height (docs/MORPHOLOGY.md): 15–30 m typical (GDB), 15–35 m (FEIS); occasionally 64 m (GDB).
1014
+ heightRange: [15, 64],
1015
+ architecture: "broadleaf",
1016
+ height: 20,
1017
+ crownRadius: 7.5,
1018
+ crownBase: 4,
1019
+ trunkRadius: 0.45,
1020
+ shape: "spherical",
1021
+ crownPeak: 0.5,
1022
+ crownRound: 3.2,
1023
+ lobes: 0.6,
1024
+ foliageDepth: 0.5,
1025
+ openness: 0.35,
1026
+ stems: 1,
1027
+ branchAngle: 60,
1028
+ branchAngleSpread: 18,
1029
+ bend: 0.25,
1030
+ crooked: 0.6,
1031
+ leader: 0.15,
1032
+ whorl: 0,
1033
+ whorlsPerMetre: 0,
1034
+ branchiness: 0.9,
1035
+ buttress: 0.4,
1036
+ limbAngle: [50, 85],
1037
+ limbCurve: 0,
1038
+ limbCurveBack: 20,
1039
+ zigzag: 10,
1040
+ pads: 0.5,
1041
+ // (Its foliage in distinct rounded clumps at its branches' ends, sky between them, some branches bare: `clusters`.)
1042
+ clusters: 0.7,
1043
+ leafKind: "pine",
1044
+ clumpSize: 1.9,
1045
+ clumpSpread: 0.4,
1046
+ leafColor: "#3c5e2c",
1047
+ leafVariation: 0.25,
1048
+ treeVariation: 0.2,
1049
+ throughTint: [0.75, 0.95, 0.45],
1050
+ barkColor: "#4f463f",
1051
+ barkPale: 0.1,
1052
+ stiffness: 0.8,
1053
+ },
1054
+ // California Native Plant Society, San Diego (Pinus torreyana): 40–70 ft tall, 35 ft spread, an open
1055
+ // picturesque form. Few crooked limbs, long grey-green needles in tufts, so grown as a broadleaf, with
1056
+ // needles. Coastal ones lean, wind-sculpted on the bluffs (MORPHOLOGY.md 19, the owner's reference): each
1057
+ // grown leaning 16 degrees its own way, its crown back over its foot (`lean`); its limbs less looped
1058
+ // and its brushes smaller and more of them (0.9 m clumps, branchier), so its crown is layered tufts on crooked
1059
+ // limbs and not a broad leaf's lobes. Set
1060
+ // against the owner's reference pictures (lab/references): a crown wider than it is tall (r/H 0.67, the top
1061
+ // of docs/MORPHOLOGY.md's 0.40–0.70), from low limbs that run out level and turn up at their ends, open,
1062
+ // the sky between its brushes, which are grey-green.
1063
+ torreyPine: {
1064
+ name: "Torrey pine",
1065
+ latin: "Pinus torreyana",
1066
+ regions: ["california"],
1067
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): open-grown r/H 0.40–0.70 from the species notes; the
1068
+ // stand-grown end at 0.25 [est.]. Base: crowns from low on the bluffs to high in a stand [est.].
1069
+ crownRatio: [0.25, 0.7],
1070
+ baseRatio: [0.1, 0.55],
1071
+ // Height (docs/MORPHOLOGY.md): natural trees often 5–12 m [est.]; to 15(–23) m, the tallest cultivated
1072
+ // (GDB).
1073
+ heightRange: [5, 23],
1074
+ architecture: "broadleaf",
1075
+ height: 12,
1076
+ crownRadius: 8,
1077
+ crownBase: 2.5,
1078
+ trunkRadius: 0.38,
1079
+ shape: "hemispherical",
1080
+ crownPeak: 0.25,
1081
+ crownRound: 3,
1082
+ lobes: 0.5,
1083
+ foliageDepth: 0.15,
1084
+ openness: 0.8,
1085
+ stems: 1,
1086
+ branchAngle: 55,
1087
+ branchAngleSpread: 20,
1088
+ bend: -0.2,
1089
+ crooked: 0.45,
1090
+ lean: 16,
1091
+ leader: 0.05,
1092
+ whorl: 0,
1093
+ whorlsPerMetre: 0,
1094
+ branchiness: 0.8,
1095
+ scaffolds: 5,
1096
+ limbAngle: [75, 105],
1097
+ limbCurve: -10,
1098
+ limbCurveBack: 20,
1099
+ zigzag: 6,
1100
+ pads: 0.85,
1101
+ leafKind: "pine",
1102
+ clumpSize: 0.9,
1103
+ clumpSpread: 0.45,
1104
+ leafColor: "#728262",
1105
+ leafVariation: 0.25,
1106
+ treeVariation: 0.25,
1107
+ throughTint: [0.85, 0.95, 0.55],
1108
+ barkColor: "#76604f",
1109
+ barkPale: 0.2,
1110
+ stiffness: 0.75,
1111
+ },
1112
+ // CSU Stanislaus campus tree map, after Cal Poly's SelecTree (Pinus halepensis): 30–60 ft tall, 20–40 ft
1113
+ // wide. The high-crowned pine of Los Angeles' parks and courses: an irregular open crown of crooked
1114
+ // boughs, grey-green, grown as a broadleaf with needles; grey bark. It leans in the wild; the grower
1115
+ // stands it upright. Its crown's reach and base are a photographed open-grown tree's (test/outlines.json).
1116
+ aleppoPine: {
1117
+ name: "Aleppo pine",
1118
+ latin: "Pinus halepensis",
1119
+ regions: ["california", "france"],
1120
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; the
1121
+ // photographed open-grown one (test/outlines.json), 0.48. Base: live crown 0.4–0.7 (EUAT), the
1122
+ // photographed one's base 0.125.
1123
+ crownRatio: [0.18, 0.48],
1124
+ baseRatio: [0.12, 0.6],
1125
+ // Height (docs/MORPHOLOGY.md): 15–25 m (GDB); up to 20 m (EUAT).
1126
+ heightRange: [15, 25],
1127
+ architecture: "broadleaf",
1128
+ height: 15,
1129
+ crownRadius: 6.5,
1130
+ crownBase: 3,
1131
+ trunkRadius: 0.35,
1132
+ shape: "hemispherical",
1133
+ crownRound: 2.2,
1134
+ lobes: 0.5,
1135
+ foliageDepth: 0.2,
1136
+ openness: 0.6,
1137
+ stems: 1,
1138
+ branchAngle: 60,
1139
+ branchAngleSpread: 18,
1140
+ bend: 0.2,
1141
+ crooked: 0.85,
1142
+ leader: 0.35,
1143
+ whorl: 0,
1144
+ whorlsPerMetre: 0,
1145
+ branchiness: 0.9,
1146
+ buttress: 0.25,
1147
+ scaffolds: 7,
1148
+ limbAngle: [45, 80],
1149
+ limbCurve: 0,
1150
+ limbCurveBack: 30,
1151
+ zigzag: 10,
1152
+ pads: 0.7,
1153
+ leafKind: "pine",
1154
+ clumpSize: 1.8,
1155
+ clumpSpread: 0.4,
1156
+ leafColor: "#66795a",
1157
+ leafVariation: 0.25,
1158
+ treeVariation: 0.2,
1159
+ throughTint: [0.8, 0.95, 0.55],
1160
+ barkColor: "#7a7068",
1161
+ barkPale: 0.15,
1162
+ stiffness: 0.75,
1163
+ },
1164
+ // UF/IFAS ST-472 (Pinus pinea): 35–60 ft tall, 35–45 ft spread. The umbrella pine: a stem that forks a
1165
+ // third of the way up into a few crooked limbs rising in V-forks and spreading under a flat wide crown of
1166
+ // dense cushions, some three times as wide as deep, its underside flat and bare; so grown as a broadleaf,
1167
+ // with needles; orange-brown plated bark. Its reach as old trees photographed open-grown have it
1168
+ // (test/outlines.json, and the owner's references: wider than UF's landscape trees). As the references and
1169
+ // the owner's photographs: a thick short stem forking into three thick sinuous limbs, a shallow smooth
1170
+ // canopy of many smaller cushions.
1171
+ stonePine: {
1172
+ name: "Stone pine",
1173
+ latin: "Pinus pinea",
1174
+ regions: ["california", "france"],
1175
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; the
1176
+ // photographed open-grown one (test/outlines.json), 0.74. Base: no low branches (EUAT), live crown
1177
+ // 0.25–0.45 when mature [est.], the photographed one's base 0.25.
1178
+ crownRatio: [0.22, 0.74],
1179
+ baseRatio: [0.25, 0.75],
1180
+ // Height (docs/MORPHOLOGY.md): 12–25(–35) m (GDB); up to 25–30 m (EUAT).
1181
+ heightRange: [12, 35],
1182
+ architecture: "broadleaf",
1183
+ height: 15,
1184
+ crownRadius: 11.5,
1185
+ crownBase: 8,
1186
+ trunkRadius: 0.7,
1187
+ shape: "hemispherical",
1188
+ crownPeak: 0.45,
1189
+ crownRound: 4,
1190
+ foliageDepth: 0.2,
1191
+ openness: 0.25,
1192
+ stems: 1,
1193
+ branchAngle: 45,
1194
+ branchAngleSpread: 10,
1195
+ bend: 0.05,
1196
+ crooked: 0.5,
1197
+ leader: 0,
1198
+ whorl: 0,
1199
+ whorlsPerMetre: 0,
1200
+ branchiness: 0.8,
1201
+ scaffolds: 5,
1202
+ limbAngle: [25, 40],
1203
+ limbCurve: -30,
1204
+ limbCurveBack: -10,
1205
+ zigzag: 5,
1206
+ canopyLift: 0.6,
1207
+ fork: 0.66,
1208
+ forkSpread: 0.08,
1209
+ forkStems: 3,
1210
+ forkStemsMost: 3,
1211
+ forkSplits: 2,
1212
+ leafKind: "pine",
1213
+ clumpSize: 2.2,
1214
+ clumpSpread: 0.35,
1215
+ leafColor: "#476a2e",
1216
+ leafVariation: 0.2,
1217
+ treeVariation: 0.2,
1218
+ throughTint: [0.8, 0.95, 0.5],
1219
+ barkColor: "#8a5a3e",
1220
+ barkPale: 0.3,
1221
+ stiffness: 0.8,
1222
+ },
1223
+ // UF/IFAS, Gilman and Watson's fact sheet (Phoenix canariensis): 40–60 ft tall, 20–40 ft spread, a trunk
1224
+ // to 3 ft across. California's grand avenue palm: a thick trunk patterned with old leaf bases, a big round
1225
+ // head of arching pinnate fronds 3–6 m long (UF: 130–150 on a healthy palm; a course's are cut back), the
1226
+ // old ones hanging. On courses mostly pineapple cut (MORPHOLOGY.md). As the owner's reference pictures
1227
+ // have a course's: 12 m, its head 12 m across (the top of 8–12 m) and deep, its fronds down to 3.5 m, a
1228
+ // trunk over a metre through; its fronds arching over in a fountain (bend -0.8; "the rachis arches along its
1229
+ // whole length; tips droop"), their leaflets reaching 0.55 m either side (20–70 cm, in a V).
1230
+ canaryDatePalm: {
1231
+ name: "Canary date palm",
1232
+ latin: "Phoenix canariensis",
1233
+ regions: ["california"],
1234
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): r/H 0.30–0.60, falling with age as the trunk grows;
1235
+ // tall old palms to 0.2 [est.]. Base: the head's lowest fronds, half to most of the height [est.].
1236
+ crownRatio: [0.2, 0.6],
1237
+ baseRatio: [0.2, 0.85],
1238
+ // Height (docs/MORPHOLOGY.md): UF/IFAS 40–60 ft (12–18 m); old planted palms 15–20 m [est.]; 6 m in the
1239
+ // Santa Monica range, potentially 15 m or more (SMM).
1240
+ heightRange: [12, 20],
1241
+ architecture: "palm",
1242
+ height: 12,
1243
+ crownRadius: 6,
1244
+ crownBase: 3.5,
1245
+ trunkRadius: 0.55,
1246
+ shape: "spherical",
1247
+ foliageDepth: 0.5,
1248
+ openness: 0.3,
1249
+ stems: 1,
1250
+ branchAngle: 60,
1251
+ branchAngleSpread: 20,
1252
+ bend: -0.8,
1253
+ crooked: 0.2,
1254
+ leader: 1,
1255
+ whorl: 80,
1256
+ whorlsPerMetre: 0,
1257
+ branchiness: 1,
1258
+ buttress: 0.15,
1259
+ leafKind: "frond",
1260
+ clumpSize: 0.8,
1261
+ clumpSpread: 0.2,
1262
+ leafColor: "#556f2f",
1263
+ leafVariation: 0.2,
1264
+ treeVariation: 0.15,
1265
+ throughTint: [0.85, 1.0, 0.45],
1266
+ barkColor: "#8a7b66",
1267
+ barkPale: 0,
1268
+ stiffness: 0.55,
1269
+ palmLeaf: "feather",
1270
+ pruning: "pineapple",
1271
+ deadColor: "#9c8664",
1272
+ skirt: 0.35,
1273
+ frondWidth: 0.7,
1274
+ },
1275
+ // UF/IFAS, Gilman and Watson's fact sheet (Washingtonia robusta): 80–100 ft tall, 10–15 ft spread, a trunk
1276
+ // about 1 ft across. The tall thin palm of Los Angeles' streets and courses: a pole flared at its foot with a
1277
+ // small tight head of 30 or so fan leaves on long stalks; skinned on courses, a straw skirt in the wild.
1278
+ // As the owner's reference pictures have a course's: 18 m (SMM: under 16 m in the range, to 25 m), its head
1279
+ // 6 m across and 6 m deep (blades 0.9–1.5 m across on stalks of 1.2–1.8 m, UF), its leaves held out round a
1280
+ // collar of boots down the top 2 m of its stem (palm.ts), a trunk half a metre through.
1281
+ mexicanFanPalm: {
1282
+ name: "Mexican fan palm",
1283
+ latin: "Washingtonia robusta",
1284
+ regions: ["california"],
1285
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): r/H 0.05–0.12; young palms wider, to 0.2 [est.]. Base:
1286
+ // a small head at the top of a tall trunk [est.].
1287
+ crownRatio: [0.05, 0.2],
1288
+ baseRatio: [0.4, 0.92],
1289
+ // Height (docs/MORPHOLOGY.md): under 16 m in the Santa Monica range, old cultivated palms over 30 m (SMM);
1290
+ // UF/IFAS 80–100 ft (24–30 m).
1291
+ heightRange: [16, 30],
1292
+ architecture: "palm",
1293
+ height: 18,
1294
+ crownRadius: 3,
1295
+ crownBase: 12,
1296
+ trunkRadius: 0.26,
1297
+ shape: "spherical",
1298
+ foliageDepth: 0.5,
1299
+ openness: 0.25,
1300
+ stems: 1,
1301
+ branchAngle: 50,
1302
+ branchAngleSpread: 20,
1303
+ bend: 0,
1304
+ crooked: 0.35,
1305
+ leader: 1,
1306
+ whorl: 38,
1307
+ whorlsPerMetre: 0,
1308
+ branchiness: 1,
1309
+ buttress: 0.6,
1310
+ leafKind: "frond",
1311
+ clumpSize: 1,
1312
+ clumpSpread: 0.2,
1313
+ leafColor: "#466229",
1314
+ leafVariation: 0.2,
1315
+ treeVariation: 0.15,
1316
+ throughTint: [0.9, 1.0, 0.45],
1317
+ barkColor: "#857866",
1318
+ barkPale: 0.1,
1319
+ stiffness: 0.35,
1320
+ palmLeaf: "fan",
1321
+ pruning: "skinned",
1322
+ deadColor: "#a88f68",
1323
+ skirt: 0.55,
1324
+ },
1325
+ // University of Redlands tree species accounts (Quercus agrifolia): 25–80 ft tall in cultivation; UC Davis
1326
+ // Arboretum: 20–50 ft tall and wide. A broad spreading evergreen oak, low on crooked limbs, small dark
1327
+ // holly-like leaves.
1328
+ // Set against the owner's reference pictures: a broad low dome (spread "often greater than height", VT),
1329
+ // its limbs reclining at its rim (FEIS), dark glossy green (#2F4A2A at 50–150 m); its bark the grey of its
1330
+ // broad ridges (VT: mature ridges #7E7A73), not near black. 22 m across on 12 m (r/H 0.92: spread 10–30 m);
1331
+ // a massive short trunk, dividing at 2 m and more (FEIS: 1.2–2.4 m) into its heavy limbs, or forked near the
1332
+ // ground into two or three leaning trunks, seen under its raised rim and through its crown (open 0.5, its
1333
+ // leaves a shell, canopyLift 0.5).
1334
+ coastLiveOak: {
1335
+ name: "Coast live oak",
1336
+ latin: "Quercus agrifolia",
1337
+ regions: ["california"],
1338
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): VT: spread often more than height
1339
+ // (0.50–0.80 open-grown); in dense stands irregular crowns (FEIS), 0.25 [est.]. Base: open-grown trunks
1340
+ // 1.2–2.4 m and foliage to the ground, branchless to about 6 m in dense stands (FEIS).
1341
+ crownRatio: [0.25, 0.8],
1342
+ baseRatio: [0, 0.5],
1343
+ // Height (docs/MORPHOLOGY.md): 6–25 m (FEIS); up to 30 m (VT).
1344
+ heightRange: [6, 30],
1345
+ architecture: "broadleaf",
1346
+ height: 12,
1347
+ crownRadius: 11,
1348
+ crownBase: 2,
1349
+ trunkRadius: 0.65,
1350
+ shape: "hemispherical",
1351
+ lobes: 0.3,
1352
+ foliageDepth: 0.35,
1353
+ openness: 0.5,
1354
+ stems: 1,
1355
+ forkShare: 0.45,
1356
+ fork: 0.72,
1357
+ forkSpread: 0.2,
1358
+ forkStems: 2,
1359
+ forkStemsMost: 3,
1360
+ stemShare: 0.06,
1361
+ stemRange: [2, 3],
1362
+ branchAngle: 70,
1363
+ branchAngleSpread: 18,
1364
+ bend: -0.2,
1365
+ crooked: 0.85,
1366
+ leader: 0,
1367
+ whorl: 0,
1368
+ whorlsPerMetre: 0,
1369
+ branchiness: 0.85,
1370
+ limbAngle: [65, 100],
1371
+ limbCurve: -10,
1372
+ limbCurveBack: 25,
1373
+ zigzag: 15,
1374
+ scaffolds: 6,
1375
+ leafKind: "small",
1376
+ clumpSize: 1.9,
1377
+ clumpSpread: 0.35,
1378
+ leafColor: "#36502c",
1379
+ leafVariation: 0.2,
1380
+ treeVariation: 0.2,
1381
+ throughTint: [0.8, 0.95, 0.45],
1382
+ barkColor: "#76726b",
1383
+ barkPale: 0.15,
1384
+ stiffness: 0.8,
1385
+ crownRound: 2.2,
1386
+ canopyLift: 0.5,
1387
+ },
1388
+ // California Native Plant Society, San Diego (Platanus racemosa): 40+ ft tall, 30 ft spread, often several
1389
+ // trunks; Virginia Tech Dendrology: 40–100 ft. Crooked and open, pale mottled bark; Riviera has many.
1390
+ // Set against the owner's reference pictures and docs/MORPHOLOGY.md: open, rounded and irregular (VT), 20 m
1391
+ // across on 15 m (spread 10–25 m), its bone-white limbs showing between patchy light grey-green masses
1392
+ // (#7A8A5A at 50–150 m): few branches, their leaves in smaller bunches apart. Its trunk leans 20 degrees at
1393
+ // its foot ("often leaning", MORPHOLOGY.md) and turns up into its crown, forking at 2.4 m when it forks.
1394
+ californiaSycamore: {
1395
+ name: "California sycamore",
1396
+ latin: "Platanus racemosa",
1397
+ regions: ["california"],
1398
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): open-grown r/H 0.30–0.50; stand-grown end 0.2 [est.].
1399
+ // Base: forked low or leaning by creeks, higher in a riparian stand [est.].
1400
+ crownRatio: [0.2, 0.5],
1401
+ baseRatio: [0.1, 0.5],
1402
+ // Height (docs/MORPHOLOGY.md): 12–30 m (VT, 40–100 ft); to about 40 m (TSO).
1403
+ heightRange: [12, 40],
1404
+ architecture: "broadleaf",
1405
+ height: 15,
1406
+ crownRadius: 10,
1407
+ crownBase: 3,
1408
+ trunkRadius: 0.5,
1409
+ shape: "hemispherical",
1410
+ lobes: 0.3,
1411
+ foliageDepth: 0.25,
1412
+ openness: 0.7,
1413
+ lean: 20,
1414
+ stems: 1,
1415
+ forkShare: 0.55,
1416
+ fork: 0.8,
1417
+ forkSpread: 0.15,
1418
+ forkStems: 2,
1419
+ forkStemsMost: 3,
1420
+ stemShare: 0.15,
1421
+ stemRange: [2, 3],
1422
+ branchAngle: 55,
1423
+ branchAngleSpread: 20,
1424
+ bend: 0.05,
1425
+ crooked: 0.60,
1426
+ leader: 0,
1427
+ whorl: 0,
1428
+ whorlsPerMetre: 0,
1429
+ branchiness: 0.4,
1430
+ scaffolds: 6,
1431
+ buttress: 0.35,
1432
+ canopyLift: 0.2,
1433
+ limbAngle: [45, 90],
1434
+ limbCurve: -10,
1435
+ limbCurveBack: 18,
1436
+ zigzag: 25,
1437
+ zigzagRun: 1.1,
1438
+ pads: 0.3,
1439
+ leafKind: "broad",
1440
+ clumpSize: 1.32,
1441
+ clumpSpread: 0.4,
1442
+ leafColor: "#7a8f52",
1443
+ leafVariation: 0.3,
1444
+ treeVariation: 0.25,
1445
+ throughTint: [0.9, 1.0, 0.5],
1446
+ barkColor: "#c4bca9",
1447
+ barkPale: 0.6,
1448
+ stiffness: 0.65,
1449
+ crownPeak: 0.35,
1450
+ },
1451
+ // Cornell Woody Plants Database (Acer saccharum): 60–75 ft tall; UF/IFAS ENH-210: 35–50 ft spread. A dense
1452
+ // oval crown, its leaves on its outside.
1453
+ sugarMaple: {
1454
+ name: "Sugar maple",
1455
+ latin: "Acer saccharum",
1456
+ regions: ["ontario"],
1457
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile; Silvics'
1458
+ // champion 20.1 m across on 23.8 m (0.42), open-grown 0.30–0.45. Base: two-thirds clear bole in the
1459
+ // forest (NRCAN), live crown 0.75–0.90 open-grown [est.].
1460
+ crownRatio: [0.13, 0.45],
1461
+ baseRatio: [0.1, 0.7],
1462
+ // Height (docs/MORPHOLOGY.md): 27–37 m, exceptionally 40 m (FEIS); up to 35 m (NRCAN).
1463
+ heightRange: [27, 40],
1464
+ architecture: "broadleaf",
1465
+ height: 20,
1466
+ crownRadius: 7.4,
1467
+ crownBase: 3.2,
1468
+ trunkRadius: 0.52,
1469
+ shape: "spherical",
1470
+ crownPeak: 0.36,
1471
+ crownRound: 1.85,
1472
+ foliageDepth: 0.4,
1473
+ openness: 0.14,
1474
+ stems: 1,
1475
+ forkShare: 0.45,
1476
+ fork: 0.95,
1477
+ forkSpread: 0.18,
1478
+ forkStems: 2,
1479
+ forkStemsMost: 3,
1480
+ branchAngle: 40,
1481
+ branchAngleSpread: 12,
1482
+ bend: 0.1,
1483
+ crooked: 0.22,
1484
+ leader: 0.35,
1485
+ whorl: 0,
1486
+ whorlsPerMetre: 0,
1487
+ branchiness: 0.95,
1488
+ buttress: 0.6,
1489
+ scaffolds: 8,
1490
+ limbAngle: [22, 48],
1491
+ limbCurve: 6,
1492
+ limbCurveBack: -8,
1493
+ phyllotaxis: "opposite",
1494
+ zigzag: 0,
1495
+ leafKind: "broad",
1496
+ clumpSize: 2.0,
1497
+ clumpSpread: 0.3,
1498
+ leafColor: "#557a35",
1499
+ leafVariation: 0.2,
1500
+ treeVariation: 0.2,
1501
+ throughTint: [0.85, 1.0, 0.45],
1502
+ barkColor: "#6a6258",
1503
+ barkPale: 0,
1504
+ stiffness: 0.75,
1505
+ },
1506
+ // UF/IFAS ST-560 (northern red oak): 60–70 ft tall, 40–60 ft spread open-grown. Rounded, on a few big
1507
+ // limbs; grey bark with paler stripes.
1508
+ redOak: {
1509
+ name: "Red oak",
1510
+ latin: "Quercus rubra",
1511
+ regions: ["ontario", "denmark", "netherlands"],
1512
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
1513
+ // open-grown 0.35–0.50 [est.] (Silvics: short boles and spreading crowns in the open). Base: live crown
1514
+ // 0.70–0.85 open-grown, 0.35–0.45 in the forest [est.].
1515
+ crownRatio: [0.16, 0.5],
1516
+ baseRatio: [0.15, 0.65],
1517
+ // Height (docs/MORPHOLOGY.md): 20–30 m, up to 49 m on good sites (FEIS).
1518
+ heightRange: [20, 49],
1519
+ architecture: "broadleaf",
1520
+ height: 20,
1521
+ crownRadius: 8.8,
1522
+ crownBase: 3.4,
1523
+ trunkRadius: 0.55,
1524
+ shape: "spherical",
1525
+ crownPeak: 0.4,
1526
+ foliageDepth: 0.32,
1527
+ openness: 0.22,
1528
+ stems: 1,
1529
+ branchAngle: 50,
1530
+ branchAngleSpread: 15,
1531
+ bend: 0.05,
1532
+ crooked: 0.28,
1533
+ leader: 0.45,
1534
+ whorl: 0,
1535
+ whorlsPerMetre: 0,
1536
+ branchiness: 0.85,
1537
+ buttress: 0.55,
1538
+ boleStubs: 0.5,
1539
+ scaffolds: 8,
1540
+ canopyLift: 0.1,
1541
+ limbAngle: [32, 68],
1542
+ limbCurve: 8,
1543
+ limbCurveBack: -10,
1544
+ zigzag: 7,
1545
+ leafKind: "broad",
1546
+ clumpSize: 1.7,
1547
+ clumpSpread: 0.3,
1548
+ leafColor: "#56783a",
1549
+ leafVariation: 0.25,
1550
+ treeVariation: 0.2,
1551
+ throughTint: [0.85, 1.0, 0.45],
1552
+ barkColor: "#6c665d",
1553
+ barkPale: 0.1,
1554
+ stiffness: 0.75,
1555
+ },
1556
+ // UF/IFAS ST-476 (Pinus strobus): 50–80 ft tall, 25–35 ft spread. Tiers of level boughs far apart, soft
1557
+ // blue-green needles, dark grey bark.
1558
+ easternWhitePine: {
1559
+ name: "Eastern white pine",
1560
+ latin: "Pinus strobus",
1561
+ regions: ["ontario"],
1562
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
1563
+ // open-grown 0.25–0.35 [est.]. Base: branch-free for the lower two-thirds in the forest (NRCAN, FEIS),
1564
+ // live crown 0.6–0.9 open-grown [est.].
1565
+ crownRatio: [0.14, 0.35],
1566
+ baseRatio: [0.1, 0.7],
1567
+ // Height (docs/MORPHOLOGY.md): to 30 m, occasionally more (NRCAN), so 20 m its low end [est.];
1568
+ // virgin-forest trees 46 m (FEIS; the record 57.6 m, GDB).
1569
+ heightRange: [20, 46],
1570
+ architecture: "conifer",
1571
+ height: 22,
1572
+ crownRadius: 5.5,
1573
+ crownBase: 3,
1574
+ trunkRadius: 0.45,
1575
+ shape: "tendFlame",
1576
+ foliageDepth: 0.6,
1577
+ openness: 0.52,
1578
+ stems: 1,
1579
+ branchAngle: 80,
1580
+ branchAngleSpread: 10,
1581
+ bend: 0.15,
1582
+ crooked: 0.3,
1583
+ leader: 0.6,
1584
+ whorl: 5,
1585
+ whorlsPerMetre: 0.55,
1586
+ branchiness: 0.85,
1587
+ buttress: 0.35,
1588
+ limbAngle: [56, 98],
1589
+ limbCurve: -8,
1590
+ limbCurveBack: 26,
1591
+ sprayHang: 0,
1592
+ leafKind: "pine",
1593
+ clumpSize: 1.7,
1594
+ clumpSpread: 0.35,
1595
+ leafColor: "#486855",
1596
+ leafVariation: 0.2,
1597
+ treeVariation: 0.2,
1598
+ throughTint: [0.75, 0.95, 0.55],
1599
+ barkColor: "#5a5550",
1600
+ barkPale: 0,
1601
+ stiffness: 0.75,
1602
+ },
1603
+ // Hodel 2014 (UC Cooperative Extension), UF/IFAS and Virginia Tech (Washingtonia filifera): 12–18 m in
1604
+ // cultivation, a stout grey trunk 50–90 cm through, only slightly flared; 20–30 grey-green fans 1–1.8 m
1605
+ // across on stalks as long, their segments split with white threads, the old green ones hanging 30–60
1606
+ // degrees below the level (so its crown's base 4–5 m under its top). In the wild its dead leaves hang in a
1607
+ // skirt to the ground; on courses it is skinned (MORPHOLOGY.md 31).
1608
+ californiaFanPalm: {
1609
+ name: "California fan palm",
1610
+ latin: "Washingtonia filifera",
1611
+ regions: ["california"],
1612
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): UF/IFAS: 3–4.5 m across on 12–18 m; a
1613
+ // healthy planted palm 5–7 m across on 12 m [est.].
1614
+ crownRatio: [0.08, 0.28],
1615
+ // Height (docs/MORPHOLOGY.md): commonly 12–15 m, capable of 24 m (UF/IFAS); 9–15 m (FEIS), to 20 m (HOD14).
1616
+ heightRange: [12, 24],
1617
+ architecture: "palm",
1618
+ height: 12,
1619
+ crownRadius: 3.2,
1620
+ crownBase: 7.5,
1621
+ trunkRadius: 0.38,
1622
+ shape: "spherical",
1623
+ foliageDepth: 0.5,
1624
+ openness: 0.25,
1625
+ stems: 1,
1626
+ branchAngle: 50,
1627
+ branchAngleSpread: 20,
1628
+ bend: -0.15,
1629
+ crooked: 0.15,
1630
+ leader: 1,
1631
+ whorl: 36,
1632
+ whorlsPerMetre: 0,
1633
+ branchiness: 1,
1634
+ buttress: 0.25,
1635
+ leafKind: "frond",
1636
+ clumpSize: 1.2,
1637
+ clumpSpread: 0.2,
1638
+ leafColor: "#637556",
1639
+ leafVariation: 0.15,
1640
+ treeVariation: 0.12,
1641
+ throughTint: [0.9, 1.0, 0.55],
1642
+ barkColor: "#8d8579",
1643
+ barkPale: 0.05,
1644
+ stiffness: 0.5,
1645
+ palmLeaf: "fan",
1646
+ pruning: "skinned",
1647
+ deadColor: "#a39373",
1648
+ skirt: 0.92,
1649
+ frondWidth: 1.1,
1650
+ fanDroop: 0.8,
1651
+ },
1652
+ // UF/IFAS (Syagrus romanzoffiana) and Noblick 2017: 8–15 m, a smooth grey ringed trunk 20–40 cm through;
1653
+ // 7–25 soft feather leaves 3–5 m long, their leaflets in several planes (plumose), drooping. Not
1654
+ // self-cleaning: courses cut its dead leaves, leaving the clean trunk (MORPHOLOGY.md 32).
1655
+ queenPalm: {
1656
+ name: "Queen palm",
1657
+ latin: "Syagrus romanzoffiana",
1658
+ regions: ["california"],
1659
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): UF/IFAS: 6–7.5 m across, up to 15 m
1660
+ // tall; 8–12 m tall on a course [est.].
1661
+ crownRatio: [0.2, 0.47],
1662
+ // Height (docs/MORPHOLOGY.md): usually 10–15 m, to 20 m (BBNE); up to 15 m (UF/IFAS, VT).
1663
+ heightRange: [10, 20],
1664
+ architecture: "palm",
1665
+ height: 10,
1666
+ crownRadius: 3.2,
1667
+ crownBase: 5.5,
1668
+ trunkRadius: 0.17,
1669
+ shape: "spherical",
1670
+ foliageDepth: 0.5,
1671
+ openness: 0.4,
1672
+ stems: 1,
1673
+ branchAngle: 50,
1674
+ branchAngleSpread: 20,
1675
+ bend: -0.65,
1676
+ crooked: 0.25,
1677
+ leader: 1,
1678
+ whorl: 20,
1679
+ whorlsPerMetre: 0,
1680
+ branchiness: 1,
1681
+ buttress: 0.1,
1682
+ leafKind: "frond",
1683
+ clumpSize: 0.8,
1684
+ clumpSpread: 0.2,
1685
+ leafColor: "#527832",
1686
+ leafVariation: 0.2,
1687
+ treeVariation: 0.15,
1688
+ throughTint: [0.85, 1.0, 0.45],
1689
+ barkColor: "#a8a49a",
1690
+ barkPale: 0,
1691
+ stiffness: 0.4,
1692
+ palmLeaf: "feather",
1693
+ pruning: "skinned",
1694
+ plumose: 1,
1695
+ deadColor: "#8c7352",
1696
+ frondWidth: 1.25,
1697
+ },
1698
+ // UF/IFAS (Picea glauca): 40–60 ft tall, 15–20 ft spread. Narrow and conical, to the ground, blue-green.
1699
+ whiteSpruce: {
1700
+ name: "White spruce",
1701
+ latin: "Picea glauca",
1702
+ regions: ["ontario"],
1703
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile;
1704
+ // open-grown 0.12–0.18 [est.]. Base: live crown close to the ground (FEIS), 0.5–0.7 in a stand [est.].
1705
+ crownRatio: [0.08, 0.18],
1706
+ baseRatio: [0, 0.5],
1707
+ // Height (docs/MORPHOLOGY.md): Ontario 15–30 m [est.]; average about 25 m, over 30 m on good sites (FEIS);
1708
+ // up to 50 m (GDB).
1709
+ heightRange: [15, 50],
1710
+ architecture: "conifer",
1711
+ height: 16,
1712
+ crownRadius: 2.8,
1713
+ crownBase: 0.8,
1714
+ trunkRadius: 0.25,
1715
+ shape: "conical",
1716
+ foliageDepth: 0.6,
1717
+ openness: 0.1,
1718
+ stems: 1,
1719
+ branchAngle: 75,
1720
+ branchAngleSpread: 8,
1721
+ bend: -0.2,
1722
+ crooked: 0.15,
1723
+ leader: 1,
1724
+ whorl: 5,
1725
+ whorlsPerMetre: 1.8,
1726
+ branchiness: 1,
1727
+ buttress: 0.25,
1728
+ limbAngle: [70, 110],
1729
+ limbCurve: -10,
1730
+ limbCurveBack: 20,
1731
+ sprayHang: 0.28,
1732
+ leafKind: "needle",
1733
+ clumpSize: 0.9,
1734
+ clumpSpread: 0.25,
1735
+ leafColor: "#466659",
1736
+ leafVariation: 0.2,
1737
+ treeVariation: 0.15,
1738
+ throughTint: [0.7, 0.9, 0.55],
1739
+ barkColor: "#605750",
1740
+ barkPale: 0,
1741
+ stiffness: 0.85,
1742
+ },
1743
+ // EUAT, WT, TSO, PFAF and Bruns (Fraxinus excelsior): 20–35 m typical (to 45 m), open-grown spread 20–30 m.
1744
+ // Airy high-canopied broadleaf, limbs ascending with tips curving up; opposite buds, straight twigs (zigzag 0).
1745
+ ash: {
1746
+ name: "Ash",
1747
+ latin: "Fraxinus excelsior",
1748
+ regions: ["great-britain", "france", "netherlands", "denmark"],
1749
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.08);
1750
+ // open-grown 20–30 m spread (PFAF, Bruns), r/H 0.33–0.48. Base: slow self-pruning open-grown (Hein &
1751
+ // Spiecker 2008), clear bole in woods [est.].
1752
+ crownRatio: [0.08, 0.48],
1753
+ baseRatio: [0.1, 0.65],
1754
+ // Height (docs/MORPHOLOGY.md): commonly 20–35 m, occasionally to 45 m (EUAT).
1755
+ heightRange: [20, 45],
1756
+ architecture: "broadleaf",
1757
+ height: 20,
1758
+ crownRadius: 9,
1759
+ crownBase: 3.5,
1760
+ trunkRadius: 0.52,
1761
+ shape: "spherical",
1762
+ crownPeak: 0.35,
1763
+ foliageDepth: 0.3,
1764
+ openness: 0.45,
1765
+ stems: 1,
1766
+ forkShare: 0.5,
1767
+ fork: 0.9,
1768
+ forkSpread: 0.15,
1769
+ forkStems: 2,
1770
+ forkStemsMost: 3,
1771
+ branchAngle: 45,
1772
+ branchAngleSpread: 14,
1773
+ bend: 0.25,
1774
+ crooked: 0.28,
1775
+ leader: 0.25,
1776
+ whorl: 0,
1777
+ whorlsPerMetre: 0,
1778
+ branchiness: 0.65,
1779
+ scaffolds: 6,
1780
+ buttress: 0.45,
1781
+ canopyLift: 0.2,
1782
+ limbAngle: [30, 75],
1783
+ limbCurve: -5,
1784
+ limbCurveBack: 40,
1785
+ zigzag: 0,
1786
+ phyllotaxis: "opposite",
1787
+ leafKind: "broad",
1788
+ clumpSize: 1.6,
1789
+ clumpSpread: 0.35,
1790
+ leafColor: "#5c7e3b",
1791
+ leafVariation: 0.25,
1792
+ treeVariation: 0.2,
1793
+ throughTint: [0.85, 1.0, 0.45],
1794
+ barkColor: "#8f8d85",
1795
+ barkPale: 0.05,
1796
+ stiffness: 0.75,
1797
+ },
1798
+ // EUAT, TSO, UF/IFAS and Ebben (Acer pseudoplatanus): 25–35 m (to 40+ m), broad dense dome whose diameter
1799
+ // can exceed its height; flaking grey-pinkish bark, opposite buds (zigzag 0).
1800
+ sycamoreMaple: {
1801
+ name: "Sycamore maple",
1802
+ latin: "Acer pseudoplatanus",
1803
+ regions: ["great-britain", "france", "netherlands", "denmark"],
1804
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.09);
1805
+ // open-grown dome wider than tall in places (EUAT), 0.30–0.55. Base: slow self-pruning (Hein & Spiecker
1806
+ // 2008), woodland bole [est.].
1807
+ crownRatio: [0.09, 0.55],
1808
+ baseRatio: [0.1, 0.65],
1809
+ // Height (docs/MORPHOLOGY.md): 25–35 m, up to 40+ m (TSO, Monumental Trees 40.7 m).
1810
+ heightRange: [25, 40],
1811
+ architecture: "broadleaf",
1812
+ height: 20,
1813
+ crownRadius: 9,
1814
+ crownBase: 3.2,
1815
+ trunkRadius: 0.5,
1816
+ shape: "hemispherical",
1817
+ crownPeak: 0.35,
1818
+ crownRound: 2.1,
1819
+ foliageDepth: 0.35,
1820
+ openness: 0.1,
1821
+ stems: 1,
1822
+ forkShare: 0.6,
1823
+ fork: 0.9,
1824
+ forkSpread: 0.12,
1825
+ forkStems: 2,
1826
+ forkStemsMost: 3,
1827
+ branchAngle: 40,
1828
+ branchAngleSpread: 12,
1829
+ bend: 0.15,
1830
+ crooked: 0.28,
1831
+ leader: 0.25,
1832
+ whorl: 0,
1833
+ whorlsPerMetre: 0,
1834
+ branchiness: 0.92,
1835
+ scaffolds: 8,
1836
+ buttress: 0.35,
1837
+ canopyLift: 0.12,
1838
+ limbAngle: [30, 72],
1839
+ limbCurve: 8,
1840
+ limbCurveBack: 12,
1841
+ zigzag: 0,
1842
+ phyllotaxis: "opposite",
1843
+ leafKind: "broad",
1844
+ clumpSize: 1.9,
1845
+ clumpSpread: 0.3,
1846
+ leafColor: "#486a31",
1847
+ leafVariation: 0.2,
1848
+ treeVariation: 0.2,
1849
+ throughTint: [0.85, 1.0, 0.45],
1850
+ barkColor: "#8b7f74",
1851
+ barkPale: 0.1,
1852
+ stiffness: 0.75,
1853
+ },
1854
+ // EUAT, WT, TSO and MOBOT (Salix alba): up to 30 m (to 32 m), broad rounded crown of upswept limbs, often
1855
+ // leaning or multi-stemmed by water, silvery grey-green narrow leaves; not weeping (weep <= 0.1).
1856
+ whiteWillow: {
1857
+ name: "White willow",
1858
+ latin: "Salix alba",
1859
+ regions: ["france", "netherlands", "denmark", "great-britain"],
1860
+ // Real crowns (docs/MORPHOLOGY.md, not in TALLO): broad rounded free-standing crown (EUAT), 10–21 m
1861
+ // spread (PFAF, MOBOT), r/H 0.25–0.45; narrower when crowded by water [est.]. Base: low-forked or leaning
1862
+ // by water [est.].
1863
+ crownRatio: [0.2, 0.45],
1864
+ baseRatio: [0.1, 0.45],
1865
+ // Height (docs/MORPHOLOGY.md): 18–30 m typical, up to 32 m (TSO).
1866
+ heightRange: [18, 32],
1867
+ architecture: "broadleaf",
1868
+ height: 18,
1869
+ crownRadius: 7.5,
1870
+ crownBase: 2.5,
1871
+ trunkRadius: 0.5,
1872
+ shape: "spherical",
1873
+ crownPeak: 0.45,
1874
+ foliageDepth: 0.35,
1875
+ openness: 0.35,
1876
+ lean: 15,
1877
+ stems: 1,
1878
+ forkShare: 0.65,
1879
+ fork: 0.78,
1880
+ forkSpread: 0.18,
1881
+ forkStems: 2,
1882
+ forkStemsMost: 3,
1883
+ stemShare: 0.08,
1884
+ stemRange: [2, 3],
1885
+ branchAngle: 42,
1886
+ branchAngleSpread: 14,
1887
+ bend: 0.05,
1888
+ crooked: 0.35,
1889
+ leader: 0.2,
1890
+ whorl: 0,
1891
+ whorlsPerMetre: 0,
1892
+ branchiness: 0.85,
1893
+ buttress: 0.4,
1894
+ canopyLift: 0.15,
1895
+ limbAngle: [30, 58],
1896
+ limbCurve: 18,
1897
+ limbCurveBack: -15,
1898
+ zigzag: 8,
1899
+ leafKind: "narrow",
1900
+ clumpSize: 1.4,
1901
+ clumpSpread: 0.35,
1902
+ leafColor: "#7c9472",
1903
+ leafVariation: 0.25,
1904
+ treeVariation: 0.2,
1905
+ throughTint: [0.9, 1.0, 0.55],
1906
+ barkColor: "#6d6458",
1907
+ barkPale: 0,
1908
+ stiffness: 0.45,
1909
+ weep: 0.1,
1910
+ },
1911
+ // EUAT, TSO and American Conifer Society (Larix decidua): 25–45 m (rarely over 50 m), open conical deciduous
1912
+ // conifer, branches drooping with upturned tips, light green soft needles.
1913
+ europeanLarch: {
1914
+ name: "European larch",
1915
+ latin: "Larix decidua",
1916
+ regions: ["great-britain", "denmark"],
1917
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.14;
1918
+ // 25 m+ 0.08); open-grown spread 12–15 m to 20 m (ACS, PFAF), r/H 0.20–0.32 [est.]. Base: low open-grown
1919
+ // to high-pruned stand [est.].
1920
+ crownRatio: [0.1, 0.32],
1921
+ baseRatio: [0.05, 0.65],
1922
+ // Height (docs/MORPHOLOGY.md): 25–45 m, rarely over 50 m (EUAT; record 53.8 m, Monumental Trees).
1923
+ heightRange: [25, 50],
1924
+ architecture: "conifer",
1925
+ height: 26,
1926
+ crownRadius: 7.4,
1927
+ crownBase: 3.2,
1928
+ trunkRadius: 0.48,
1929
+ shape: "conical",
1930
+ foliageDepth: 0.5,
1931
+ openness: 0.45,
1932
+ stems: 1,
1933
+ branchAngle: 75,
1934
+ branchAngleSpread: 12,
1935
+ bend: -0.25,
1936
+ crooked: 0.25,
1937
+ leader: 0.95,
1938
+ whorl: 5,
1939
+ whorlsPerMetre: 1.25,
1940
+ branchiness: 0.86,
1941
+ buttress: 0.4,
1942
+ limbAngle: [52, 102],
1943
+ limbCurve: -32,
1944
+ limbCurveBack: 62,
1945
+ sprayHang: 0.5,
1946
+ leafKind: "needle",
1947
+ clumpSize: 1.2,
1948
+ clumpSpread: 0.3,
1949
+ leafColor: "#6e9143",
1950
+ leafVariation: 0.25,
1951
+ treeVariation: 0.2,
1952
+ throughTint: [0.85, 1.0, 0.45],
1953
+ barkColor: "#6b5448",
1954
+ barkPale: 0,
1955
+ stiffness: 0.8,
1956
+ },
1957
+ // EUAT, WT, UF/IFAS and Ebben (Tilia cordata): 20–40 m, straight trunk, dense taller oval-dome of heart-shaped
1958
+ // leaves.
1959
+ smallLeavedLime: {
1960
+ name: "Small-leaved lime",
1961
+ latin: "Tilia cordata",
1962
+ regions: ["great-britain", "france", "netherlands", "denmark"],
1963
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.12;
1964
+ // 18–25 m 0.07); open-grown spread 10–15 m (PFAF, Ebben, UF/IFAS), r/H 0.22–0.35 [est.]. Base: 10–15 m
1965
+ // branch-free bole in 30–40 m forest trees (EUAT), low open-grown [est.].
1966
+ crownRatio: [0.1, 0.35],
1967
+ baseRatio: [0.1, 0.55],
1968
+ // Height (docs/MORPHOLOGY.md): 20–40 m (EUAT, TSO).
1969
+ heightRange: [20, 40],
1970
+ architecture: "broadleaf",
1971
+ height: 22,
1972
+ crownRadius: 7,
1973
+ crownBase: 3,
1974
+ trunkRadius: 0.48,
1975
+ shape: "spherical",
1976
+ crownPeak: 0.28,
1977
+ crownRound: 1.48,
1978
+ foliageDepth: 0.35,
1979
+ openness: 0.1,
1980
+ stems: 1,
1981
+ branchAngle: 45,
1982
+ branchAngleSpread: 12,
1983
+ bend: -0.15,
1984
+ crooked: 0.25,
1985
+ leader: 0.68,
1986
+ whorl: 0,
1987
+ whorlsPerMetre: 0,
1988
+ branchiness: 0.95,
1989
+ scaffolds: 9,
1990
+ buttress: 0.35,
1991
+ limbAngle: [25, 82],
1992
+ limbCurve: 8,
1993
+ limbCurveBack: -24,
1994
+ canopyLift: 0.1,
1995
+ zigzag: 5,
1996
+ leafKind: "broad",
1997
+ clumpSize: 1.7,
1998
+ clumpSpread: 0.25,
1999
+ leafColor: "#4b6e32",
2000
+ leafVariation: 0.2,
2001
+ treeVariation: 0.2,
2002
+ throughTint: [0.85, 1.0, 0.45],
2003
+ barkColor: "#6e685e",
2004
+ barkPale: 0.05,
2005
+ stiffness: 0.8,
2006
+ },
2007
+ // USDA Silvics/FEIS, Farr et al. 1989 and Van den Berk (Tsuga heterophylla): 30–61 m (to 79–83 m), narrow
2008
+ // conical PNW conifer with drooping branch tips (from sprayHang) and a nodding leader (no field exists for a
2009
+ // nodding leader, so the stem is grown straight to its top).
2010
+ westernHemlock: {
2011
+ name: "Western hemlock",
2012
+ latin: "Tsuga heterophylla",
2013
+ regions: ["pacific-northwest"],
2014
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 25 m+ lower quartile (0.10);
2015
+ // open-grown 8–15 m spread (Van den Berk) and Farr et al. 1989 (max crown width 1.7–11.1 m), r/H
2016
+ // 0.15–0.28 [est.]. Base: live branches down the trunk open-grown (FEIS), forest self-prunes 30–40 m.
2017
+ crownRatio: [0.1, 0.28],
2018
+ baseRatio: [0, 0.65],
2019
+ // Height (docs/MORPHOLOGY.md): 30–61 m typical, up to 79 m (FEIS; record 82.8 m).
2020
+ heightRange: [30, 80],
2021
+ architecture: "conifer",
2022
+ height: 28,
2023
+ crownRadius: 4.8,
2024
+ crownBase: 1.5,
2025
+ trunkRadius: 0.5,
2026
+ shape: "conical",
2027
+ foliageDepth: 0.55,
2028
+ openness: 0.2,
2029
+ stems: 1,
2030
+ branchAngle: 80,
2031
+ branchAngleSpread: 10,
2032
+ bend: -0.4,
2033
+ crooked: 0.2,
2034
+ leader: 0.95,
2035
+ whorl: 4,
2036
+ whorlsPerMetre: 1.8,
2037
+ branchiness: 0.9,
2038
+ buttress: 0.35,
2039
+ limbAngle: [70, 115],
2040
+ limbCurve: -25,
2041
+ limbCurveBack: 30,
2042
+ sprayHang: 0.6,
2043
+ leafKind: "needle",
2044
+ clumpSize: 1.0,
2045
+ clumpSpread: 0.3,
2046
+ leafColor: "#446136",
2047
+ leafVariation: 0.2,
2048
+ treeVariation: 0.15,
2049
+ throughTint: [0.7, 0.9, 0.5],
2050
+ barkColor: "#5a3d30",
2051
+ barkPale: 0,
2052
+ stiffness: 0.75,
2053
+ },
2054
+ // USDA Silvics and TSO (Alnus rubra): 21–37 m (to 40 m), narrow dome on pale mottled grey bark, clear bole
2055
+ // 60–70% in dense stands.
2056
+ redAlder: {
2057
+ name: "Red alder",
2058
+ latin: "Alnus rubra",
2059
+ regions: ["pacific-northwest"],
2060
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 18–25 m lower quartile (0.09);
2061
+ // open-grown 6–10 m spread (LBJ, Ebben), r/H 0.15–0.32 [est.]. Base: 60–70% clear bole in dense stands
2062
+ // (Silvics), lower branches retained open-grown [est.].
2063
+ crownRatio: [0.09, 0.32],
2064
+ baseRatio: [0.15, 0.7],
2065
+ // Height (docs/MORPHOLOGY.md): 21–37 m typical, max 40 m (Silvics).
2066
+ heightRange: [20, 40],
2067
+ architecture: "broadleaf",
2068
+ height: 20,
2069
+ crownRadius: 5.8,
2070
+ crownBase: 3.6,
2071
+ trunkRadius: 0.38,
2072
+ shape: "conical",
2073
+ crownPeak: 0.24,
2074
+ crownRound: 1.4,
2075
+ foliageDepth: 0.3,
2076
+ openness: 0.35,
2077
+ stems: 1,
2078
+ forkShare: 0.22,
2079
+ fork: 0.78,
2080
+ forkSpread: 0.15,
2081
+ forkStems: 2,
2082
+ stemShare: 0.08,
2083
+ stemRange: [2, 3],
2084
+ branchAngle: 52,
2085
+ branchAngleSpread: 12,
2086
+ bend: 0,
2087
+ crooked: 0.22,
2088
+ leader: 0.85,
2089
+ whorl: 0,
2090
+ whorlsPerMetre: 0,
2091
+ branchiness: 0.8,
2092
+ buttress: 0.3,
2093
+ boleStubs: 0.5,
2094
+ limbAngle: [38, 82],
2095
+ limbCurve: -5,
2096
+ limbCurveBack: 10,
2097
+ zigzag: 5,
2098
+ scaffolds: 11,
2099
+ leafKind: "broad",
2100
+ clumpSize: 1.3,
2101
+ clumpSpread: 0.3,
2102
+ leafColor: "#4d6d38",
2103
+ leafVariation: 0.2,
2104
+ treeVariation: 0.2,
2105
+ throughTint: [0.8, 1.0, 0.45],
2106
+ barkColor: "#aba9a2",
2107
+ barkPale: 0.1,
2108
+ stiffness: 0.65,
2109
+ },
2110
+ // EUAT, WT and UF/IFAS ENH-187 (Acer platanoides): 20–30 m (record 37.9 m), dense round crown, opposite buds
2111
+ // (zigzag 0), close ridged grey bark.
2112
+ norwayMaple: {
2113
+ name: "Norway maple",
2114
+ latin: "Acer platanoides",
2115
+ regions: ["denmark", "france", "netherlands"],
2116
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.13);
2117
+ // open-grown 10–15 m spread (UF/IFAS, Bruns), r/H 0.30–0.50 [est.]. Base: open-grown to woodland [est.].
2118
+ crownRatio: [0.13, 0.5],
2119
+ baseRatio: [0.1, 0.55],
2120
+ // Height (docs/MORPHOLOGY.md): 20–30 m (EUAT, VT), up to 36–38 m (TSO).
2121
+ heightRange: [20, 38],
2122
+ architecture: "broadleaf",
2123
+ height: 18,
2124
+ crownRadius: 8.2,
2125
+ crownBase: 2.8,
2126
+ trunkRadius: 0.5,
2127
+ shape: "spherical",
2128
+ crownPeak: 0.4,
2129
+ crownRound: 2.1,
2130
+ foliageDepth: 0.4,
2131
+ openness: 0.1,
2132
+ stems: 1,
2133
+ forkShare: 0.6,
2134
+ fork: 0.9,
2135
+ forkSpread: 0.25,
2136
+ forkStems: 2,
2137
+ forkStemsMost: 3,
2138
+ branchAngle: 42,
2139
+ branchAngleSpread: 12,
2140
+ bend: 0.08,
2141
+ crooked: 0.25,
2142
+ leader: 0.25,
2143
+ whorl: 0,
2144
+ whorlsPerMetre: 0,
2145
+ branchiness: 0.95,
2146
+ buttress: 0.55,
2147
+ scaffolds: 8,
2148
+ limbAngle: [28, 66],
2149
+ limbCurve: 8,
2150
+ limbCurveBack: -14,
2151
+ zigzag: 0,
2152
+ phyllotaxis: "opposite",
2153
+ leafKind: "broad",
2154
+ clumpSize: 1.9,
2155
+ clumpSpread: 0.3,
2156
+ leafColor: "#507834",
2157
+ leafVariation: 0.2,
2158
+ treeVariation: 0.2,
2159
+ throughTint: [0.85, 1.0, 0.45],
2160
+ barkColor: "#6d6b64",
2161
+ barkPale: 0,
2162
+ stiffness: 0.75,
2163
+ },
2164
+ // EUAT, WT, TSO and UF/IFAS (Carpinus betulus): 15–25 m (to 34 m), smaller than beech, fluted steel-grey
2165
+ // trunk, dense dome whose branches grow in 3D round its limbs rather than shelf-stacking.
2166
+ hornbeam: {
2167
+ name: "Hornbeam",
2168
+ latin: "Carpinus betulus",
2169
+ regions: ["great-britain", "france", "netherlands", "denmark"],
2170
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.14);
2171
+ // open-grown 12–18 m spread (UF/IFAS, TCV, PFAF), r/H 0.30–0.48 [est.]. Base: low-branched open-grown to
2172
+ // stand-grown [est.].
2173
+ crownRatio: [0.14, 0.48],
2174
+ baseRatio: [0.08, 0.55],
2175
+ // Height (docs/MORPHOLOGY.md): 15–25 m typical, to 34 m (EUAT, TSO).
2176
+ heightRange: [15, 34],
2177
+ architecture: "broadleaf",
2178
+ height: 16,
2179
+ crownRadius: 7.4,
2180
+ crownBase: 2.2,
2181
+ trunkRadius: 0.45,
2182
+ shape: "spherical",
2183
+ crownPeak: 0.38,
2184
+ crownRound: 2.1,
2185
+ foliageDepth: 0.4,
2186
+ openness: 0.14,
2187
+ stems: 1,
2188
+ forkShare: 0.65,
2189
+ fork: 0.85,
2190
+ forkSpread: 0.25,
2191
+ forkStems: 2,
2192
+ forkStemsMost: 4,
2193
+ branchAngle: 42,
2194
+ branchAngleSpread: 12,
2195
+ bend: -0.1,
2196
+ crooked: 0.35,
2197
+ leader: 0.2,
2198
+ whorl: 0,
2199
+ whorlsPerMetre: 0,
2200
+ branchiness: 0.95,
2201
+ scaffolds: 9,
2202
+ limbAngle: [28, 74],
2203
+ limbCurve: 10,
2204
+ limbCurveBack: -18,
2205
+ buttress: 0.75,
2206
+ zigzag: 8,
2207
+ leafKind: "broad",
2208
+ clumpSize: 1.6,
2209
+ clumpSpread: 0.25,
2210
+ leafColor: "#547638",
2211
+ leafVariation: 0.2,
2212
+ treeVariation: 0.2,
2213
+ throughTint: [0.85, 1.0, 0.45],
2214
+ barkColor: "#7f817c",
2215
+ barkPale: 0.05,
2216
+ stiffness: 0.8,
2217
+ },
2218
+ // EUAT, WT, TSO and EUFORGEN (Populus tremula): 15–30 m (to 40+ m), narrow open crown on a long slender pale
2219
+ // grey-green trunk, non-weeping.
2220
+ aspen: {
2221
+ name: "Aspen",
2222
+ latin: "Populus tremula",
2223
+ regions: ["denmark", "great-britain", "netherlands"],
2224
+ // Real crowns, stand-grown to open-grown (docs/MORPHOLOGY.md): TALLO's 10–18 m lower quartile (0.11;
2225
+ // 25 m+ 0.07); open-grown 5–12 m spread (Ebben, PFAF), r/H 0.16–0.30 [est.]. Base: long slender trunk
2226
+ // (EUAT), open to stand [est.].
2227
+ crownRatio: [0.1, 0.3],
2228
+ baseRatio: [0.2, 0.7],
2229
+ // Height (docs/MORPHOLOGY.md): 15–30 m typical, up to 40 m (EUFORGEN; record 45.5 m).
2230
+ heightRange: [15, 40],
2231
+ architecture: "broadleaf",
2232
+ height: 18,
2233
+ crownRadius: 4.9,
2234
+ crownBase: 5,
2235
+ trunkRadius: 0.32,
2236
+ shape: "spherical",
2237
+ crownPeak: 0.48,
2238
+ crownRound: 1.85,
2239
+ foliageDepth: 0.3,
2240
+ openness: 0.4,
2241
+ stems: 1,
2242
+ forkShare: 0.25,
2243
+ fork: 0.82,
2244
+ forkSpread: 0.15,
2245
+ forkStems: 2,
2246
+ stemShare: 0.08,
2247
+ stemRange: [2, 3],
2248
+ branchAngle: 45,
2249
+ branchAngleSpread: 14,
2250
+ bend: 0.05,
2251
+ crooked: 0.28,
2252
+ leader: 0.68,
2253
+ whorl: 0,
2254
+ whorlsPerMetre: 0,
2255
+ branchiness: 0.8,
2256
+ buttress: 0.2,
2257
+ scaffolds: 8,
2258
+ boleStubs: 0.5,
2259
+ limbAngle: [28, 62],
2260
+ limbCurve: 8,
2261
+ limbCurveBack: 6,
2262
+ zigzag: 10,
2263
+ leafKind: "broad",
2264
+ clumpSize: 1.3,
2265
+ clumpSpread: 0.35,
2266
+ leafColor: "#678c43",
2267
+ leafVariation: 0.25,
2268
+ treeVariation: 0.2,
2269
+ throughTint: [0.9, 1.0, 0.5],
2270
+ barkColor: "#9c9d8f",
2271
+ barkPale: 0.15,
2272
+ stiffness: 0.5,
2273
+ },
2274
+ // RHS, PFAF and TSO (Hippophae rhamnoides): 2–8 m (to 9–12 m), thorny coastal shrub with silvery narrow
2275
+ // leaves and orange berries.
2276
+ seaBuckthorn: {
2277
+ name: "Sea buckthorn",
2278
+ latin: "Hippophae rhamnoides",
2279
+ regions: ["netherlands", "denmark", "great-britain"],
2280
+ // Height (docs/MORPHOLOGY.md): 4–8 m (RHS), up to 4 m (WT), to 9–12 m (TSO).
2281
+ heightRange: [2, 9],
2282
+ architecture: "shrub",
2283
+ height: 3.2,
2284
+ crownRadius: 2.0,
2285
+ crownBase: 0.15,
2286
+ trunkRadius: 0.06,
2287
+ shape: "hemispherical",
2288
+ foliageDepth: 0.8,
2289
+ openness: 0.25,
2290
+ stems: 7,
2291
+ branchAngle: 38,
2292
+ branchAngleSpread: 16,
2293
+ bend: 0.05,
2294
+ crooked: 0.75,
2295
+ leader: 0,
2296
+ whorl: 0,
2297
+ whorlsPerMetre: 0,
2298
+ branchiness: 0.9,
2299
+ leafKind: "narrow",
2300
+ clumpSize: 0.55,
2301
+ clumpSpread: 0.3,
2302
+ leafColor: "#899e88",
2303
+ leafVariation: 0.25,
2304
+ treeVariation: 0.2,
2305
+ throughTint: [0.9, 1.0, 0.55],
2306
+ barkColor: "#52483e",
2307
+ barkPale: 0,
2308
+ stiffness: 0.65,
2309
+ },
2310
+ // RHS, PFAF and WT (Sambucus nigra): 3–10 m, large arching multi-stemmed shrub with opposite pinnate leaves.
2311
+ elder: {
2312
+ name: "Elder",
2313
+ latin: "Sambucus nigra",
2314
+ regions: ["great-britain", "france", "netherlands", "denmark"],
2315
+ // Height (docs/MORPHOLOGY.md): 4–8 m (RHS), up to 10 m (WT), 4.5–9 m (TSO).
2316
+ heightRange: [3, 10],
2317
+ architecture: "shrub",
2318
+ height: 4.5,
2319
+ crownRadius: 2.6,
2320
+ crownBase: 0.3,
2321
+ trunkRadius: 0.06,
2322
+ shape: "hemispherical",
2323
+ foliageDepth: 0.48,
2324
+ openness: 0.34,
2325
+ stems: 6,
2326
+ branchAngle: 42,
2327
+ branchAngleSpread: 15,
2328
+ bend: -0.22,
2329
+ crooked: 0.6,
2330
+ leader: 0,
2331
+ whorl: 0,
2332
+ whorlsPerMetre: 0,
2333
+ branchiness: 0.85,
2334
+ limbCurve: 12,
2335
+ limbCurveBack: -38,
2336
+ phyllotaxis: "opposite",
2337
+ leafKind: "broad",
2338
+ clumpSize: 0.62,
2339
+ clumpSpread: 0.35,
2340
+ leafColor: "#466b2d",
2341
+ leafVariation: 0.25,
2342
+ treeVariation: 0.2,
2343
+ throughTint: [0.85, 1.0, 0.45],
2344
+ barkColor: "#8a806e",
2345
+ barkPale: 0,
2346
+ stiffness: 0.55,
2347
+ },
2348
+ // RHS, PFAF and FEIS (Cytisus scoparius): 1–4 m, bushy shrub of slender green ridged whippy stems.
2349
+ scotchBroom: {
2350
+ name: "Scotch broom",
2351
+ latin: "Cytisus scoparius",
2352
+ regions: ["great-britain", "france", "netherlands", "denmark", "pacific-northwest"],
2353
+ // Height (docs/MORPHOLOGY.md): 1–1.5 m (RHS), 2.4 m (PFAF), 2–4 m (FEIS).
2354
+ heightRange: [1, 4],
2355
+ architecture: "shrub",
2356
+ height: 1.8,
2357
+ crownRadius: 1.0,
2358
+ crownBase: 0.1,
2359
+ trunkRadius: 0.03,
2360
+ shape: "hemispherical",
2361
+ foliageDepth: 0.9,
2362
+ openness: 0.18,
2363
+ stems: 12,
2364
+ branchAngle: 22,
2365
+ branchAngleSpread: 12,
2366
+ bend: 0.32,
2367
+ crooked: 0.35,
2368
+ leader: 0,
2369
+ whorl: 0,
2370
+ whorlsPerMetre: 0,
2371
+ branchiness: 0.95,
2372
+ crownPeak: 0.15,
2373
+ crownRound: 2.0,
2374
+ leafKind: "small",
2375
+ clumpSize: 0.4,
2376
+ clumpSpread: 0.3,
2377
+ leafColor: "#4c732e",
2378
+ leafVariation: 0.2,
2379
+ treeVariation: 0.2,
2380
+ throughTint: [0.85, 1.0, 0.45],
2381
+ barkColor: "#4b6036",
2382
+ barkPale: 0,
2383
+ stiffness: 0.4,
2384
+ },
2385
+ // RHS, WT, TSO and EUFORGEN (Prunus spinosa): 2–7 m, dense thorny suckering thicket shrub with dark bark.
2386
+ blackthorn: {
2387
+ name: "Blackthorn",
2388
+ latin: "Prunus spinosa",
2389
+ regions: ["great-britain", "france", "netherlands", "denmark"],
2390
+ // Height (docs/MORPHOLOGY.md): 2.5–4 m (RHS), up to 5 m (EUFORGEN), up to 7 m (WT).
2391
+ heightRange: [2, 7],
2392
+ architecture: "shrub",
2393
+ height: 3.2,
2394
+ crownRadius: 2.0,
2395
+ crownBase: 0.15,
2396
+ trunkRadius: 0.06,
2397
+ shape: "hemispherical",
2398
+ foliageDepth: 0.85,
2399
+ openness: 0.1,
2400
+ stems: 8,
2401
+ branchAngle: 50,
2402
+ branchAngleSpread: 18,
2403
+ bend: 0,
2404
+ crooked: 0.85,
2405
+ leader: 0,
2406
+ whorl: 0,
2407
+ whorlsPerMetre: 0,
2408
+ branchiness: 0.85,
2409
+ zigzag: 28,
2410
+ leafKind: "broad",
2411
+ clumpSize: 0.5,
2412
+ clumpSpread: 0.3,
2413
+ leafColor: "#3b5929",
2414
+ leafVariation: 0.25,
2415
+ treeVariation: 0.2,
2416
+ throughTint: [0.85, 1.0, 0.45],
2417
+ barkColor: "#3d3530",
2418
+ barkPale: 0,
2419
+ stiffness: 0.7,
2420
+ },
2421
+ // EUFORGEN & WT (Sorbus aucuparia): 8–18 m upland/woodland broadleaf with airy pinnate crown.
2422
+ rowan: {
2423
+ name: "Rowan",
2424
+ latin: "Sorbus aucuparia",
2425
+ regions: ["great-britain", "france", "netherlands", "denmark", "ontario"],
2426
+ crownRatio: [0.16, 0.36],
2427
+ baseRatio: [0.18, 0.5],
2428
+ heightRange: [8, 18],
2429
+ architecture: "broadleaf",
2430
+ height: 10.5,
2431
+ crownRadius: 2.9,
2432
+ crownBase: 2.5,
2433
+ trunkRadius: 0.16,
2434
+ shape: "spherical",
2435
+ crownPeak: 0.45,
2436
+ crownRound: 1.9,
2437
+ foliageDepth: 0.42,
2438
+ openness: 0.38,
2439
+ stems: 1,
2440
+ forkShare: 0.3,
2441
+ fork: 0.65,
2442
+ forkSpread: 0.22,
2443
+ forkStems: 2,
2444
+ branchAngle: 42,
2445
+ branchAngleSpread: 12,
2446
+ bend: 0.12,
2447
+ crooked: 0.32,
2448
+ leader: 0.52,
2449
+ whorl: 0,
2450
+ whorlsPerMetre: 0,
2451
+ branchiness: 0.82,
2452
+ buttress: 0.22,
2453
+ scaffolds: 6,
2454
+ limbAngle: [30, 58],
2455
+ limbCurve: 10,
2456
+ limbCurveBack: 4,
2457
+ zigzag: 10,
2458
+ leafKind: "broad",
2459
+ clumpSize: 1.05,
2460
+ clumpSpread: 0.32,
2461
+ leafColor: "#547b35",
2462
+ leafVariation: 0.24,
2463
+ treeVariation: 0.2,
2464
+ throughTint: [0.88, 1.0, 0.48],
2465
+ barkColor: "#78756e",
2466
+ barkPale: 0.12,
2467
+ stiffness: 0.55,
2468
+ },
2469
+ // EUFORGEN & RHS (Castanea sativa): 16–35 m spreading broad-domed broadleaf with furrowed trunk.
2470
+ sweetChestnut: {
2471
+ name: "Sweet chestnut",
2472
+ latin: "Castanea sativa",
2473
+ regions: ["great-britain", "france", "netherlands"],
2474
+ crownRatio: [0.22, 0.46],
2475
+ baseRatio: [0.14, 0.45],
2476
+ heightRange: [16, 35],
2477
+ architecture: "broadleaf",
2478
+ height: 21,
2479
+ crownRadius: 8.0,
2480
+ crownBase: 4.0,
2481
+ trunkRadius: 0.54,
2482
+ shape: "hemispherical",
2483
+ crownPeak: 0.38,
2484
+ crownRound: 2.1,
2485
+ lobes: 0.35,
2486
+ foliageDepth: 0.35,
2487
+ openness: 0.22,
2488
+ stems: 1,
2489
+ forkShare: 0.35,
2490
+ fork: 0.55,
2491
+ forkSpread: 0.3,
2492
+ forkStems: 2,
2493
+ branchAngle: 56,
2494
+ branchAngleSpread: 15,
2495
+ bend: -0.06,
2496
+ crooked: 0.58,
2497
+ leader: 0.24,
2498
+ whorl: 0,
2499
+ whorlsPerMetre: 0,
2500
+ branchiness: 0.76,
2501
+ buttress: 0.55,
2502
+ scaffolds: 6,
2503
+ boleStubs: 0.25,
2504
+ limbAngle: [38, 72],
2505
+ limbCurve: 14,
2506
+ limbCurveBack: -8,
2507
+ zigzag: 14,
2508
+ leafKind: "broad",
2509
+ clumpSize: 1.55,
2510
+ clumpSpread: 0.32,
2511
+ leafColor: "#48702b",
2512
+ leafVariation: 0.22,
2513
+ treeVariation: 0.2,
2514
+ throughTint: [0.85, 1.0, 0.44],
2515
+ barkColor: "#5c4f44",
2516
+ barkPale: 0.08,
2517
+ stiffness: 0.68,
2518
+ },
2519
+ // EUFORGEN & WT (Populus nigra): 18–35 m broad riverine/floodplain broadleaf with burred trunk.
2520
+ blackPoplar: {
2521
+ name: "Black poplar",
2522
+ latin: "Populus nigra",
2523
+ regions: ["great-britain", "france", "netherlands", "denmark"],
2524
+ crownRatio: [0.2, 0.42],
2525
+ baseRatio: [0.16, 0.5],
2526
+ heightRange: [18, 35],
2527
+ architecture: "broadleaf",
2528
+ height: 23,
2529
+ crownRadius: 7.8,
2530
+ crownBase: 4.8,
2531
+ trunkRadius: 0.52,
2532
+ shape: "spherical",
2533
+ crownPeak: 0.46,
2534
+ crownRound: 2.0,
2535
+ lobes: 0.4,
2536
+ foliageDepth: 0.34,
2537
+ openness: 0.32,
2538
+ stems: 1,
2539
+ lean: 6,
2540
+ forkShare: 0.35,
2541
+ fork: 0.6,
2542
+ forkSpread: 0.28,
2543
+ forkStems: 2,
2544
+ branchAngle: 48,
2545
+ branchAngleSpread: 15,
2546
+ bend: 0.08,
2547
+ crooked: 0.48,
2548
+ leader: 0.42,
2549
+ whorl: 0,
2550
+ whorlsPerMetre: 0,
2551
+ branchiness: 0.76,
2552
+ buttress: 0.48,
2553
+ scaffolds: 7,
2554
+ boleStubs: 0.35,
2555
+ limbAngle: [32, 68],
2556
+ limbCurve: 16,
2557
+ limbCurveBack: -10,
2558
+ zigzag: 12,
2559
+ leafKind: "broad",
2560
+ clumpSize: 1.55,
2561
+ clumpSpread: 0.35,
2562
+ leafColor: "#567d36",
2563
+ leafVariation: 0.24,
2564
+ treeVariation: 0.22,
2565
+ throughTint: [0.88, 1.0, 0.48],
2566
+ barkColor: "#48443f",
2567
+ barkPale: 0.08,
2568
+ stiffness: 0.58,
2569
+ },
2570
+ // WT & TSO (Salix fragilis): 10–25 m waterside leaning willow with multi-stem forks and glossy narrow leaves.
2571
+ crackWillow: {
2572
+ name: "Crack willow",
2573
+ latin: "Salix fragilis",
2574
+ regions: ["great-britain", "france", "netherlands", "denmark", "ontario"],
2575
+ crownRatio: [0.25, 0.5],
2576
+ baseRatio: [0.12, 0.38],
2577
+ heightRange: [10, 25],
2578
+ architecture: "broadleaf",
2579
+ height: 15,
2580
+ crownRadius: 5.8,
2581
+ crownBase: 2.5,
2582
+ trunkRadius: 0.38,
2583
+ shape: "hemispherical",
2584
+ crownPeak: 0.42,
2585
+ crownRound: 2.2,
2586
+ foliageDepth: 0.38,
2587
+ openness: 0.34,
2588
+ stems: 1,
2589
+ lean: 6,
2590
+ forkShare: 0.46,
2591
+ fork: 0.46,
2592
+ forkSpread: 0.28,
2593
+ forkStems: 2,
2594
+ branchAngle: 52,
2595
+ branchAngleSpread: 14,
2596
+ bend: -0.04,
2597
+ crooked: 0.48,
2598
+ leader: 0.28,
2599
+ whorl: 0,
2600
+ whorlsPerMetre: 0,
2601
+ branchiness: 0.84,
2602
+ buttress: 0.35,
2603
+ scaffolds: 6,
2604
+ limbAngle: [34, 66],
2605
+ limbCurve: 8,
2606
+ limbCurveBack: -4,
2607
+ zigzag: 10,
2608
+ leafKind: "narrow",
2609
+ clumpSize: 1.45,
2610
+ clumpSpread: 0.34,
2611
+ leafColor: "#638a52",
2612
+ leafVariation: 0.24,
2613
+ treeVariation: 0.2,
2614
+ throughTint: [0.88, 1.0, 0.5],
2615
+ barkColor: "#595248",
2616
+ barkPale: 0.06,
2617
+ stiffness: 0.5,
2618
+ },
2619
+ // EUFORGEN & RHS (Quercus ilex): 12–27 m evergreen Mediterranean domed oak with dense dark sclerophyll canopy.
2620
+ holmOak: {
2621
+ name: "Holm oak",
2622
+ latin: "Quercus ilex",
2623
+ regions: ["great-britain", "france", "california"],
2624
+ crownRatio: [0.24, 0.5],
2625
+ baseRatio: [0.12, 0.4],
2626
+ heightRange: [12, 27],
2627
+ architecture: "broadleaf",
2628
+ height: 15.5,
2629
+ crownRadius: 6.0,
2630
+ crownBase: 2.6,
2631
+ trunkRadius: 0.42,
2632
+ shape: "hemispherical",
2633
+ crownPeak: 0.4,
2634
+ crownRound: 2.3,
2635
+ lobes: 0.32,
2636
+ foliageDepth: 0.32,
2637
+ openness: 0.15,
2638
+ stems: 1,
2639
+ forkShare: 0.4,
2640
+ fork: 0.52,
2641
+ forkSpread: 0.32,
2642
+ forkStems: 2,
2643
+ branchAngle: 58,
2644
+ branchAngleSpread: 16,
2645
+ bend: -0.04,
2646
+ crooked: 0.6,
2647
+ leader: 0.18,
2648
+ whorl: 0,
2649
+ whorlsPerMetre: 0,
2650
+ branchiness: 0.8,
2651
+ buttress: 0.42,
2652
+ scaffolds: 6,
2653
+ limbAngle: [40, 76],
2654
+ limbCurve: 14,
2655
+ limbCurveBack: -6,
2656
+ zigzag: 16,
2657
+ leafKind: "small",
2658
+ clumpSize: 1.35,
2659
+ clumpSpread: 0.3,
2660
+ leafColor: "#364f2c",
2661
+ leafVariation: 0.18,
2662
+ treeVariation: 0.18,
2663
+ throughTint: [0.76, 0.94, 0.42],
2664
+ barkColor: "#46423d",
2665
+ barkPale: 0.05,
2666
+ stiffness: 0.78,
2667
+ },
2668
+ // FEIS & USFS (Abies lasiocarpa): 14–35 m narrow spire alpine fir with snow-shedding drooping whorls.
2669
+ subalpineFir: {
2670
+ name: "Subalpine fir",
2671
+ latin: "Abies lasiocarpa",
2672
+ regions: ["pacific-northwest", "ontario"],
2673
+ crownRatio: [0.09, 0.2],
2674
+ baseRatio: [0.04, 0.24],
2675
+ heightRange: [14, 35],
2676
+ architecture: "conifer",
2677
+ height: 19,
2678
+ crownRadius: 2.3,
2679
+ crownBase: 1.5,
2680
+ trunkRadius: 0.3,
2681
+ shape: "conical",
2682
+ crownRound: 1.15,
2683
+ foliageDepth: 0.55,
2684
+ openness: 0.14,
2685
+ stems: 1,
2686
+ branchAngle: 82,
2687
+ branchAngleSpread: 8,
2688
+ bend: -0.26,
2689
+ crooked: 0.08,
2690
+ leader: 1,
2691
+ whorl: 6,
2692
+ whorlsPerMetre: 2.85,
2693
+ branchiness: 0.94,
2694
+ buttress: 0.25,
2695
+ limbAngle: [68, 108],
2696
+ clumpSize: 0.92,
2697
+ clumpSpread: 0.24,
2698
+ leafKind: "needle",
2699
+ leafColor: "#2d4c38",
2700
+ leafVariation: 0.18,
2701
+ treeVariation: 0.18,
2702
+ throughTint: [0.72, 0.92, 0.45],
2703
+ barkColor: "#6e706c",
2704
+ barkPale: 0.1,
2705
+ stiffness: 0.76,
2706
+ },
2707
+ };
2708
+ /** Every species: the starters, then the regional ones. */
2709
+ export const ALL_SPECIES = [...STARTER_SPECIES, ...Object.values(MORE_SPECIES)];
2710
+ /** A copy to change, that changes no one else's. */
2711
+ export function cloneSpecies(s) {
2712
+ return {
2713
+ ...s,
2714
+ throughTint: [...s.throughTint],
2715
+ ...(s.limbAngle ? { limbAngle: [s.limbAngle[0], s.limbAngle[1]] } : {}),
2716
+ ...(s.stemRange ? { stemRange: [s.stemRange[0], s.stemRange[1]] } : {}),
2717
+ ...(s.leafColors ? { leafColors: [...s.leafColors] } : {}),
2718
+ ...(s.regions ? { regions: [...s.regions] } : {}),
2719
+ ...(s.crownRatio ? { crownRatio: [s.crownRatio[0], s.crownRatio[1]] } : {}),
2720
+ ...(s.baseRatio ? { baseRatio: [s.baseRatio[0], s.baseRatio[1]] } : {}),
2721
+ ...(s.heightRange ? { heightRange: [s.heightRange[0], s.heightRange[1]] } : {}),
2722
+ };
2723
+ }
2724
+ /** What is wrong with a species, if anything: a list of plain sentences, empty when it is sound. */
2725
+ export function checkSpecies(s) {
2726
+ const out = [];
2727
+ if (!(s.height > 0))
2728
+ out.push("height must be above 0");
2729
+ if (!(s.crownRadius > 0))
2730
+ out.push("crownRadius must be above 0");
2731
+ if (!(s.crownBase >= 0 && s.crownBase < s.height))
2732
+ out.push("crownBase must be from 0 to under height");
2733
+ if (!(s.trunkRadius > 0))
2734
+ out.push("trunkRadius must be above 0");
2735
+ if (!(s.stems >= 1))
2736
+ out.push("stems must be 1 or more");
2737
+ if (s.architecture === "conifer" && !(s.whorl >= 1 && s.whorlsPerMetre > 0))
2738
+ out.push("a conifer needs whorl and whorlsPerMetre");
2739
+ if (s.architecture === "palm" && !(s.whorl >= 3))
2740
+ out.push("a palm needs whorl (its fronds) of 3 or more");
2741
+ if (s.weep !== undefined && !(s.weep >= 0 && s.weep <= 1))
2742
+ out.push("weep must be 0..1");
2743
+ if (s.palmLeaf !== undefined && !["feather", "fan"].includes(s.palmLeaf))
2744
+ out.push("palmLeaf must be feather or fan");
2745
+ if (s.pruning !== undefined && !["natural", "skirt", "skinned", "pineapple"].includes(s.pruning))
2746
+ out.push("pruning must be natural, skirt, skinned or pineapple");
2747
+ for (const k of ["plumose", "skirt"])
2748
+ if (s[k] !== undefined && !(s[k] >= 0 && s[k] <= 1))
2749
+ out.push(`${k} must be 0..1`);
2750
+ for (const k of ["frondWidth", "fanDroop"])
2751
+ if (s[k] !== undefined && !(s[k] >= 0.3 && s[k] <= 2))
2752
+ out.push(`${k} must be 0.3..2`);
2753
+ if (s.deadColor !== undefined && !/^#[0-9a-f]{6}$/i.test(s.deadColor))
2754
+ out.push("deadColor must be a hex colour like #a88f68");
2755
+ if (s.crownPeak !== undefined && !(s.crownPeak >= 0 && s.crownPeak <= 0.95))
2756
+ out.push("crownPeak must be 0..0.95");
2757
+ if (s.crownRound !== undefined && !(s.crownRound >= 0.8 && s.crownRound <= 8))
2758
+ out.push("crownRound must be 0.8..8");
2759
+ if (s.lobes !== undefined && !(s.lobes >= 0 && s.lobes <= 1))
2760
+ out.push("lobes must be 0..1");
2761
+ if (s.scaffolds !== undefined && !(Number.isInteger(s.scaffolds) && s.scaffolds >= 0 && s.scaffolds <= 12))
2762
+ out.push("scaffolds must be a whole number 0..12");
2763
+ if (s.forkStems !== undefined && !(Number.isInteger(s.forkStems) && s.forkStems >= 1 && s.forkStems <= 4))
2764
+ out.push("forkStems must be a whole number 1..4");
2765
+ if (s.forkSplits !== undefined && !(Number.isInteger(s.forkSplits) && s.forkSplits >= 0 && s.forkSplits <= 3))
2766
+ out.push("forkSplits must be a whole number 0..3");
2767
+ if (s.forkStemsMost !== undefined && !(Number.isInteger(s.forkStemsMost) && s.forkStemsMost >= (s.forkStems ?? 2) && s.forkStemsMost <= 4))
2768
+ out.push("forkStemsMost must be a whole number from forkStems to 4");
2769
+ if (s.forkSpread !== undefined && !(s.forkSpread >= 0 && s.forkSpread <= 1))
2770
+ out.push("forkSpread must be 0..1");
2771
+ if (s.stemRange !== undefined && !(s.stemRange.length === 2 && s.stemRange.every((n) => Number.isInteger(n) && n >= 2 && n <= 4) && s.stemRange[0] <= s.stemRange[1]))
2772
+ out.push("stemRange must be [least, most], whole numbers 2..4");
2773
+ if ((s.forkShare ?? 0) + (s.stemShare ?? 0) > 1)
2774
+ out.push("forkShare and stemShare together must be 1 or less");
2775
+ if (s.shed !== undefined && !(s.shed >= 0 && s.shed <= 1))
2776
+ out.push("shed must be 0..1");
2777
+ if (s.boleStubs !== undefined && !(s.boleStubs >= 0 && s.boleStubs <= 1))
2778
+ out.push("boleStubs must be 0..1");
2779
+ if (s.limbAngle !== undefined && !(s.limbAngle.length === 2 && s.limbAngle.every((a) => a >= 0 && a <= 175)))
2780
+ out.push("limbAngle must be [top, base], each 0..175 degrees");
2781
+ for (const k of ["limbCurve", "limbCurveBack"])
2782
+ if (s[k] !== undefined && !(Math.abs(s[k]) <= 180))
2783
+ out.push(`${k} must be -180..180 degrees`);
2784
+ if (s.zigzag !== undefined && !(s.zigzag >= 0 && s.zigzag <= 60))
2785
+ out.push("zigzag must be 0..60 degrees");
2786
+ if (s.lean !== undefined && !(s.lean >= 0 && s.lean <= 35))
2787
+ out.push("lean must be 0..35 degrees");
2788
+ if (s.zigzagRun !== undefined && !(s.zigzagRun >= 0 && s.zigzagRun <= 5))
2789
+ out.push("zigzagRun must be 0..5 m");
2790
+ if (s.phyllotaxis !== undefined && !["spiral", "opposite", "distichous"].includes(s.phyllotaxis))
2791
+ out.push("phyllotaxis must be spiral, opposite or distichous");
2792
+ for (const k of ["sprayHang", "canopyLift", "pads", "clusters", "buttress", "fork", "forkShare", "stemShare"])
2793
+ if (s[k] !== undefined && !(s[k] >= 0 && s[k] <= 1))
2794
+ out.push(`${k} must be 0..1`);
2795
+ if (!(s.clumpSize > 0))
2796
+ out.push("clumpSize must be above 0");
2797
+ if (!LEAF_KIND_ROWS.includes(s.leafKind))
2798
+ out.push(`leafKind must be one of ${LEAF_KIND_ROWS.join(", ")}`);
2799
+ for (const k of ["foliageDepth", "openness", "leader", "branchiness", "crooked", "leafVariation", "treeVariation", "barkPale", "stiffness", "clumpSpread"]) {
2800
+ if (!(s[k] >= 0 && s[k] <= 1))
2801
+ out.push(`${k} must be 0..1`);
2802
+ }
2803
+ if (!(s.bend >= -1 && s.bend <= 1))
2804
+ out.push("bend must be -1..1");
2805
+ if (s.crownRatio !== undefined && !(s.crownRatio.length === 2 && s.crownRatio[0] > 0 && s.crownRatio[0] < s.crownRatio[1] && s.crownRatio[1] <= 1.5))
2806
+ out.push("crownRatio must be [least, most], above 0 and to 1.5, the least under the most");
2807
+ if (s.baseRatio !== undefined && !(s.baseRatio.length === 2 && s.baseRatio[0] >= 0 && s.baseRatio[0] < s.baseRatio[1] && s.baseRatio[1] < 1))
2808
+ out.push("baseRatio must be [least, most], from 0 to under 1, the least under the most");
2809
+ if (s.heightRange !== undefined && !(s.heightRange.length === 2 && s.heightRange[0] > 0 && s.heightRange[0] < s.heightRange[1] && s.heightRange[1] <= 150))
2810
+ out.push("heightRange must be [typical, most] in metres, above 0 and to 150, the typical under the most");
2811
+ if (s.regions && !s.regions.every((r) => REGION_ROWS.includes(r)))
2812
+ out.push(`regions must be from ${REGION_ROWS.join(", ")}`);
2813
+ if (s.leafColors && !s.leafColors.every((c) => /^#[0-9a-f]{6}$/i.test(c)))
2814
+ out.push("leafColors must be hex colours like #5b7f3a");
2815
+ return out;
2816
+ }
2817
+ //# sourceMappingURL=species.js.map