@casmo/tree.js 0.1.1 → 0.3.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 (220) hide show
  1. package/README.md +312 -16
  2. package/dist/apply-Cio2t7CZ.js +285 -0
  3. package/dist/apply-Cio2t7CZ.js.map +1 -0
  4. package/dist/bake/index.d.ts +44 -5
  5. package/dist/bake/index.d.ts.map +1 -1
  6. package/dist/definition/crown-shape.d.ts +9 -0
  7. package/dist/definition/crown-shape.d.ts.map +1 -0
  8. package/dist/definition/defaults.d.ts +15 -1
  9. package/dist/definition/defaults.d.ts.map +1 -1
  10. package/dist/definition/index.d.ts +4 -3
  11. package/dist/definition/index.d.ts.map +1 -1
  12. package/dist/definition/migrations.d.ts +0 -8
  13. package/dist/definition/migrations.d.ts.map +1 -1
  14. package/dist/definition/schema.d.ts.map +1 -1
  15. package/dist/definition/types.d.ts +181 -6
  16. package/dist/definition/types.d.ts.map +1 -1
  17. package/dist/effects/mask.d.ts +3 -3
  18. package/dist/effects/mask.d.ts.map +1 -1
  19. package/dist/effects.js +3 -3
  20. package/dist/effects.js.map +1 -1
  21. package/dist/forest/Forest.d.ts +37 -2
  22. package/dist/forest/Forest.d.ts.map +1 -1
  23. package/dist/forest/nodes.d.ts +6 -1
  24. package/dist/forest/nodes.d.ts.map +1 -1
  25. package/dist/{forest-OX9WvAwh.js → forest-ChEaWJrf.js} +1763 -684
  26. package/dist/forest-ChEaWJrf.js.map +1 -0
  27. package/dist/generator/branches.d.ts +2 -2
  28. package/dist/generator/branches.d.ts.map +1 -1
  29. package/dist/generator/crown.d.ts +28 -0
  30. package/dist/generator/crown.d.ts.map +1 -0
  31. package/dist/generator/fruit.d.ts +28 -0
  32. package/dist/generator/fruit.d.ts.map +1 -0
  33. package/dist/generator/growth.d.ts +1 -1
  34. package/dist/generator/growth.d.ts.map +1 -1
  35. package/dist/generator/index.d.ts +5 -4
  36. package/dist/generator/index.d.ts.map +1 -1
  37. package/dist/generator/leaf-shapes.d.ts +33 -1
  38. package/dist/generator/leaf-shapes.d.ts.map +1 -1
  39. package/dist/generator/mesh.d.ts +10 -2
  40. package/dist/generator/mesh.d.ts.map +1 -1
  41. package/dist/generator/occlusion.d.ts +8 -0
  42. package/dist/generator/occlusion.d.ts.map +1 -0
  43. package/dist/generator/roots.d.ts +16 -0
  44. package/dist/generator/roots.d.ts.map +1 -0
  45. package/dist/generator/trunk.d.ts +16 -2
  46. package/dist/generator/trunk.d.ts.map +1 -1
  47. package/dist/generator/types.d.ts +61 -6
  48. package/dist/generator/types.d.ts.map +1 -1
  49. package/dist/growth/index.d.ts +1 -1
  50. package/dist/growth/index.d.ts.map +1 -1
  51. package/dist/growth/tsl.d.ts +2 -0
  52. package/dist/growth/tsl.d.ts.map +1 -1
  53. package/dist/index.d.ts +6 -3
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +274 -24
  56. package/dist/index.js.map +1 -1
  57. package/dist/materials/crown-nodes.d.ts +20 -0
  58. package/dist/materials/crown-nodes.d.ts.map +1 -0
  59. package/dist/materials/crown-normals.d.ts +17 -0
  60. package/dist/materials/crown-normals.d.ts.map +1 -0
  61. package/dist/materials/ground-tint.d.ts +13 -0
  62. package/dist/materials/ground-tint.d.ts.map +1 -0
  63. package/dist/materials/index.d.ts +13 -1
  64. package/dist/materials/index.d.ts.map +1 -1
  65. package/dist/materials/leaf-translucency-model.d.ts +14 -0
  66. package/dist/materials/leaf-translucency-model.d.ts.map +1 -0
  67. package/dist/materials/leaf-translucency.d.ts +73 -0
  68. package/dist/materials/leaf-translucency.d.ts.map +1 -0
  69. package/dist/materials/material-features.d.ts +43 -0
  70. package/dist/materials/material-features.d.ts.map +1 -0
  71. package/dist/materials/occlusion.d.ts +10 -0
  72. package/dist/materials/occlusion.d.ts.map +1 -0
  73. package/dist/materials/toon.d.ts +18 -1
  74. package/dist/materials/toon.d.ts.map +1 -1
  75. package/dist/names-BE9he6CS.js +713 -0
  76. package/dist/names-BE9he6CS.js.map +1 -0
  77. package/dist/react/Tree.d.ts +5 -2
  78. package/dist/react/Tree.d.ts.map +1 -1
  79. package/dist/react.js +10 -6
  80. package/dist/react.js.map +1 -1
  81. package/dist/season/nodes.d.ts +16 -0
  82. package/dist/season/nodes.d.ts.map +1 -1
  83. package/dist/season/profile.d.ts +26 -0
  84. package/dist/season/profile.d.ts.map +1 -1
  85. package/dist/species/almond.js +223 -0
  86. package/dist/species/almond.js.map +1 -0
  87. package/dist/species/almond.json +210 -0
  88. package/dist/species/apple.js +230 -0
  89. package/dist/species/apple.js.map +1 -0
  90. package/dist/species/apple.json +220 -0
  91. package/dist/species/ash.js +187 -0
  92. package/dist/species/ash.js.map +1 -0
  93. package/dist/species/ash.json +177 -0
  94. package/dist/species/beech.js +174 -0
  95. package/dist/species/beech.js.map +1 -0
  96. package/dist/species/beech.json +167 -0
  97. package/dist/species/birch.js +170 -0
  98. package/dist/species/birch.js.map +1 -0
  99. package/dist/species/birch.json +163 -0
  100. package/dist/species/catalog.d.ts +61 -0
  101. package/dist/species/catalog.d.ts.map +1 -0
  102. package/dist/species/cedar.js +169 -0
  103. package/dist/species/cedar.js.map +1 -0
  104. package/dist/species/cedar.json +168 -0
  105. package/dist/species/cherry.js +237 -0
  106. package/dist/species/cherry.js.map +1 -0
  107. package/dist/species/cherry.json +224 -0
  108. package/dist/species/chestnut.js +230 -0
  109. package/dist/species/chestnut.js.map +1 -0
  110. package/dist/species/chestnut.json +220 -0
  111. package/dist/species/douglas-fir.js +174 -0
  112. package/dist/species/douglas-fir.js.map +1 -0
  113. package/dist/species/douglas-fir.json +170 -0
  114. package/dist/species/elm.js +173 -0
  115. package/dist/species/elm.js.map +1 -0
  116. package/dist/species/elm.json +163 -0
  117. package/dist/species/hemlock.js +175 -0
  118. package/dist/species/hemlock.js.map +1 -0
  119. package/dist/species/hemlock.json +171 -0
  120. package/dist/species/hickory.js +200 -0
  121. package/dist/species/hickory.js.map +1 -0
  122. package/dist/species/hickory.json +192 -0
  123. package/dist/species/index.d.ts +10 -0
  124. package/dist/species/index.d.ts.map +1 -0
  125. package/dist/species/juniper.js +158 -0
  126. package/dist/species/juniper.js.map +1 -0
  127. package/dist/species/juniper.json +154 -0
  128. package/dist/species/loaders.d.ts +7 -0
  129. package/dist/species/loaders.d.ts.map +1 -0
  130. package/dist/species/mahogany.js +201 -0
  131. package/dist/species/mahogany.js.map +1 -0
  132. package/dist/species/mahogany.json +196 -0
  133. package/dist/species/maple.js +177 -0
  134. package/dist/species/maple.js.map +1 -0
  135. package/dist/species/maple.json +171 -0
  136. package/dist/species/oak.js +220 -0
  137. package/dist/species/oak.js.map +1 -0
  138. package/dist/species/oak.json +212 -0
  139. package/dist/species/olive.js +189 -0
  140. package/dist/species/olive.js.map +1 -0
  141. package/dist/species/olive.json +181 -0
  142. package/dist/species/peach.js +223 -0
  143. package/dist/species/peach.js.map +1 -0
  144. package/dist/species/peach.json +210 -0
  145. package/dist/species/pear.js +213 -0
  146. package/dist/species/pear.js.map +1 -0
  147. package/dist/species/pear.json +200 -0
  148. package/dist/species/pine.js +163 -0
  149. package/dist/species/pine.js.map +1 -0
  150. package/dist/species/pine.json +162 -0
  151. package/dist/species/plum.js +237 -0
  152. package/dist/species/plum.js.map +1 -0
  153. package/dist/species/plum.json +224 -0
  154. package/dist/species/red-oak.js +220 -0
  155. package/dist/species/red-oak.js.map +1 -0
  156. package/dist/species/red-oak.json +212 -0
  157. package/dist/species/redwood.js +174 -0
  158. package/dist/species/redwood.js.map +1 -0
  159. package/dist/species/redwood.json +170 -0
  160. package/dist/species/sequoia.js +167 -0
  161. package/dist/species/sequoia.js.map +1 -0
  162. package/dist/species/sequoia.json +166 -0
  163. package/dist/species/spruce.js +170 -0
  164. package/dist/species/spruce.js.map +1 -0
  165. package/dist/species/spruce.json +166 -0
  166. package/dist/species/teak.js +166 -0
  167. package/dist/species/teak.js.map +1 -0
  168. package/dist/species/teak.json +157 -0
  169. package/dist/species/types.d.ts +65 -0
  170. package/dist/species/types.d.ts.map +1 -0
  171. package/dist/species/walnut.js +220 -0
  172. package/dist/species/walnut.js.map +1 -0
  173. package/dist/species/walnut.json +212 -0
  174. package/dist/species/white-oak.js +213 -0
  175. package/dist/species/white-oak.js.map +1 -0
  176. package/dist/species/white-oak.json +208 -0
  177. package/dist/species.js +160 -0
  178. package/dist/species.js.map +1 -0
  179. package/dist/styles/apply.d.ts +12 -0
  180. package/dist/styles/apply.d.ts.map +1 -0
  181. package/dist/styles/low-poly/index.d.ts +1 -1
  182. package/dist/styles/low-poly/index.d.ts.map +1 -1
  183. package/dist/styles/low-poly.js +13 -10
  184. package/dist/styles/low-poly.js.map +1 -1
  185. package/dist/styles/material-features.d.ts +27 -0
  186. package/dist/styles/material-features.d.ts.map +1 -0
  187. package/dist/styles/names.d.ts +28 -0
  188. package/dist/styles/names.d.ts.map +1 -0
  189. package/dist/styles/realistic/index.d.ts +3 -8
  190. package/dist/styles/realistic/index.d.ts.map +1 -1
  191. package/dist/styles/realistic/textures.d.ts +20 -0
  192. package/dist/styles/realistic/textures.d.ts.map +1 -0
  193. package/dist/styles/realistic.js +14 -18
  194. package/dist/styles/realistic.js.map +1 -1
  195. package/dist/styles/registry.d.ts +2 -13
  196. package/dist/styles/registry.d.ts.map +1 -1
  197. package/dist/styles/stylized/index.d.ts +1 -1
  198. package/dist/styles/stylized/index.d.ts.map +1 -1
  199. package/dist/styles/stylized.js +13 -10
  200. package/dist/styles/stylized.js.map +1 -1
  201. package/dist/styles/types.d.ts +16 -2
  202. package/dist/styles/types.d.ts.map +1 -1
  203. package/dist/textures/realistic/bark-fibrous-normal.png +0 -0
  204. package/dist/textures/realistic/bark-fibrous.png +0 -0
  205. package/dist/textures/realistic/bark-papery-normal.png +0 -0
  206. package/dist/textures/realistic/bark-papery.png +0 -0
  207. package/dist/textures/realistic/bark-plated-normal.png +0 -0
  208. package/dist/textures/realistic/bark-plated.png +0 -0
  209. package/dist/textures/realistic/bark-smooth-normal.png +0 -0
  210. package/dist/textures/realistic/bark-smooth.png +0 -0
  211. package/dist/textures/realistic/leaf-compound.png +0 -0
  212. package/dist/textures/realistic/leaf-lobed.png +0 -0
  213. package/dist/textures/realistic/leaf-palmate.png +0 -0
  214. package/dist/textures/realistic/scale.png +0 -0
  215. package/dist/tree/Tree.d.ts +34 -5
  216. package/dist/tree/Tree.d.ts.map +1 -1
  217. package/package.json +9 -2
  218. package/dist/forest-OX9WvAwh.js.map +0 -1
  219. package/dist/types-BZjHhNz7.js +0 -20
  220. package/dist/types-BZjHhNz7.js.map +0 -1
@@ -0,0 +1,212 @@
1
+ {
2
+ "id": "oak",
3
+ "name": "Oak",
4
+ "form": "broadleaf",
5
+ "trunk": {
6
+ "length": 4.2,
7
+ "radius": 0.55,
8
+ "taper": 0.4,
9
+ "lengthVariation": 0.12,
10
+ "bend": 0.22,
11
+ "flare": 0.8
12
+ },
13
+ "branches": [
14
+ {
15
+ "angleVariation": 0.25,
16
+ "spiral": 137.5,
17
+ "lengthVariation": 0.25,
18
+ "taper": 0.45,
19
+ "bend": 0.25,
20
+ "gravity": 0.06,
21
+ "lengthProfile": [
22
+ {
23
+ "t": 0.45,
24
+ "value": 1.0
25
+ },
26
+ {
27
+ "t": 0.75,
28
+ "value": 0.9
29
+ },
30
+ {
31
+ "t": 1.0,
32
+ "value": 0.6
33
+ }
34
+ ],
35
+ "angleProfile": [
36
+ {
37
+ "t": 0.45,
38
+ "value": 1.15
39
+ },
40
+ {
41
+ "t": 1.0,
42
+ "value": 0.6
43
+ }
44
+ ],
45
+ "count": 5,
46
+ "start": 0.45,
47
+ "end": 0.95,
48
+ "angle": 60,
49
+ "length": 0.85,
50
+ "radius": 0.62
51
+ },
52
+ {
53
+ "angleVariation": 0.3,
54
+ "spiral": 137.5,
55
+ "lengthVariation": 0.15,
56
+ "taper": 0.45,
57
+ "bend": 0.25,
58
+ "gravity": 0.1,
59
+ "count": 3,
60
+ "start": 0.3,
61
+ "end": 1,
62
+ "angle": 48,
63
+ "length": 0.55,
64
+ "radius": 0.6
65
+ },
66
+ {
67
+ "angleVariation": 0.15,
68
+ "spiral": 137.5,
69
+ "lengthVariation": 0.15,
70
+ "taper": 0.45,
71
+ "bend": 0.2,
72
+ "gravity": 0.15,
73
+ "count": 3,
74
+ "start": 0.35,
75
+ "end": 1,
76
+ "angle": 42,
77
+ "length": 0.5,
78
+ "radius": 0.6
79
+ }
80
+ ],
81
+ "foliage": {
82
+ "type": "lobed",
83
+ "density": 0.45,
84
+ "size": 0.6,
85
+ "sizeVariation": 0.25,
86
+ "start": 0.05,
87
+ "angle": 50
88
+ },
89
+ "bark": {
90
+ "type": "furrowed",
91
+ "color": "#8f7f6c"
92
+ },
93
+ "fruit": {
94
+ "type": "nut",
95
+ "count": 0.3,
96
+ "size": 0.09,
97
+ "sizeVariation": 0.2,
98
+ "hang": 0.3
99
+ },
100
+ "roots": {
101
+ "count": 7,
102
+ "length": 0.3,
103
+ "lengthVariation": 0.3,
104
+ "radius": 0.4,
105
+ "angle": 10,
106
+ "bend": 0.35
107
+ },
108
+ "season": {
109
+ "leafColor": [
110
+ {
111
+ "t": 0,
112
+ "value": "#a5c45a"
113
+ },
114
+ {
115
+ "t": 0.2,
116
+ "value": "#3d6b2a"
117
+ },
118
+ {
119
+ "t": 0.52,
120
+ "value": "#3d6b2a"
121
+ },
122
+ {
123
+ "t": 0.6,
124
+ "value": "#b08a2e"
125
+ },
126
+ {
127
+ "t": 0.7,
128
+ "value": "#8a5a25"
129
+ },
130
+ {
131
+ "t": 0.97,
132
+ "value": "#8a5a25"
133
+ },
134
+ {
135
+ "t": 1,
136
+ "value": "#a5c45a"
137
+ }
138
+ ],
139
+ "leafCoverage": [
140
+ {
141
+ "t": 0,
142
+ "value": 0.3
143
+ },
144
+ {
145
+ "t": 0.1,
146
+ "value": 1
147
+ },
148
+ {
149
+ "t": 0.62,
150
+ "value": 1
151
+ },
152
+ {
153
+ "t": 0.78,
154
+ "value": 0
155
+ },
156
+ {
157
+ "t": 0.96,
158
+ "value": 0
159
+ },
160
+ {
161
+ "t": 1,
162
+ "value": 0.3
163
+ }
164
+ ],
165
+ "blossom": [
166
+ {
167
+ "t": 0,
168
+ "value": 0
169
+ }
170
+ ],
171
+ "blossomColor": "#d8d48a",
172
+ "fruit": [
173
+ {
174
+ "t": 0.25,
175
+ "value": 0
176
+ },
177
+ {
178
+ "t": 0.4,
179
+ "value": 1
180
+ },
181
+ {
182
+ "t": 0.62,
183
+ "value": 1
184
+ },
185
+ {
186
+ "t": 0.7,
187
+ "value": 0
188
+ }
189
+ ],
190
+ "fruitColor": [
191
+ {
192
+ "t": 0.35,
193
+ "value": "#7d9a3a"
194
+ },
195
+ {
196
+ "t": 0.55,
197
+ "value": "#8a5a2b"
198
+ }
199
+ ]
200
+ },
201
+ "wind": {
202
+ "trunk": 0.08,
203
+ "branches": 0.3,
204
+ "leaves": 0.6,
205
+ "frequency": 0.9
206
+ },
207
+ "variation": {
208
+ "color": 0.1,
209
+ "growth": 0.1,
210
+ "season": 0.05
211
+ }
212
+ }
@@ -0,0 +1,189 @@
1
+ // src/species/data/olive.json
2
+ var id = "olive";
3
+ var name = "Olive";
4
+ var form = "broadleaf";
5
+ var trunk = {
6
+ "length": 2.6,
7
+ "radius": .22,
8
+ "taper": .45,
9
+ "lengthVariation": .12,
10
+ "bend": .35,
11
+ "stems": 3,
12
+ "spread": 20,
13
+ "gravity": .1,
14
+ "flare": .4
15
+ };
16
+ var branches = [
17
+ {
18
+ "angleVariation": .15,
19
+ "spiral": 137.5,
20
+ "lengthVariation": .15,
21
+ "taper": .45,
22
+ "bend": .3,
23
+ "gravity": .12,
24
+ "angleProfile": [{
25
+ "t": .4,
26
+ "value": 1.1
27
+ }, {
28
+ "t": 1,
29
+ "value": .6
30
+ }],
31
+ "count": 3,
32
+ "start": .4,
33
+ "end": .95,
34
+ "angle": 55,
35
+ "length": .9,
36
+ "radius": .6
37
+ },
38
+ {
39
+ "angleVariation": .15,
40
+ "spiral": 137.5,
41
+ "lengthVariation": .15,
42
+ "taper": .45,
43
+ "bend": .3,
44
+ "gravity": .25,
45
+ "count": 2,
46
+ "start": .3,
47
+ "end": 1,
48
+ "angle": 45,
49
+ "length": .55,
50
+ "radius": .6
51
+ },
52
+ {
53
+ "angleVariation": .15,
54
+ "spiral": 137.5,
55
+ "lengthVariation": .15,
56
+ "taper": .45,
57
+ "bend": .2,
58
+ "gravity": .3,
59
+ "count": 2,
60
+ "start": .35,
61
+ "end": 1,
62
+ "angle": 45,
63
+ "length": .5,
64
+ "radius": .6
65
+ }
66
+ ];
67
+ var foliage = {
68
+ "type": "broad",
69
+ "density": .45,
70
+ "size": .45,
71
+ "sizeVariation": .25,
72
+ "start": .05,
73
+ "angle": 50
74
+ };
75
+ var bark = {
76
+ "type": "furrowed",
77
+ "color": "#c2bdb0"
78
+ };
79
+ var fruit = {
80
+ "type": "round",
81
+ "count": .6,
82
+ "size": .16,
83
+ "sizeVariation": .15,
84
+ "hang": .9
85
+ };
86
+ var roots = {
87
+ "count": 5,
88
+ "length": .2,
89
+ "lengthVariation": .3,
90
+ "radius": .3,
91
+ "angle": 14,
92
+ "bend": .3
93
+ };
94
+ var season = {
95
+ "leafColor": [{
96
+ "t": 0,
97
+ "value": "#71845a"
98
+ }, {
99
+ "t": 1,
100
+ "value": "#71845a"
101
+ }],
102
+ "leafCoverage": [{
103
+ "t": 0,
104
+ "value": 1
105
+ }],
106
+ "blossom": [
107
+ {
108
+ "t": 0,
109
+ "value": 0
110
+ },
111
+ {
112
+ "t": .08,
113
+ "value": 0
114
+ },
115
+ {
116
+ "t": .13,
117
+ "value": .35
118
+ },
119
+ {
120
+ "t": .154,
121
+ "value": .315
122
+ },
123
+ {
124
+ "t": .19,
125
+ "value": 0
126
+ }
127
+ ],
128
+ "blossomColor": "#f1ecc8",
129
+ "fruit": [
130
+ {
131
+ "t": .24,
132
+ "value": 0
133
+ },
134
+ {
135
+ "t": .4,
136
+ "value": 1
137
+ },
138
+ {
139
+ "t": .66,
140
+ "value": 1
141
+ },
142
+ {
143
+ "t": .74,
144
+ "value": 0
145
+ }
146
+ ],
147
+ "fruitColor": [
148
+ {
149
+ "t": .4,
150
+ "value": "#7f9a3a"
151
+ },
152
+ {
153
+ "t": .55,
154
+ "value": "#6a4a3a"
155
+ },
156
+ {
157
+ "t": .64,
158
+ "value": "#3a2232"
159
+ }
160
+ ]
161
+ };
162
+ var wind = {
163
+ "trunk": .04,
164
+ "branches": .32,
165
+ "leaves": .65,
166
+ "frequency": 1
167
+ };
168
+ var variation = {
169
+ "color": .1,
170
+ "growth": .1,
171
+ "season": .05
172
+ };
173
+ var olive_default = {
174
+ id,
175
+ name,
176
+ form,
177
+ trunk,
178
+ branches,
179
+ foliage,
180
+ bark,
181
+ fruit,
182
+ roots,
183
+ season,
184
+ wind,
185
+ variation
186
+ };
187
+ export { bark, branches, olive_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
188
+
189
+ //# sourceMappingURL=olive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"olive.js","names":[],"sources":[],"mappings":""}
@@ -0,0 +1,181 @@
1
+ {
2
+ "id": "olive",
3
+ "name": "Olive",
4
+ "form": "broadleaf",
5
+ "trunk": {
6
+ "length": 2.6,
7
+ "radius": 0.22,
8
+ "taper": 0.45,
9
+ "lengthVariation": 0.12,
10
+ "bend": 0.35,
11
+ "stems": 3,
12
+ "spread": 20,
13
+ "gravity": 0.1,
14
+ "flare": 0.4
15
+ },
16
+ "branches": [
17
+ {
18
+ "angleVariation": 0.15,
19
+ "spiral": 137.5,
20
+ "lengthVariation": 0.15,
21
+ "taper": 0.45,
22
+ "bend": 0.3,
23
+ "gravity": 0.12,
24
+ "angleProfile": [
25
+ {
26
+ "t": 0.4,
27
+ "value": 1.1
28
+ },
29
+ {
30
+ "t": 1.0,
31
+ "value": 0.6
32
+ }
33
+ ],
34
+ "count": 3,
35
+ "start": 0.4,
36
+ "end": 0.95,
37
+ "angle": 55,
38
+ "length": 0.9,
39
+ "radius": 0.6
40
+ },
41
+ {
42
+ "angleVariation": 0.15,
43
+ "spiral": 137.5,
44
+ "lengthVariation": 0.15,
45
+ "taper": 0.45,
46
+ "bend": 0.3,
47
+ "gravity": 0.25,
48
+ "count": 2,
49
+ "start": 0.3,
50
+ "end": 1,
51
+ "angle": 45,
52
+ "length": 0.55,
53
+ "radius": 0.6
54
+ },
55
+ {
56
+ "angleVariation": 0.15,
57
+ "spiral": 137.5,
58
+ "lengthVariation": 0.15,
59
+ "taper": 0.45,
60
+ "bend": 0.2,
61
+ "gravity": 0.3,
62
+ "count": 2,
63
+ "start": 0.35,
64
+ "end": 1,
65
+ "angle": 45,
66
+ "length": 0.5,
67
+ "radius": 0.6
68
+ }
69
+ ],
70
+ "foliage": {
71
+ "type": "broad",
72
+ "density": 0.45,
73
+ "size": 0.45,
74
+ "sizeVariation": 0.25,
75
+ "start": 0.05,
76
+ "angle": 50
77
+ },
78
+ "bark": {
79
+ "type": "furrowed",
80
+ "color": "#c2bdb0"
81
+ },
82
+ "fruit": {
83
+ "type": "round",
84
+ "count": 0.6,
85
+ "size": 0.16,
86
+ "sizeVariation": 0.15,
87
+ "hang": 0.9
88
+ },
89
+ "roots": {
90
+ "count": 5,
91
+ "length": 0.2,
92
+ "lengthVariation": 0.3,
93
+ "radius": 0.3,
94
+ "angle": 14,
95
+ "bend": 0.3
96
+ },
97
+ "season": {
98
+ "leafColor": [
99
+ {
100
+ "t": 0,
101
+ "value": "#71845a"
102
+ },
103
+ {
104
+ "t": 1,
105
+ "value": "#71845a"
106
+ }
107
+ ],
108
+ "leafCoverage": [
109
+ {
110
+ "t": 0,
111
+ "value": 1
112
+ }
113
+ ],
114
+ "blossom": [
115
+ {
116
+ "t": 0,
117
+ "value": 0
118
+ },
119
+ {
120
+ "t": 0.08,
121
+ "value": 0
122
+ },
123
+ {
124
+ "t": 0.13,
125
+ "value": 0.35
126
+ },
127
+ {
128
+ "t": 0.154,
129
+ "value": 0.315
130
+ },
131
+ {
132
+ "t": 0.19,
133
+ "value": 0
134
+ }
135
+ ],
136
+ "blossomColor": "#f1ecc8",
137
+ "fruit": [
138
+ {
139
+ "t": 0.24,
140
+ "value": 0
141
+ },
142
+ {
143
+ "t": 0.4,
144
+ "value": 1
145
+ },
146
+ {
147
+ "t": 0.66,
148
+ "value": 1
149
+ },
150
+ {
151
+ "t": 0.74,
152
+ "value": 0
153
+ }
154
+ ],
155
+ "fruitColor": [
156
+ {
157
+ "t": 0.4,
158
+ "value": "#7f9a3a"
159
+ },
160
+ {
161
+ "t": 0.55,
162
+ "value": "#6a4a3a"
163
+ },
164
+ {
165
+ "t": 0.64,
166
+ "value": "#3a2232"
167
+ }
168
+ ]
169
+ },
170
+ "wind": {
171
+ "trunk": 0.04,
172
+ "branches": 0.32,
173
+ "leaves": 0.65,
174
+ "frequency": 1
175
+ },
176
+ "variation": {
177
+ "color": 0.1,
178
+ "growth": 0.1,
179
+ "season": 0.05
180
+ }
181
+ }