@casmo/tree.js 0.2.0 → 0.4.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 (164) hide show
  1. package/README.md +392 -1
  2. package/dist/{apply-CcodnAbs.js → apply-Cio2t7CZ.js} +51 -16
  3. package/dist/apply-Cio2t7CZ.js.map +1 -0
  4. package/dist/bake/index.d.ts +43 -4
  5. package/dist/bake/index.d.ts.map +1 -1
  6. package/dist/definition/defaults.d.ts +9 -1
  7. package/dist/definition/defaults.d.ts.map +1 -1
  8. package/dist/definition/index.d.ts +2 -2
  9. package/dist/definition/index.d.ts.map +1 -1
  10. package/dist/definition/schema.d.ts.map +1 -1
  11. package/dist/definition/types.d.ts +86 -0
  12. package/dist/definition/types.d.ts.map +1 -1
  13. package/dist/effects/effects.d.ts +51 -6
  14. package/dist/effects/effects.d.ts.map +1 -1
  15. package/dist/effects/glow.d.ts +5 -0
  16. package/dist/effects/glow.d.ts.map +1 -1
  17. package/dist/effects/grade.d.ts +3 -0
  18. package/dist/effects/grade.d.ts.map +1 -1
  19. package/dist/effects/highlight.d.ts +35 -0
  20. package/dist/effects/highlight.d.ts.map +1 -0
  21. package/dist/effects/index.d.ts +5 -1
  22. package/dist/effects/index.d.ts.map +1 -1
  23. package/dist/effects/inner-lines.d.ts +39 -0
  24. package/dist/effects/inner-lines.d.ts.map +1 -0
  25. package/dist/effects/live.d.ts +12 -0
  26. package/dist/effects/live.d.ts.map +1 -0
  27. package/dist/effects/mask.d.ts +23 -11
  28. package/dist/effects/mask.d.ts.map +1 -1
  29. package/dist/effects/outline.d.ts +12 -0
  30. package/dist/effects/outline.d.ts.map +1 -1
  31. package/dist/effects/pass.d.ts +27 -0
  32. package/dist/effects/pass.d.ts.map +1 -0
  33. package/dist/effects/screen.d.ts +31 -0
  34. package/dist/effects/screen.d.ts.map +1 -0
  35. package/dist/effects/suggested.d.ts +5 -0
  36. package/dist/effects/suggested.d.ts.map +1 -1
  37. package/dist/effects/tree-id.d.ts +50 -0
  38. package/dist/effects/tree-id.d.ts.map +1 -0
  39. package/dist/effects.js +772 -57
  40. package/dist/effects.js.map +1 -1
  41. package/dist/forest/Forest.d.ts +29 -1
  42. package/dist/forest/Forest.d.ts.map +1 -1
  43. package/dist/forest/nodes.d.ts +2 -0
  44. package/dist/forest/nodes.d.ts.map +1 -1
  45. package/dist/{forest-DTrD8puH.js → forest-lg61rhKM.js} +1125 -191
  46. package/dist/forest-lg61rhKM.js.map +1 -0
  47. package/dist/generator/crown.d.ts +28 -0
  48. package/dist/generator/crown.d.ts.map +1 -0
  49. package/dist/generator/growth.d.ts +1 -1
  50. package/dist/generator/growth.d.ts.map +1 -1
  51. package/dist/generator/index.d.ts +2 -1
  52. package/dist/generator/index.d.ts.map +1 -1
  53. package/dist/generator/mesh.d.ts +10 -2
  54. package/dist/generator/mesh.d.ts.map +1 -1
  55. package/dist/generator/occlusion.d.ts +8 -0
  56. package/dist/generator/occlusion.d.ts.map +1 -0
  57. package/dist/generator/roots.d.ts +16 -0
  58. package/dist/generator/roots.d.ts.map +1 -0
  59. package/dist/generator/trunk.d.ts +8 -0
  60. package/dist/generator/trunk.d.ts.map +1 -1
  61. package/dist/generator/types.d.ts +27 -1
  62. package/dist/generator/types.d.ts.map +1 -1
  63. package/dist/growth/index.d.ts +1 -1
  64. package/dist/growth/index.d.ts.map +1 -1
  65. package/dist/growth/tsl.d.ts +2 -0
  66. package/dist/growth/tsl.d.ts.map +1 -1
  67. package/dist/index.d.ts +4 -3
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +234 -28
  70. package/dist/index.js.map +1 -1
  71. package/dist/materials/crown-nodes.d.ts +20 -0
  72. package/dist/materials/crown-nodes.d.ts.map +1 -0
  73. package/dist/materials/crown-normals.d.ts +17 -0
  74. package/dist/materials/crown-normals.d.ts.map +1 -0
  75. package/dist/materials/ground-tint.d.ts +13 -0
  76. package/dist/materials/ground-tint.d.ts.map +1 -0
  77. package/dist/materials/index.d.ts +7 -1
  78. package/dist/materials/index.d.ts.map +1 -1
  79. package/dist/materials/leaf-translucency-model.d.ts +14 -0
  80. package/dist/materials/leaf-translucency-model.d.ts.map +1 -0
  81. package/dist/materials/leaf-translucency.d.ts +73 -0
  82. package/dist/materials/leaf-translucency.d.ts.map +1 -0
  83. package/dist/materials/material-features.d.ts +43 -0
  84. package/dist/materials/material-features.d.ts.map +1 -0
  85. package/dist/materials/occlusion.d.ts +10 -0
  86. package/dist/materials/occlusion.d.ts.map +1 -0
  87. package/dist/materials/toon.d.ts +18 -1
  88. package/dist/materials/toon.d.ts.map +1 -1
  89. package/dist/{names-C6-wuJ29.js → names-BE9he6CS.js} +133 -9
  90. package/dist/names-BE9he6CS.js.map +1 -0
  91. package/dist/react.js +1 -1
  92. package/dist/species/almond.js +12 -2
  93. package/dist/species/almond.json +10 -1
  94. package/dist/species/apple.js +12 -2
  95. package/dist/species/apple.json +10 -1
  96. package/dist/species/ash.js +12 -2
  97. package/dist/species/ash.json +10 -1
  98. package/dist/species/beech.js +12 -2
  99. package/dist/species/beech.json +10 -1
  100. package/dist/species/birch.js +12 -2
  101. package/dist/species/birch.json +10 -1
  102. package/dist/species/cedar.js +12 -2
  103. package/dist/species/cedar.json +10 -1
  104. package/dist/species/cherry.js +12 -2
  105. package/dist/species/cherry.json +10 -1
  106. package/dist/species/chestnut.js +12 -2
  107. package/dist/species/chestnut.json +10 -1
  108. package/dist/species/douglas-fir.js +12 -2
  109. package/dist/species/douglas-fir.json +10 -1
  110. package/dist/species/elm.js +12 -2
  111. package/dist/species/elm.json +10 -1
  112. package/dist/species/hemlock.js +12 -2
  113. package/dist/species/hemlock.json +10 -1
  114. package/dist/species/hickory.js +12 -2
  115. package/dist/species/hickory.json +10 -1
  116. package/dist/species/juniper.js +12 -2
  117. package/dist/species/juniper.json +10 -1
  118. package/dist/species/mahogany.js +12 -2
  119. package/dist/species/mahogany.json +10 -1
  120. package/dist/species/maple.js +12 -2
  121. package/dist/species/maple.json +10 -1
  122. package/dist/species/oak.js +12 -2
  123. package/dist/species/oak.json +10 -1
  124. package/dist/species/olive.js +12 -2
  125. package/dist/species/olive.json +10 -1
  126. package/dist/species/peach.js +12 -2
  127. package/dist/species/peach.json +10 -1
  128. package/dist/species/pear.js +12 -2
  129. package/dist/species/pear.json +10 -1
  130. package/dist/species/pine.js +12 -2
  131. package/dist/species/pine.json +10 -1
  132. package/dist/species/plum.js +12 -2
  133. package/dist/species/plum.json +10 -1
  134. package/dist/species/red-oak.js +12 -2
  135. package/dist/species/red-oak.json +10 -1
  136. package/dist/species/redwood.js +12 -2
  137. package/dist/species/redwood.json +10 -1
  138. package/dist/species/sequoia.js +12 -2
  139. package/dist/species/sequoia.json +10 -1
  140. package/dist/species/spruce.js +12 -2
  141. package/dist/species/spruce.json +10 -1
  142. package/dist/species/teak.js +12 -2
  143. package/dist/species/teak.json +10 -1
  144. package/dist/species/types.d.ts +7 -3
  145. package/dist/species/types.d.ts.map +1 -1
  146. package/dist/species/walnut.js +12 -2
  147. package/dist/species/walnut.json +10 -1
  148. package/dist/species/white-oak.js +12 -2
  149. package/dist/species/white-oak.json +10 -1
  150. package/dist/styles/apply.d.ts.map +1 -1
  151. package/dist/styles/low-poly.js +6 -4
  152. package/dist/styles/low-poly.js.map +1 -1
  153. package/dist/styles/material-features.d.ts +27 -0
  154. package/dist/styles/material-features.d.ts.map +1 -0
  155. package/dist/styles/realistic.js +6 -4
  156. package/dist/styles/realistic.js.map +1 -1
  157. package/dist/styles/stylized.js +6 -4
  158. package/dist/styles/stylized.js.map +1 -1
  159. package/dist/tree/Tree.d.ts +28 -1
  160. package/dist/tree/Tree.d.ts.map +1 -1
  161. package/package.json +1 -1
  162. package/dist/apply-CcodnAbs.js.map +0 -1
  163. package/dist/forest-DTrD8puH.js.map +0 -1
  164. package/dist/names-C6-wuJ29.js.map +0 -1
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .46,
8
8
  "taper": .34,
9
9
  "lengthVariation": .1,
10
- "bend": .06
10
+ "bend": .06,
11
+ "flare": .8
11
12
  };
12
13
  var branches = [
13
14
  {
@@ -86,6 +87,14 @@ var fruit = {
86
87
  "sizeVariation": .15,
87
88
  "hang": 0
88
89
  };
90
+ var roots = {
91
+ "count": 7,
92
+ "length": .3,
93
+ "lengthVariation": .3,
94
+ "radius": .4,
95
+ "angle": 10,
96
+ "bend": .35
97
+ };
89
98
  var season = {
90
99
  "leafColor": [
91
100
  {
@@ -182,10 +191,11 @@ var mahogany_default = {
182
191
  foliage,
183
192
  bark,
184
193
  fruit,
194
+ roots,
185
195
  season,
186
196
  wind,
187
197
  variation
188
198
  };
189
- export { bark, branches, mahogany_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
199
+ export { bark, branches, mahogany_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
190
200
 
191
201
  //# sourceMappingURL=mahogany.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.46,
8
8
  "taper": 0.34,
9
9
  "lengthVariation": 0.1,
10
- "bend": 0.06
10
+ "bend": 0.06,
11
+ "flare": 0.8
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -92,6 +93,14 @@
92
93
  "sizeVariation": 0.15,
93
94
  "hang": 0
94
95
  },
96
+ "roots": {
97
+ "count": 7,
98
+ "length": 0.3,
99
+ "lengthVariation": 0.3,
100
+ "radius": 0.4,
101
+ "angle": 10,
102
+ "bend": 0.35
103
+ },
95
104
  "season": {
96
105
  "leafColor": [
97
106
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .38,
8
8
  "taper": .32,
9
9
  "lengthVariation": .1,
10
- "bend": .08
10
+ "bend": .08,
11
+ "flare": .4
11
12
  };
12
13
  var branches = [{
13
14
  "angleVariation": .15,
@@ -73,6 +74,14 @@ var bark = {
73
74
  "type": "furrowed",
74
75
  "color": "#958c80"
75
76
  };
77
+ var roots = {
78
+ "count": 5,
79
+ "length": .2,
80
+ "lengthVariation": .3,
81
+ "radius": .3,
82
+ "angle": 14,
83
+ "bend": .3
84
+ };
76
85
  var season = {
77
86
  "leafColor": [
78
87
  {
@@ -158,10 +167,11 @@ var maple_default = {
158
167
  branches,
159
168
  foliage,
160
169
  bark,
170
+ roots,
161
171
  season,
162
172
  wind,
163
173
  variation
164
174
  };
165
- export { bark, branches, maple_default as default, foliage, form, id, name, season, trunk, variation, wind };
175
+ export { bark, branches, maple_default as default, foliage, form, id, name, roots, season, trunk, variation, wind };
166
176
 
167
177
  //# sourceMappingURL=maple.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.38,
8
8
  "taper": 0.32,
9
9
  "lengthVariation": 0.1,
10
- "bend": 0.08
10
+ "bend": 0.08,
11
+ "flare": 0.4
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -79,6 +80,14 @@
79
80
  "type": "furrowed",
80
81
  "color": "#958c80"
81
82
  },
83
+ "roots": {
84
+ "count": 5,
85
+ "length": 0.2,
86
+ "lengthVariation": 0.3,
87
+ "radius": 0.3,
88
+ "angle": 14,
89
+ "bend": 0.3
90
+ },
82
91
  "season": {
83
92
  "leafColor": [
84
93
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .55,
8
8
  "taper": .4,
9
9
  "lengthVariation": .12,
10
- "bend": .22
10
+ "bend": .22,
11
+ "flare": .8
11
12
  };
12
13
  var branches = [
13
14
  {
@@ -93,6 +94,14 @@ var fruit = {
93
94
  "sizeVariation": .2,
94
95
  "hang": .3
95
96
  };
97
+ var roots = {
98
+ "count": 7,
99
+ "length": .3,
100
+ "lengthVariation": .3,
101
+ "radius": .4,
102
+ "angle": 10,
103
+ "bend": .35
104
+ };
96
105
  var season = {
97
106
  "leafColor": [
98
107
  {
@@ -201,10 +210,11 @@ var oak_default = {
201
210
  foliage,
202
211
  bark,
203
212
  fruit,
213
+ roots,
204
214
  season,
205
215
  wind,
206
216
  variation
207
217
  };
208
- export { bark, branches, oak_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
218
+ export { bark, branches, oak_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
209
219
 
210
220
  //# sourceMappingURL=oak.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.55,
8
8
  "taper": 0.4,
9
9
  "lengthVariation": 0.12,
10
- "bend": 0.22
10
+ "bend": 0.22,
11
+ "flare": 0.8
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -96,6 +97,14 @@
96
97
  "sizeVariation": 0.2,
97
98
  "hang": 0.3
98
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
+ },
99
108
  "season": {
100
109
  "leafColor": [
101
110
  {
@@ -10,7 +10,8 @@ var trunk = {
10
10
  "bend": .35,
11
11
  "stems": 3,
12
12
  "spread": 20,
13
- "gravity": .1
13
+ "gravity": .1,
14
+ "flare": .4
14
15
  };
15
16
  var branches = [
16
17
  {
@@ -82,6 +83,14 @@ var fruit = {
82
83
  "sizeVariation": .15,
83
84
  "hang": .9
84
85
  };
86
+ var roots = {
87
+ "count": 5,
88
+ "length": .2,
89
+ "lengthVariation": .3,
90
+ "radius": .3,
91
+ "angle": 14,
92
+ "bend": .3
93
+ };
85
94
  var season = {
86
95
  "leafColor": [{
87
96
  "t": 0,
@@ -170,10 +179,11 @@ var olive_default = {
170
179
  foliage,
171
180
  bark,
172
181
  fruit,
182
+ roots,
173
183
  season,
174
184
  wind,
175
185
  variation
176
186
  };
177
- export { bark, branches, olive_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
187
+ export { bark, branches, olive_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
178
188
 
179
189
  //# sourceMappingURL=olive.js.map
@@ -10,7 +10,8 @@
10
10
  "bend": 0.35,
11
11
  "stems": 3,
12
12
  "spread": 20,
13
- "gravity": 0.1
13
+ "gravity": 0.1,
14
+ "flare": 0.4
14
15
  },
15
16
  "branches": [
16
17
  {
@@ -85,6 +86,14 @@
85
86
  "sizeVariation": 0.15,
86
87
  "hang": 0.9
87
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
+ },
88
97
  "season": {
89
98
  "leafColor": [
90
99
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .2,
8
8
  "taper": .45,
9
9
  "lengthVariation": .12,
10
- "bend": .2
10
+ "bend": .2,
11
+ "flare": .4
11
12
  };
12
13
  var branches = [
13
14
  {
@@ -79,6 +80,14 @@ var fruit = {
79
80
  "sizeVariation": .15,
80
81
  "hang": .9
81
82
  };
83
+ var roots = {
84
+ "count": 5,
85
+ "length": .2,
86
+ "lengthVariation": .3,
87
+ "radius": .3,
88
+ "angle": 14,
89
+ "bend": .3
90
+ };
82
91
  var season = {
83
92
  "leafColor": [
84
93
  {
@@ -204,10 +213,11 @@ var peach_default = {
204
213
  foliage,
205
214
  bark,
206
215
  fruit,
216
+ roots,
207
217
  season,
208
218
  wind,
209
219
  variation
210
220
  };
211
- export { bark, branches, peach_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
221
+ export { bark, branches, peach_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
212
222
 
213
223
  //# sourceMappingURL=peach.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.2,
8
8
  "taper": 0.45,
9
9
  "lengthVariation": 0.12,
10
- "bend": 0.2
10
+ "bend": 0.2,
11
+ "flare": 0.4
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -82,6 +83,14 @@
82
83
  "sizeVariation": 0.15,
83
84
  "hang": 0.9
84
85
  },
86
+ "roots": {
87
+ "count": 5,
88
+ "length": 0.2,
89
+ "lengthVariation": 0.3,
90
+ "radius": 0.3,
91
+ "angle": 14,
92
+ "bend": 0.3
93
+ },
85
94
  "season": {
86
95
  "leafColor": [
87
96
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .26,
8
8
  "taper": .35,
9
9
  "lengthVariation": .12,
10
- "bend": .1
10
+ "bend": .1,
11
+ "flare": .4
11
12
  };
12
13
  var branches = [{
13
14
  "angleVariation": .15,
@@ -69,6 +70,14 @@ var fruit = {
69
70
  "sizeVariation": .15,
70
71
  "hang": 1
71
72
  };
73
+ var roots = {
74
+ "count": 5,
75
+ "length": .2,
76
+ "lengthVariation": .3,
77
+ "radius": .3,
78
+ "angle": 14,
79
+ "bend": .3
80
+ };
72
81
  var season = {
73
82
  "leafColor": [
74
83
  {
@@ -194,10 +203,11 @@ var pear_default = {
194
203
  foliage,
195
204
  bark,
196
205
  fruit,
206
+ roots,
197
207
  season,
198
208
  wind,
199
209
  variation
200
210
  };
201
- export { bark, branches, pear_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
211
+ export { bark, branches, pear_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
202
212
 
203
213
  //# sourceMappingURL=pear.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.26,
8
8
  "taper": 0.35,
9
9
  "lengthVariation": 0.12,
10
- "bend": 0.1
10
+ "bend": 0.1,
11
+ "flare": 0.4
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -72,6 +73,14 @@
72
73
  "sizeVariation": 0.15,
73
74
  "hang": 1
74
75
  },
76
+ "roots": {
77
+ "count": 5,
78
+ "length": 0.2,
79
+ "lengthVariation": 0.3,
80
+ "radius": 0.3,
81
+ "angle": 14,
82
+ "bend": 0.3
83
+ },
75
84
  "season": {
76
85
  "leafColor": [
77
86
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .3,
8
8
  "taper": .35,
9
9
  "lengthVariation": .12,
10
- "bend": .12
10
+ "bend": .12,
11
+ "flare": .15
11
12
  };
12
13
  var branches = [{
13
14
  "angleVariation": .2,
@@ -76,6 +77,14 @@ var fruit = {
76
77
  "sizeVariation": .2,
77
78
  "hang": .2
78
79
  };
80
+ var roots = {
81
+ "count": 3,
82
+ "length": .1,
83
+ "lengthVariation": .3,
84
+ "radius": .22,
85
+ "angle": 20,
86
+ "bend": .25
87
+ };
79
88
  var season = {
80
89
  "leafColor": [
81
90
  {
@@ -144,10 +153,11 @@ var pine_default = {
144
153
  foliage,
145
154
  bark,
146
155
  fruit,
156
+ roots,
147
157
  season,
148
158
  wind,
149
159
  variation
150
160
  };
151
- export { bark, branches, pine_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
161
+ export { bark, branches, pine_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
152
162
 
153
163
  //# sourceMappingURL=pine.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.3,
8
8
  "taper": 0.35,
9
9
  "lengthVariation": 0.12,
10
- "bend": 0.12
10
+ "bend": 0.12,
11
+ "flare": 0.15
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -82,6 +83,14 @@
82
83
  "sizeVariation": 0.2,
83
84
  "hang": 0.2
84
85
  },
86
+ "roots": {
87
+ "count": 3,
88
+ "length": 0.1,
89
+ "lengthVariation": 0.3,
90
+ "radius": 0.22,
91
+ "angle": 20,
92
+ "bend": 0.25
93
+ },
85
94
  "season": {
86
95
  "leafColor": [
87
96
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .22,
8
8
  "taper": .4,
9
9
  "lengthVariation": .12,
10
- "bend": .2
10
+ "bend": .2,
11
+ "flare": .4
11
12
  };
12
13
  var branches = [
13
14
  {
@@ -93,6 +94,14 @@ var fruit = {
93
94
  "sizeVariation": .15,
94
95
  "hang": 1
95
96
  };
97
+ var roots = {
98
+ "count": 5,
99
+ "length": .2,
100
+ "lengthVariation": .3,
101
+ "radius": .3,
102
+ "angle": 14,
103
+ "bend": .3
104
+ };
96
105
  var season = {
97
106
  "leafColor": [
98
107
  {
@@ -218,10 +227,11 @@ var plum_default = {
218
227
  foliage,
219
228
  bark,
220
229
  fruit,
230
+ roots,
221
231
  season,
222
232
  wind,
223
233
  variation
224
234
  };
225
- export { bark, branches, plum_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
235
+ export { bark, branches, plum_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
226
236
 
227
237
  //# sourceMappingURL=plum.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.22,
8
8
  "taper": 0.4,
9
9
  "lengthVariation": 0.12,
10
- "bend": 0.2
10
+ "bend": 0.2,
11
+ "flare": 0.4
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -96,6 +97,14 @@
96
97
  "sizeVariation": 0.15,
97
98
  "hang": 1
98
99
  },
100
+ "roots": {
101
+ "count": 5,
102
+ "length": 0.2,
103
+ "lengthVariation": 0.3,
104
+ "radius": 0.3,
105
+ "angle": 14,
106
+ "bend": 0.3
107
+ },
99
108
  "season": {
100
109
  "leafColor": [
101
110
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .4,
8
8
  "taper": .32,
9
9
  "lengthVariation": .1,
10
- "bend": .06
10
+ "bend": .06,
11
+ "flare": .8
11
12
  };
12
13
  var branches = [
13
14
  {
@@ -93,6 +94,14 @@ var fruit = {
93
94
  "sizeVariation": .2,
94
95
  "hang": .3
95
96
  };
97
+ var roots = {
98
+ "count": 7,
99
+ "length": .3,
100
+ "lengthVariation": .3,
101
+ "radius": .4,
102
+ "angle": 10,
103
+ "bend": .35
104
+ };
96
105
  var season = {
97
106
  "leafColor": [
98
107
  {
@@ -201,10 +210,11 @@ var red_oak_default = {
201
210
  foliage,
202
211
  bark,
203
212
  fruit,
213
+ roots,
204
214
  season,
205
215
  wind,
206
216
  variation
207
217
  };
208
- export { bark, branches, red_oak_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
218
+ export { bark, branches, red_oak_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
209
219
 
210
220
  //# sourceMappingURL=red-oak.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.4,
8
8
  "taper": 0.32,
9
9
  "lengthVariation": 0.1,
10
- "bend": 0.06
10
+ "bend": 0.06,
11
+ "flare": 0.8
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -96,6 +97,14 @@
96
97
  "sizeVariation": 0.2,
97
98
  "hang": 0.3
98
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
+ },
99
108
  "season": {
100
109
  "leafColor": [
101
110
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .45,
8
8
  "taper": .12,
9
9
  "lengthVariation": .1,
10
- "bend": .02
10
+ "bend": .02,
11
+ "flare": .8
11
12
  };
12
13
  var branches = [{
13
14
  "angleVariation": .12,
@@ -87,6 +88,14 @@ var fruit = {
87
88
  "sizeVariation": .2,
88
89
  "hang": .6
89
90
  };
91
+ var roots = {
92
+ "count": 7,
93
+ "length": .12,
94
+ "lengthVariation": .3,
95
+ "radius": .4,
96
+ "angle": 10,
97
+ "bend": .35
98
+ };
90
99
  var season = {
91
100
  "leafColor": [
92
101
  {
@@ -155,10 +164,11 @@ var redwood_default = {
155
164
  foliage,
156
165
  bark,
157
166
  fruit,
167
+ roots,
158
168
  season,
159
169
  wind,
160
170
  variation
161
171
  };
162
- export { bark, branches, redwood_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
172
+ export { bark, branches, redwood_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
163
173
 
164
174
  //# sourceMappingURL=redwood.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.45,
8
8
  "taper": 0.12,
9
9
  "lengthVariation": 0.1,
10
- "bend": 0.02
10
+ "bend": 0.02,
11
+ "flare": 0.8
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -90,6 +91,14 @@
90
91
  "sizeVariation": 0.2,
91
92
  "hang": 0.6
92
93
  },
94
+ "roots": {
95
+ "count": 7,
96
+ "length": 0.12,
97
+ "lengthVariation": 0.3,
98
+ "radius": 0.4,
99
+ "angle": 10,
100
+ "bend": 0.35
101
+ },
93
102
  "season": {
94
103
  "leafColor": [
95
104
  {
@@ -7,7 +7,8 @@ var trunk = {
7
7
  "radius": .9,
8
8
  "taper": .15,
9
9
  "lengthVariation": .1,
10
- "bend": .02
10
+ "bend": .02,
11
+ "flare": .8
11
12
  };
12
13
  var branches = [{
13
14
  "angleVariation": .15,
@@ -80,6 +81,14 @@ var fruit = {
80
81
  "sizeVariation": .2,
81
82
  "hang": .4
82
83
  };
84
+ var roots = {
85
+ "count": 7,
86
+ "length": .12,
87
+ "lengthVariation": .3,
88
+ "radius": .4,
89
+ "angle": 10,
90
+ "bend": .35
91
+ };
83
92
  var season = {
84
93
  "leafColor": [
85
94
  {
@@ -148,10 +157,11 @@ var sequoia_default = {
148
157
  foliage,
149
158
  bark,
150
159
  fruit,
160
+ roots,
151
161
  season,
152
162
  wind,
153
163
  variation
154
164
  };
155
- export { bark, branches, sequoia_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
165
+ export { bark, branches, sequoia_default as default, foliage, form, fruit, id, name, roots, season, trunk, variation, wind };
156
166
 
157
167
  //# sourceMappingURL=sequoia.js.map
@@ -7,7 +7,8 @@
7
7
  "radius": 0.9,
8
8
  "taper": 0.15,
9
9
  "lengthVariation": 0.1,
10
- "bend": 0.02
10
+ "bend": 0.02,
11
+ "flare": 0.8
11
12
  },
12
13
  "branches": [
13
14
  {
@@ -86,6 +87,14 @@
86
87
  "sizeVariation": 0.2,
87
88
  "hang": 0.4
88
89
  },
90
+ "roots": {
91
+ "count": 7,
92
+ "length": 0.12,
93
+ "lengthVariation": 0.3,
94
+ "radius": 0.4,
95
+ "angle": 10,
96
+ "bend": 0.35
97
+ },
89
98
  "season": {
90
99
  "leafColor": [
91
100
  {