@casmo/tree.js 0.2.0 → 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.
- package/README.md +206 -0
- package/dist/{apply-CcodnAbs.js → apply-Cio2t7CZ.js} +51 -16
- package/dist/apply-Cio2t7CZ.js.map +1 -0
- package/dist/bake/index.d.ts +43 -4
- package/dist/bake/index.d.ts.map +1 -1
- package/dist/definition/defaults.d.ts +9 -1
- package/dist/definition/defaults.d.ts.map +1 -1
- package/dist/definition/index.d.ts +2 -2
- package/dist/definition/index.d.ts.map +1 -1
- package/dist/definition/schema.d.ts.map +1 -1
- package/dist/definition/types.d.ts +86 -0
- package/dist/definition/types.d.ts.map +1 -1
- package/dist/forest/Forest.d.ts +27 -1
- package/dist/forest/Forest.d.ts.map +1 -1
- package/dist/forest/nodes.d.ts +2 -0
- package/dist/forest/nodes.d.ts.map +1 -1
- package/dist/{forest-DTrD8puH.js → forest-ChEaWJrf.js} +1121 -191
- package/dist/forest-ChEaWJrf.js.map +1 -0
- package/dist/generator/crown.d.ts +28 -0
- package/dist/generator/crown.d.ts.map +1 -0
- package/dist/generator/growth.d.ts +1 -1
- package/dist/generator/growth.d.ts.map +1 -1
- package/dist/generator/index.d.ts +2 -1
- package/dist/generator/index.d.ts.map +1 -1
- package/dist/generator/mesh.d.ts +10 -2
- package/dist/generator/mesh.d.ts.map +1 -1
- package/dist/generator/occlusion.d.ts +8 -0
- package/dist/generator/occlusion.d.ts.map +1 -0
- package/dist/generator/roots.d.ts +16 -0
- package/dist/generator/roots.d.ts.map +1 -0
- package/dist/generator/trunk.d.ts +8 -0
- package/dist/generator/trunk.d.ts.map +1 -1
- package/dist/generator/types.d.ts +27 -1
- package/dist/generator/types.d.ts.map +1 -1
- package/dist/growth/index.d.ts +1 -1
- package/dist/growth/index.d.ts.map +1 -1
- package/dist/growth/tsl.d.ts +2 -0
- package/dist/growth/tsl.d.ts.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +234 -28
- package/dist/index.js.map +1 -1
- package/dist/materials/crown-nodes.d.ts +20 -0
- package/dist/materials/crown-nodes.d.ts.map +1 -0
- package/dist/materials/crown-normals.d.ts +17 -0
- package/dist/materials/crown-normals.d.ts.map +1 -0
- package/dist/materials/ground-tint.d.ts +13 -0
- package/dist/materials/ground-tint.d.ts.map +1 -0
- package/dist/materials/index.d.ts +7 -1
- package/dist/materials/index.d.ts.map +1 -1
- package/dist/materials/leaf-translucency-model.d.ts +14 -0
- package/dist/materials/leaf-translucency-model.d.ts.map +1 -0
- package/dist/materials/leaf-translucency.d.ts +73 -0
- package/dist/materials/leaf-translucency.d.ts.map +1 -0
- package/dist/materials/material-features.d.ts +43 -0
- package/dist/materials/material-features.d.ts.map +1 -0
- package/dist/materials/occlusion.d.ts +10 -0
- package/dist/materials/occlusion.d.ts.map +1 -0
- package/dist/materials/toon.d.ts +18 -1
- package/dist/materials/toon.d.ts.map +1 -1
- package/dist/{names-C6-wuJ29.js → names-BE9he6CS.js} +133 -9
- package/dist/names-BE9he6CS.js.map +1 -0
- package/dist/react.js +1 -1
- package/dist/species/almond.js +12 -2
- package/dist/species/almond.json +10 -1
- package/dist/species/apple.js +12 -2
- package/dist/species/apple.json +10 -1
- package/dist/species/ash.js +12 -2
- package/dist/species/ash.json +10 -1
- package/dist/species/beech.js +12 -2
- package/dist/species/beech.json +10 -1
- package/dist/species/birch.js +12 -2
- package/dist/species/birch.json +10 -1
- package/dist/species/cedar.js +12 -2
- package/dist/species/cedar.json +10 -1
- package/dist/species/cherry.js +12 -2
- package/dist/species/cherry.json +10 -1
- package/dist/species/chestnut.js +12 -2
- package/dist/species/chestnut.json +10 -1
- package/dist/species/douglas-fir.js +12 -2
- package/dist/species/douglas-fir.json +10 -1
- package/dist/species/elm.js +12 -2
- package/dist/species/elm.json +10 -1
- package/dist/species/hemlock.js +12 -2
- package/dist/species/hemlock.json +10 -1
- package/dist/species/hickory.js +12 -2
- package/dist/species/hickory.json +10 -1
- package/dist/species/juniper.js +12 -2
- package/dist/species/juniper.json +10 -1
- package/dist/species/mahogany.js +12 -2
- package/dist/species/mahogany.json +10 -1
- package/dist/species/maple.js +12 -2
- package/dist/species/maple.json +10 -1
- package/dist/species/oak.js +12 -2
- package/dist/species/oak.json +10 -1
- package/dist/species/olive.js +12 -2
- package/dist/species/olive.json +10 -1
- package/dist/species/peach.js +12 -2
- package/dist/species/peach.json +10 -1
- package/dist/species/pear.js +12 -2
- package/dist/species/pear.json +10 -1
- package/dist/species/pine.js +12 -2
- package/dist/species/pine.json +10 -1
- package/dist/species/plum.js +12 -2
- package/dist/species/plum.json +10 -1
- package/dist/species/red-oak.js +12 -2
- package/dist/species/red-oak.json +10 -1
- package/dist/species/redwood.js +12 -2
- package/dist/species/redwood.json +10 -1
- package/dist/species/sequoia.js +12 -2
- package/dist/species/sequoia.json +10 -1
- package/dist/species/spruce.js +12 -2
- package/dist/species/spruce.json +10 -1
- package/dist/species/teak.js +12 -2
- package/dist/species/teak.json +10 -1
- package/dist/species/types.d.ts +7 -3
- package/dist/species/types.d.ts.map +1 -1
- package/dist/species/walnut.js +12 -2
- package/dist/species/walnut.json +10 -1
- package/dist/species/white-oak.js +12 -2
- package/dist/species/white-oak.json +10 -1
- package/dist/styles/apply.d.ts.map +1 -1
- package/dist/styles/low-poly.js +6 -4
- package/dist/styles/low-poly.js.map +1 -1
- package/dist/styles/material-features.d.ts +27 -0
- package/dist/styles/material-features.d.ts.map +1 -0
- package/dist/styles/realistic.js +6 -4
- package/dist/styles/realistic.js.map +1 -1
- package/dist/styles/stylized.js +6 -4
- package/dist/styles/stylized.js.map +1 -1
- package/dist/tree/Tree.d.ts +28 -1
- package/dist/tree/Tree.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/apply-CcodnAbs.js.map +0 -1
- package/dist/forest-DTrD8puH.js.map +0 -1
- package/dist/names-C6-wuJ29.js.map +0 -1
package/dist/species/mahogany.js
CHANGED
|
@@ -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
|
{
|
package/dist/species/maple.js
CHANGED
|
@@ -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
|
package/dist/species/maple.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/oak.js
CHANGED
|
@@ -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
|
package/dist/species/oak.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/olive.js
CHANGED
|
@@ -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
|
package/dist/species/olive.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/peach.js
CHANGED
|
@@ -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
|
package/dist/species/peach.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/pear.js
CHANGED
|
@@ -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
|
package/dist/species/pear.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/pine.js
CHANGED
|
@@ -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
|
package/dist/species/pine.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/plum.js
CHANGED
|
@@ -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
|
package/dist/species/plum.json
CHANGED
|
@@ -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
|
{
|
package/dist/species/red-oak.js
CHANGED
|
@@ -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
|
{
|
package/dist/species/redwood.js
CHANGED
|
@@ -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
|
{
|
package/dist/species/sequoia.js
CHANGED
|
@@ -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
|
{
|