@casmo/tree.js 0.1.1 → 0.2.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 (190) hide show
  1. package/README.md +106 -16
  2. package/dist/apply-CcodnAbs.js +250 -0
  3. package/dist/apply-CcodnAbs.js.map +1 -0
  4. package/dist/bake/index.d.ts +2 -2
  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 +7 -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 +95 -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 +10 -1
  22. package/dist/forest/Forest.d.ts.map +1 -1
  23. package/dist/forest/nodes.d.ts +4 -1
  24. package/dist/forest/nodes.d.ts.map +1 -1
  25. package/dist/{forest-OX9WvAwh.js → forest-DTrD8puH.js} +695 -546
  26. package/dist/forest-DTrD8puH.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/fruit.d.ts +28 -0
  30. package/dist/generator/fruit.d.ts.map +1 -0
  31. package/dist/generator/growth.d.ts +1 -1
  32. package/dist/generator/growth.d.ts.map +1 -1
  33. package/dist/generator/index.d.ts +4 -4
  34. package/dist/generator/index.d.ts.map +1 -1
  35. package/dist/generator/leaf-shapes.d.ts +33 -1
  36. package/dist/generator/leaf-shapes.d.ts.map +1 -1
  37. package/dist/generator/trunk.d.ts +8 -2
  38. package/dist/generator/trunk.d.ts.map +1 -1
  39. package/dist/generator/types.d.ts +34 -5
  40. package/dist/generator/types.d.ts.map +1 -1
  41. package/dist/index.d.ts +4 -2
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +48 -4
  44. package/dist/index.js.map +1 -1
  45. package/dist/materials/index.d.ts +6 -0
  46. package/dist/materials/index.d.ts.map +1 -1
  47. package/dist/names-C6-wuJ29.js +589 -0
  48. package/dist/names-C6-wuJ29.js.map +1 -0
  49. package/dist/react/Tree.d.ts +5 -2
  50. package/dist/react/Tree.d.ts.map +1 -1
  51. package/dist/react.js +10 -6
  52. package/dist/react.js.map +1 -1
  53. package/dist/season/nodes.d.ts +16 -0
  54. package/dist/season/nodes.d.ts.map +1 -1
  55. package/dist/season/profile.d.ts +26 -0
  56. package/dist/season/profile.d.ts.map +1 -1
  57. package/dist/species/almond.js +213 -0
  58. package/dist/species/almond.js.map +1 -0
  59. package/dist/species/almond.json +201 -0
  60. package/dist/species/apple.js +220 -0
  61. package/dist/species/apple.js.map +1 -0
  62. package/dist/species/apple.json +211 -0
  63. package/dist/species/ash.js +177 -0
  64. package/dist/species/ash.js.map +1 -0
  65. package/dist/species/ash.json +168 -0
  66. package/dist/species/beech.js +164 -0
  67. package/dist/species/beech.js.map +1 -0
  68. package/dist/species/beech.json +158 -0
  69. package/dist/species/birch.js +160 -0
  70. package/dist/species/birch.js.map +1 -0
  71. package/dist/species/birch.json +154 -0
  72. package/dist/species/catalog.d.ts +61 -0
  73. package/dist/species/catalog.d.ts.map +1 -0
  74. package/dist/species/cedar.js +159 -0
  75. package/dist/species/cedar.js.map +1 -0
  76. package/dist/species/cedar.json +159 -0
  77. package/dist/species/cherry.js +227 -0
  78. package/dist/species/cherry.js.map +1 -0
  79. package/dist/species/cherry.json +215 -0
  80. package/dist/species/chestnut.js +220 -0
  81. package/dist/species/chestnut.js.map +1 -0
  82. package/dist/species/chestnut.json +211 -0
  83. package/dist/species/douglas-fir.js +164 -0
  84. package/dist/species/douglas-fir.js.map +1 -0
  85. package/dist/species/douglas-fir.json +161 -0
  86. package/dist/species/elm.js +163 -0
  87. package/dist/species/elm.js.map +1 -0
  88. package/dist/species/elm.json +154 -0
  89. package/dist/species/hemlock.js +165 -0
  90. package/dist/species/hemlock.js.map +1 -0
  91. package/dist/species/hemlock.json +162 -0
  92. package/dist/species/hickory.js +190 -0
  93. package/dist/species/hickory.js.map +1 -0
  94. package/dist/species/hickory.json +183 -0
  95. package/dist/species/index.d.ts +10 -0
  96. package/dist/species/index.d.ts.map +1 -0
  97. package/dist/species/juniper.js +148 -0
  98. package/dist/species/juniper.js.map +1 -0
  99. package/dist/species/juniper.json +145 -0
  100. package/dist/species/loaders.d.ts +7 -0
  101. package/dist/species/loaders.d.ts.map +1 -0
  102. package/dist/species/mahogany.js +191 -0
  103. package/dist/species/mahogany.js.map +1 -0
  104. package/dist/species/mahogany.json +187 -0
  105. package/dist/species/maple.js +167 -0
  106. package/dist/species/maple.js.map +1 -0
  107. package/dist/species/maple.json +162 -0
  108. package/dist/species/oak.js +210 -0
  109. package/dist/species/oak.js.map +1 -0
  110. package/dist/species/oak.json +203 -0
  111. package/dist/species/olive.js +179 -0
  112. package/dist/species/olive.js.map +1 -0
  113. package/dist/species/olive.json +172 -0
  114. package/dist/species/peach.js +213 -0
  115. package/dist/species/peach.js.map +1 -0
  116. package/dist/species/peach.json +201 -0
  117. package/dist/species/pear.js +203 -0
  118. package/dist/species/pear.js.map +1 -0
  119. package/dist/species/pear.json +191 -0
  120. package/dist/species/pine.js +153 -0
  121. package/dist/species/pine.js.map +1 -0
  122. package/dist/species/pine.json +153 -0
  123. package/dist/species/plum.js +227 -0
  124. package/dist/species/plum.js.map +1 -0
  125. package/dist/species/plum.json +215 -0
  126. package/dist/species/red-oak.js +210 -0
  127. package/dist/species/red-oak.js.map +1 -0
  128. package/dist/species/red-oak.json +203 -0
  129. package/dist/species/redwood.js +164 -0
  130. package/dist/species/redwood.js.map +1 -0
  131. package/dist/species/redwood.json +161 -0
  132. package/dist/species/sequoia.js +157 -0
  133. package/dist/species/sequoia.js.map +1 -0
  134. package/dist/species/sequoia.json +157 -0
  135. package/dist/species/spruce.js +160 -0
  136. package/dist/species/spruce.js.map +1 -0
  137. package/dist/species/spruce.json +157 -0
  138. package/dist/species/teak.js +156 -0
  139. package/dist/species/teak.js.map +1 -0
  140. package/dist/species/teak.json +148 -0
  141. package/dist/species/types.d.ts +61 -0
  142. package/dist/species/types.d.ts.map +1 -0
  143. package/dist/species/walnut.js +210 -0
  144. package/dist/species/walnut.js.map +1 -0
  145. package/dist/species/walnut.json +203 -0
  146. package/dist/species/white-oak.js +203 -0
  147. package/dist/species/white-oak.js.map +1 -0
  148. package/dist/species/white-oak.json +199 -0
  149. package/dist/species.js +160 -0
  150. package/dist/species.js.map +1 -0
  151. package/dist/styles/apply.d.ts +12 -0
  152. package/dist/styles/apply.d.ts.map +1 -0
  153. package/dist/styles/low-poly/index.d.ts +1 -1
  154. package/dist/styles/low-poly/index.d.ts.map +1 -1
  155. package/dist/styles/low-poly.js +9 -8
  156. package/dist/styles/low-poly.js.map +1 -1
  157. package/dist/styles/names.d.ts +28 -0
  158. package/dist/styles/names.d.ts.map +1 -0
  159. package/dist/styles/realistic/index.d.ts +3 -8
  160. package/dist/styles/realistic/index.d.ts.map +1 -1
  161. package/dist/styles/realistic/textures.d.ts +20 -0
  162. package/dist/styles/realistic/textures.d.ts.map +1 -0
  163. package/dist/styles/realistic.js +10 -16
  164. package/dist/styles/realistic.js.map +1 -1
  165. package/dist/styles/registry.d.ts +2 -13
  166. package/dist/styles/registry.d.ts.map +1 -1
  167. package/dist/styles/stylized/index.d.ts +1 -1
  168. package/dist/styles/stylized/index.d.ts.map +1 -1
  169. package/dist/styles/stylized.js +9 -8
  170. package/dist/styles/stylized.js.map +1 -1
  171. package/dist/styles/types.d.ts +16 -2
  172. package/dist/styles/types.d.ts.map +1 -1
  173. package/dist/textures/realistic/bark-fibrous-normal.png +0 -0
  174. package/dist/textures/realistic/bark-fibrous.png +0 -0
  175. package/dist/textures/realistic/bark-papery-normal.png +0 -0
  176. package/dist/textures/realistic/bark-papery.png +0 -0
  177. package/dist/textures/realistic/bark-plated-normal.png +0 -0
  178. package/dist/textures/realistic/bark-plated.png +0 -0
  179. package/dist/textures/realistic/bark-smooth-normal.png +0 -0
  180. package/dist/textures/realistic/bark-smooth.png +0 -0
  181. package/dist/textures/realistic/leaf-compound.png +0 -0
  182. package/dist/textures/realistic/leaf-lobed.png +0 -0
  183. package/dist/textures/realistic/leaf-palmate.png +0 -0
  184. package/dist/textures/realistic/scale.png +0 -0
  185. package/dist/tree/Tree.d.ts +6 -4
  186. package/dist/tree/Tree.d.ts.map +1 -1
  187. package/package.json +9 -2
  188. package/dist/forest-OX9WvAwh.js.map +0 -1
  189. package/dist/types-BZjHhNz7.js +0 -20
  190. package/dist/types-BZjHhNz7.js.map +0 -1
@@ -0,0 +1,227 @@
1
+ // src/species/data/cherry.json
2
+ var id = "cherry";
3
+ var name = "Cherry";
4
+ var form = "broadleaf";
5
+ var trunk = {
6
+ "length": 5,
7
+ "radius": .26,
8
+ "taper": .35,
9
+ "lengthVariation": .12,
10
+ "bend": .1
11
+ };
12
+ var branches = [
13
+ {
14
+ "angleVariation": .15,
15
+ "spiral": 137.5,
16
+ "lengthVariation": .15,
17
+ "taper": .4,
18
+ "bend": .12,
19
+ "gravity": .08,
20
+ "lengthProfile": [
21
+ {
22
+ "t": .38,
23
+ "value": .95
24
+ },
25
+ {
26
+ "t": .65,
27
+ "value": 1
28
+ },
29
+ {
30
+ "t": 1,
31
+ "value": .45
32
+ }
33
+ ],
34
+ "angleProfile": [{
35
+ "t": .38,
36
+ "value": 1.1
37
+ }, {
38
+ "t": 1,
39
+ "value": .7
40
+ }],
41
+ "count": 7,
42
+ "start": .38,
43
+ "end": .94,
44
+ "angle": 48,
45
+ "length": .55,
46
+ "radius": .55
47
+ },
48
+ {
49
+ "angleVariation": .15,
50
+ "spiral": 137.5,
51
+ "lengthVariation": .15,
52
+ "taper": .45,
53
+ "bend": .12,
54
+ "gravity": .1,
55
+ "count": 3,
56
+ "start": .3,
57
+ "end": 1,
58
+ "angle": 40,
59
+ "length": .55,
60
+ "radius": .6
61
+ },
62
+ {
63
+ "angleVariation": .15,
64
+ "spiral": 137.5,
65
+ "lengthVariation": .15,
66
+ "taper": .45,
67
+ "bend": .1,
68
+ "gravity": -.1,
69
+ "count": 2,
70
+ "start": .35,
71
+ "end": 1,
72
+ "angle": 38,
73
+ "length": .5,
74
+ "radius": .6
75
+ }
76
+ ];
77
+ var foliage = {
78
+ "type": "broad",
79
+ "density": .45,
80
+ "size": .45,
81
+ "sizeVariation": .25,
82
+ "start": .05,
83
+ "angle": 45
84
+ };
85
+ var bark = {
86
+ "type": "smooth",
87
+ "color": "#a07a6a"
88
+ };
89
+ var fruit = {
90
+ "type": "round",
91
+ "count": .7,
92
+ "size": .18,
93
+ "sizeVariation": .15,
94
+ "hang": 1
95
+ };
96
+ var season = {
97
+ "leafColor": [
98
+ {
99
+ "t": 0,
100
+ "value": "#a9c95e"
101
+ },
102
+ {
103
+ "t": .2,
104
+ "value": "#3f6e2c"
105
+ },
106
+ {
107
+ "t": .54,
108
+ "value": "#3f6e2c"
109
+ },
110
+ {
111
+ "t": .6,
112
+ "value": "#c8642a"
113
+ },
114
+ {
115
+ "t": .7,
116
+ "value": "#a8332a"
117
+ },
118
+ {
119
+ "t": 1,
120
+ "value": "#a8332a"
121
+ }
122
+ ],
123
+ "leafCoverage": [
124
+ {
125
+ "t": 0,
126
+ "value": 0
127
+ },
128
+ {
129
+ "t": .03,
130
+ "value": 0
131
+ },
132
+ {
133
+ "t": .15,
134
+ "value": 1
135
+ },
136
+ {
137
+ "t": .6,
138
+ "value": 1
139
+ },
140
+ {
141
+ "t": .72,
142
+ "value": 0
143
+ }
144
+ ],
145
+ "blossom": [
146
+ {
147
+ "t": 0,
148
+ "value": 0
149
+ },
150
+ {
151
+ "t": .01,
152
+ "value": 0
153
+ },
154
+ {
155
+ "t": .06,
156
+ "value": 1
157
+ },
158
+ {
159
+ "t": .096,
160
+ "value": .9
161
+ },
162
+ {
163
+ "t": .15,
164
+ "value": 0
165
+ }
166
+ ],
167
+ "blossomColor": "#f7c9d6",
168
+ "fruit": [
169
+ {
170
+ "t": .16,
171
+ "value": 0
172
+ },
173
+ {
174
+ "t": .26,
175
+ "value": 1
176
+ },
177
+ {
178
+ "t": .44,
179
+ "value": 1
180
+ },
181
+ {
182
+ "t": .52,
183
+ "value": 0
184
+ }
185
+ ],
186
+ "fruitColor": [
187
+ {
188
+ "t": .2,
189
+ "value": "#86b13c"
190
+ },
191
+ {
192
+ "t": .3,
193
+ "value": "#d0262e"
194
+ },
195
+ {
196
+ "t": .38,
197
+ "value": "#7a0d1c"
198
+ }
199
+ ]
200
+ };
201
+ var wind = {
202
+ "trunk": .06,
203
+ "branches": .32,
204
+ "leaves": .65,
205
+ "frequency": 1
206
+ };
207
+ var variation = {
208
+ "color": .1,
209
+ "growth": .1,
210
+ "season": .05
211
+ };
212
+ var cherry_default = {
213
+ id,
214
+ name,
215
+ form,
216
+ trunk,
217
+ branches,
218
+ foliage,
219
+ bark,
220
+ fruit,
221
+ season,
222
+ wind,
223
+ variation
224
+ };
225
+ export { bark, branches, cherry_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
226
+
227
+ //# sourceMappingURL=cherry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cherry.js","names":[],"sources":[],"mappings":""}
@@ -0,0 +1,215 @@
1
+ {
2
+ "id": "cherry",
3
+ "name": "Cherry",
4
+ "form": "broadleaf",
5
+ "trunk": {
6
+ "length": 5,
7
+ "radius": 0.26,
8
+ "taper": 0.35,
9
+ "lengthVariation": 0.12,
10
+ "bend": 0.1
11
+ },
12
+ "branches": [
13
+ {
14
+ "angleVariation": 0.15,
15
+ "spiral": 137.5,
16
+ "lengthVariation": 0.15,
17
+ "taper": 0.4,
18
+ "bend": 0.12,
19
+ "gravity": 0.08,
20
+ "lengthProfile": [
21
+ {
22
+ "t": 0.38,
23
+ "value": 0.95
24
+ },
25
+ {
26
+ "t": 0.65,
27
+ "value": 1.0
28
+ },
29
+ {
30
+ "t": 1.0,
31
+ "value": 0.45
32
+ }
33
+ ],
34
+ "angleProfile": [
35
+ {
36
+ "t": 0.38,
37
+ "value": 1.1
38
+ },
39
+ {
40
+ "t": 1.0,
41
+ "value": 0.7
42
+ }
43
+ ],
44
+ "count": 7,
45
+ "start": 0.38,
46
+ "end": 0.94,
47
+ "angle": 48,
48
+ "length": 0.55,
49
+ "radius": 0.55
50
+ },
51
+ {
52
+ "angleVariation": 0.15,
53
+ "spiral": 137.5,
54
+ "lengthVariation": 0.15,
55
+ "taper": 0.45,
56
+ "bend": 0.12,
57
+ "gravity": 0.1,
58
+ "count": 3,
59
+ "start": 0.3,
60
+ "end": 1,
61
+ "angle": 40,
62
+ "length": 0.55,
63
+ "radius": 0.6
64
+ },
65
+ {
66
+ "angleVariation": 0.15,
67
+ "spiral": 137.5,
68
+ "lengthVariation": 0.15,
69
+ "taper": 0.45,
70
+ "bend": 0.1,
71
+ "gravity": -0.1,
72
+ "count": 2,
73
+ "start": 0.35,
74
+ "end": 1,
75
+ "angle": 38,
76
+ "length": 0.5,
77
+ "radius": 0.6
78
+ }
79
+ ],
80
+ "foliage": {
81
+ "type": "broad",
82
+ "density": 0.45,
83
+ "size": 0.45,
84
+ "sizeVariation": 0.25,
85
+ "start": 0.05,
86
+ "angle": 45
87
+ },
88
+ "bark": {
89
+ "type": "smooth",
90
+ "color": "#a07a6a"
91
+ },
92
+ "fruit": {
93
+ "type": "round",
94
+ "count": 0.7,
95
+ "size": 0.18,
96
+ "sizeVariation": 0.15,
97
+ "hang": 1
98
+ },
99
+ "season": {
100
+ "leafColor": [
101
+ {
102
+ "t": 0,
103
+ "value": "#a9c95e"
104
+ },
105
+ {
106
+ "t": 0.2,
107
+ "value": "#3f6e2c"
108
+ },
109
+ {
110
+ "t": 0.54,
111
+ "value": "#3f6e2c"
112
+ },
113
+ {
114
+ "t": 0.6,
115
+ "value": "#c8642a"
116
+ },
117
+ {
118
+ "t": 0.7,
119
+ "value": "#a8332a"
120
+ },
121
+ {
122
+ "t": 1,
123
+ "value": "#a8332a"
124
+ }
125
+ ],
126
+ "leafCoverage": [
127
+ {
128
+ "t": 0,
129
+ "value": 0
130
+ },
131
+ {
132
+ "t": 0.03,
133
+ "value": 0
134
+ },
135
+ {
136
+ "t": 0.15,
137
+ "value": 1
138
+ },
139
+ {
140
+ "t": 0.6,
141
+ "value": 1
142
+ },
143
+ {
144
+ "t": 0.72,
145
+ "value": 0
146
+ }
147
+ ],
148
+ "blossom": [
149
+ {
150
+ "t": 0,
151
+ "value": 0
152
+ },
153
+ {
154
+ "t": 0.01,
155
+ "value": 0
156
+ },
157
+ {
158
+ "t": 0.06,
159
+ "value": 1
160
+ },
161
+ {
162
+ "t": 0.096,
163
+ "value": 0.9
164
+ },
165
+ {
166
+ "t": 0.15,
167
+ "value": 0
168
+ }
169
+ ],
170
+ "blossomColor": "#f7c9d6",
171
+ "fruit": [
172
+ {
173
+ "t": 0.16,
174
+ "value": 0
175
+ },
176
+ {
177
+ "t": 0.26,
178
+ "value": 1
179
+ },
180
+ {
181
+ "t": 0.44,
182
+ "value": 1
183
+ },
184
+ {
185
+ "t": 0.52,
186
+ "value": 0
187
+ }
188
+ ],
189
+ "fruitColor": [
190
+ {
191
+ "t": 0.2,
192
+ "value": "#86b13c"
193
+ },
194
+ {
195
+ "t": 0.3,
196
+ "value": "#d0262e"
197
+ },
198
+ {
199
+ "t": 0.38,
200
+ "value": "#7a0d1c"
201
+ }
202
+ ]
203
+ },
204
+ "wind": {
205
+ "trunk": 0.06,
206
+ "branches": 0.32,
207
+ "leaves": 0.65,
208
+ "frequency": 1
209
+ },
210
+ "variation": {
211
+ "color": 0.1,
212
+ "growth": 0.1,
213
+ "season": 0.05
214
+ }
215
+ }
@@ -0,0 +1,220 @@
1
+ // src/species/data/chestnut.json
2
+ var id = "chestnut";
3
+ var name = "Chestnut";
4
+ var form = "broadleaf";
5
+ var trunk = {
6
+ "length": 4.4,
7
+ "radius": .6,
8
+ "taper": .38,
9
+ "lengthVariation": .12,
10
+ "bend": .22
11
+ };
12
+ var branches = [
13
+ {
14
+ "angleVariation": .15,
15
+ "spiral": 137.5,
16
+ "lengthVariation": .15,
17
+ "taper": .45,
18
+ "bend": .2,
19
+ "gravity": .18,
20
+ "lengthProfile": [
21
+ {
22
+ "t": .45,
23
+ "value": 1
24
+ },
25
+ {
26
+ "t": .75,
27
+ "value": 1
28
+ },
29
+ {
30
+ "t": 1,
31
+ "value": .55
32
+ }
33
+ ],
34
+ "angleProfile": [{
35
+ "t": .45,
36
+ "value": 1.2
37
+ }, {
38
+ "t": 1,
39
+ "value": .55
40
+ }],
41
+ "count": 7,
42
+ "start": .45,
43
+ "end": .95,
44
+ "angle": 55,
45
+ "length": .9,
46
+ "radius": .6
47
+ },
48
+ {
49
+ "angleVariation": .15,
50
+ "spiral": 137.5,
51
+ "lengthVariation": .15,
52
+ "taper": .45,
53
+ "bend": .18,
54
+ "gravity": .2,
55
+ "count": 3,
56
+ "start": .3,
57
+ "end": 1,
58
+ "angle": 45,
59
+ "length": .55,
60
+ "radius": .6
61
+ },
62
+ {
63
+ "angleVariation": .15,
64
+ "spiral": 137.5,
65
+ "lengthVariation": .15,
66
+ "taper": .45,
67
+ "bend": .15,
68
+ "gravity": .2,
69
+ "count": 2,
70
+ "start": .4,
71
+ "end": 1,
72
+ "angle": 40,
73
+ "length": .5,
74
+ "radius": .6
75
+ }
76
+ ];
77
+ var foliage = {
78
+ "type": "broad",
79
+ "density": .6,
80
+ "size": .72,
81
+ "sizeVariation": .2,
82
+ "start": .05,
83
+ "angle": 50
84
+ };
85
+ var bark = {
86
+ "type": "furrowed",
87
+ "color": "#8e8272"
88
+ };
89
+ var fruit = {
90
+ "type": "nut",
91
+ "count": .3,
92
+ "size": .14,
93
+ "sizeVariation": .2,
94
+ "hang": .25
95
+ };
96
+ var season = {
97
+ "leafColor": [
98
+ {
99
+ "t": 0,
100
+ "value": "#a5c45a"
101
+ },
102
+ {
103
+ "t": .2,
104
+ "value": "#33602a"
105
+ },
106
+ {
107
+ "t": .52,
108
+ "value": "#33602a"
109
+ },
110
+ {
111
+ "t": .6,
112
+ "value": "#bf9c38"
113
+ },
114
+ {
115
+ "t": .7,
116
+ "value": "#8c6a2c"
117
+ },
118
+ {
119
+ "t": .97,
120
+ "value": "#8c6a2c"
121
+ },
122
+ {
123
+ "t": 1,
124
+ "value": "#a5c45a"
125
+ }
126
+ ],
127
+ "leafCoverage": [
128
+ {
129
+ "t": 0,
130
+ "value": .3
131
+ },
132
+ {
133
+ "t": .1,
134
+ "value": 1
135
+ },
136
+ {
137
+ "t": .62,
138
+ "value": 1
139
+ },
140
+ {
141
+ "t": .78,
142
+ "value": 0
143
+ },
144
+ {
145
+ "t": .96,
146
+ "value": 0
147
+ },
148
+ {
149
+ "t": 1,
150
+ "value": .3
151
+ }
152
+ ],
153
+ "blossom": [
154
+ {
155
+ "t": .18,
156
+ "value": 0
157
+ },
158
+ {
159
+ "t": .24,
160
+ "value": .35
161
+ },
162
+ {
163
+ "t": .3,
164
+ "value": 0
165
+ }
166
+ ],
167
+ "blossomColor": "#e8dc8a",
168
+ "fruit": [
169
+ {
170
+ "t": .25,
171
+ "value": 0
172
+ },
173
+ {
174
+ "t": .42,
175
+ "value": 1
176
+ },
177
+ {
178
+ "t": .64,
179
+ "value": 1
180
+ },
181
+ {
182
+ "t": .72,
183
+ "value": 0
184
+ }
185
+ ],
186
+ "fruitColor": [{
187
+ "t": .38,
188
+ "value": "#9ab83a"
189
+ }, {
190
+ "t": .6,
191
+ "value": "#8a6a2a"
192
+ }]
193
+ };
194
+ var wind = {
195
+ "trunk": .08,
196
+ "branches": .3,
197
+ "leaves": .6,
198
+ "frequency": .9
199
+ };
200
+ var variation = {
201
+ "color": .1,
202
+ "growth": .1,
203
+ "season": .05
204
+ };
205
+ var chestnut_default = {
206
+ id,
207
+ name,
208
+ form,
209
+ trunk,
210
+ branches,
211
+ foliage,
212
+ bark,
213
+ fruit,
214
+ season,
215
+ wind,
216
+ variation
217
+ };
218
+ export { bark, branches, chestnut_default as default, foliage, form, fruit, id, name, season, trunk, variation, wind };
219
+
220
+ //# sourceMappingURL=chestnut.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chestnut.js","names":[],"sources":[],"mappings":""}