@bendyline/molen-tooling 0.0.12 → 0.0.14

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 (55) hide show
  1. package/dist/capture/harness.js +616 -332
  2. package/dist/capture/worldgen-preview.js +540 -326
  3. package/dist/docs-src/guide/adaptive-performance.md +42 -9
  4. package/dist/docs-src/guide/aircraft.md +171 -11
  5. package/dist/docs-src/guide/ambient-life.md +30 -3
  6. package/dist/docs-src/guide/audio.md +38 -1
  7. package/dist/docs-src/guide/boats.md +9 -4
  8. package/dist/docs-src/guide/boost-mode.md +64 -0
  9. package/dist/docs-src/guide/browser-mount.md +11 -0
  10. package/dist/docs-src/guide/determinism.md +2 -1
  11. package/dist/docs-src/guide/dioramas.md +11 -4
  12. package/dist/docs-src/guide/earth-view.md +145 -8
  13. package/dist/docs-src/guide/entities.md +3 -0
  14. package/dist/docs-src/guide/glass.md +134 -0
  15. package/dist/docs-src/guide/graphics-performance.md +196 -14
  16. package/dist/docs-src/guide/input.md +34 -1
  17. package/dist/docs-src/guide/liveries.md +167 -0
  18. package/dist/docs-src/guide/livery-catalog.md +2659 -0
  19. package/dist/docs-src/guide/livery-gallery.md +2684 -0
  20. package/dist/docs-src/guide/medium-fi.md +13 -5
  21. package/dist/docs-src/guide/navigation.md +23 -5
  22. package/dist/docs-src/guide/night-lighting.md +97 -0
  23. package/dist/docs-src/guide/project.md +1 -1
  24. package/dist/docs-src/guide/regional-fleets.md +9 -4
  25. package/dist/docs-src/guide/regional-world.md +9 -3
  26. package/dist/docs-src/guide/rendering-backends.md +6 -2
  27. package/dist/docs-src/guide/sky.md +2 -2
  28. package/dist/docs-src/guide/surface-rendering.md +21 -3
  29. package/dist/docs-src/guide/terrain.md +68 -3
  30. package/dist/docs-src/guide/vehicle-interiors.md +34 -3
  31. package/dist/docs-src/guide/vehicles.md +60 -2
  32. package/dist/docs-src/guide/weather.md +60 -21
  33. package/dist/docs-src/guide/worldgen.md +20 -5
  34. package/dist/docs-src/llms.txt +8 -2
  35. package/dist/docs-src/schemas/archstyle.md +29 -0
  36. package/dist/docs-src/schemas/components.md +1790 -176
  37. package/dist/docs-src/schemas/regional-catalog.md +39 -0
  38. package/dist/docs-src/schemas/scatter.md +36 -0
  39. package/dist/docs-src/schemas/structure-placement-data.md +91 -0
  40. package/dist/docs-src/schemas/structure-placements.md +91 -0
  41. package/dist/docs-src/schemas/worldgen-batch.md +105 -0
  42. package/dist/templates/city-courier/gen/molen-types.ts +204 -1
  43. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +203 -0
  44. package/dist/templates/city-courier/src/shared/playback.ts +21 -10
  45. package/dist/templates/cubes/src/shared/playback.ts +21 -10
  46. package/dist/templates/data-viz/src/shared/playback.ts +21 -10
  47. package/dist/templates/figures-gallery/src/shared/playback.ts +21 -10
  48. package/dist/templates/index.json +17 -17
  49. package/dist/templates/skybound/gen/molen-types.ts +204 -1
  50. package/dist/templates/skybound/scripts/molen-scripts.d.ts +203 -0
  51. package/dist/templates/skybound/src/shared/playback.ts +21 -10
  52. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +203 -0
  53. package/dist/templates/top-down-arena/src/gen/molen-types.ts +204 -1
  54. package/dist/templates/top-down-arena/src/shared/playback.ts +21 -10
  55. package/package.json +12 -12
@@ -413,6 +413,31 @@ Composable ecological and architectural channels with explicit dependency versio
413
413
  "pattern": "^#[0-9a-fA-F]{6}$"
414
414
  },
415
415
  "description": "Label pattern to '#rrggbb' surface color (exact, then word match)."
416
+ },
417
+ "detail": {
418
+ "description": "Exact label to [brush, bare] ground detail, each 0..1: the share of dark shrub speckle the ground shows where single shrubs are too small or too many to place (from the air, scrubland is its sum), and how often lighter bare-soil patches (vacant lots, worn ground) break it up.",
419
+ "type": "object",
420
+ "propertyNames": {
421
+ "type": "string"
422
+ },
423
+ "additionalProperties": {
424
+ "type": "array",
425
+ "prefixItems": [
426
+ {
427
+ "type": "number",
428
+ "minimum": 0,
429
+ "maximum": 1
430
+ },
431
+ {
432
+ "type": "number",
433
+ "minimum": 0,
434
+ "maximum": 1
435
+ }
436
+ ],
437
+ "items": false,
438
+ "minItems": 2,
439
+ "maxItems": 2
440
+ }
416
441
  }
417
442
  },
418
443
  "required": [
@@ -475,6 +500,12 @@ Composable ecological and architectural channels with explicit dependency versio
475
500
  "exclusiveMinimum": 0,
476
501
  "maximum": 9007199254740991,
477
502
  "description": "Hard cap per batch for this rule."
503
+ },
504
+ "coverGrowth": {
505
+ "description": "Largest crown widening that holds canopy and understory cover while a coarser tier or an instance budget thins them: kept instances widen by 1/sqrt(kept share) up to this factor and grow by its square root in height. Default 1 (none).",
506
+ "type": "number",
507
+ "minimum": 1,
508
+ "maximum": 4
478
509
  }
479
510
  },
480
511
  "required": [
@@ -866,6 +897,11 @@ Composable ecological and architectural channels with explicit dependency versio
866
897
  "type": "integer",
867
898
  "exclusiveMinimum": 0,
868
899
  "maximum": 9007199254740991
900
+ },
901
+ "coverGrowth": {
902
+ "type": "number",
903
+ "minimum": 1,
904
+ "maximum": 4
869
905
  }
870
906
  },
871
907
  "additionalProperties": false,
@@ -1238,7 +1274,10 @@ Composable ecological and architectural channels with explicit dependency versio
1238
1274
  "type": "string",
1239
1275
  "enum": [
1240
1276
  "antlers",
1277
+ "palmate",
1241
1278
  "horns",
1279
+ "straight-horns",
1280
+ "mane",
1242
1281
  "long-neck",
1243
1282
  "bushy-tail",
1244
1283
  "stripes",
@@ -174,6 +174,31 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
174
174
  "pattern": "^#[0-9a-fA-F]{6}$"
175
175
  },
176
176
  "description": "Label pattern to '#rrggbb' surface color (exact, then word match)."
177
+ },
178
+ "detail": {
179
+ "description": "Exact label to [brush, bare] ground detail, each 0..1: the share of dark shrub speckle the ground shows where single shrubs are too small or too many to place (from the air, scrubland is its sum), and how often lighter bare-soil patches (vacant lots, worn ground) break it up.",
180
+ "type": "object",
181
+ "propertyNames": {
182
+ "type": "string"
183
+ },
184
+ "additionalProperties": {
185
+ "type": "array",
186
+ "prefixItems": [
187
+ {
188
+ "type": "number",
189
+ "minimum": 0,
190
+ "maximum": 1
191
+ },
192
+ {
193
+ "type": "number",
194
+ "minimum": 0,
195
+ "maximum": 1
196
+ }
197
+ ],
198
+ "items": false,
199
+ "minItems": 2,
200
+ "maxItems": 2
201
+ }
177
202
  }
178
203
  },
179
204
  "required": [
@@ -236,6 +261,12 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
236
261
  "exclusiveMinimum": 0,
237
262
  "maximum": 9007199254740991,
238
263
  "description": "Hard cap per batch for this rule."
264
+ },
265
+ "coverGrowth": {
266
+ "description": "Largest crown widening that holds canopy and understory cover while a coarser tier or an instance budget thins them: kept instances widen by 1/sqrt(kept share) up to this factor and grow by its square root in height. Default 1 (none).",
267
+ "type": "number",
268
+ "minimum": 1,
269
+ "maximum": 4
239
270
  }
240
271
  },
241
272
  "required": [
@@ -627,6 +658,11 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
627
658
  "type": "integer",
628
659
  "exclusiveMinimum": 0,
629
660
  "maximum": 9007199254740991
661
+ },
662
+ "coverGrowth": {
663
+ "type": "number",
664
+ "minimum": 1,
665
+ "maximum": 4
630
666
  }
631
667
  },
632
668
  "additionalProperties": false,
@@ -204,6 +204,67 @@ Geographic placement data with authoring explanations omitted.
204
204
  "minItems": 2,
205
205
  "maxItems": 2
206
206
  },
207
+ "deckProfile": {
208
+ "minItems": 2,
209
+ "maxItems": 512,
210
+ "type": "array",
211
+ "items": {
212
+ "type": "array",
213
+ "prefixItems": [
214
+ {
215
+ "type": "number"
216
+ },
217
+ {
218
+ "type": "number"
219
+ },
220
+ {
221
+ "type": "number"
222
+ }
223
+ ],
224
+ "items": false,
225
+ "minItems": 3,
226
+ "maxItems": 3
227
+ }
228
+ },
229
+ "includeTransverseBridges": {
230
+ "type": "boolean"
231
+ },
232
+ "deckEndpoints": {
233
+ "type": "array",
234
+ "prefixItems": [
235
+ {
236
+ "type": "array",
237
+ "prefixItems": [
238
+ {
239
+ "type": "number"
240
+ },
241
+ {
242
+ "type": "number"
243
+ }
244
+ ],
245
+ "items": false,
246
+ "minItems": 2,
247
+ "maxItems": 2
248
+ },
249
+ {
250
+ "type": "array",
251
+ "prefixItems": [
252
+ {
253
+ "type": "number"
254
+ },
255
+ {
256
+ "type": "number"
257
+ }
258
+ ],
259
+ "items": false,
260
+ "minItems": 2,
261
+ "maxItems": 2
262
+ }
263
+ ],
264
+ "items": false,
265
+ "minItems": 2,
266
+ "maxItems": 2
267
+ },
207
268
  "includeConnectedApproaches": {
208
269
  "type": "boolean"
209
270
  }
@@ -280,6 +341,36 @@ Geographic placement data with authoring explanations omitted.
280
341
  "groundCutout": {
281
342
  "type": "object",
282
343
  "properties": {
344
+ "preservePaving": {
345
+ "type": "boolean"
346
+ },
347
+ "minHeight": {
348
+ "type": "number"
349
+ },
350
+ "pavingOutlines": {
351
+ "minItems": 1,
352
+ "maxItems": 64,
353
+ "type": "array",
354
+ "items": {
355
+ "minItems": 3,
356
+ "maxItems": 512,
357
+ "type": "array",
358
+ "items": {
359
+ "type": "array",
360
+ "prefixItems": [
361
+ {
362
+ "type": "number"
363
+ },
364
+ {
365
+ "type": "number"
366
+ }
367
+ ],
368
+ "items": false,
369
+ "minItems": 2,
370
+ "maxItems": 2
371
+ }
372
+ }
373
+ },
283
374
  "outline": {
284
375
  "minItems": 3,
285
376
  "maxItems": 512,
@@ -218,6 +218,67 @@ WGS84 anchors for authored models; draft entries are indexed but not rendered.
218
218
  "minItems": 2,
219
219
  "maxItems": 2
220
220
  },
221
+ "deckProfile": {
222
+ "minItems": 2,
223
+ "maxItems": 512,
224
+ "type": "array",
225
+ "items": {
226
+ "type": "array",
227
+ "prefixItems": [
228
+ {
229
+ "type": "number"
230
+ },
231
+ {
232
+ "type": "number"
233
+ },
234
+ {
235
+ "type": "number"
236
+ }
237
+ ],
238
+ "items": false,
239
+ "minItems": 3,
240
+ "maxItems": 3
241
+ }
242
+ },
243
+ "includeTransverseBridges": {
244
+ "type": "boolean"
245
+ },
246
+ "deckEndpoints": {
247
+ "type": "array",
248
+ "prefixItems": [
249
+ {
250
+ "type": "array",
251
+ "prefixItems": [
252
+ {
253
+ "type": "number"
254
+ },
255
+ {
256
+ "type": "number"
257
+ }
258
+ ],
259
+ "items": false,
260
+ "minItems": 2,
261
+ "maxItems": 2
262
+ },
263
+ {
264
+ "type": "array",
265
+ "prefixItems": [
266
+ {
267
+ "type": "number"
268
+ },
269
+ {
270
+ "type": "number"
271
+ }
272
+ ],
273
+ "items": false,
274
+ "minItems": 2,
275
+ "maxItems": 2
276
+ }
277
+ ],
278
+ "items": false,
279
+ "minItems": 2,
280
+ "maxItems": 2
281
+ },
221
282
  "includeConnectedApproaches": {
222
283
  "type": "boolean"
223
284
  }
@@ -296,6 +357,36 @@ WGS84 anchors for authored models; draft entries are indexed but not rendered.
296
357
  "groundCutout": {
297
358
  "type": "object",
298
359
  "properties": {
360
+ "preservePaving": {
361
+ "type": "boolean"
362
+ },
363
+ "minHeight": {
364
+ "type": "number"
365
+ },
366
+ "pavingOutlines": {
367
+ "minItems": 1,
368
+ "maxItems": 64,
369
+ "type": "array",
370
+ "items": {
371
+ "minItems": 3,
372
+ "maxItems": 512,
373
+ "type": "array",
374
+ "items": {
375
+ "type": "array",
376
+ "prefixItems": [
377
+ {
378
+ "type": "number"
379
+ },
380
+ {
381
+ "type": "number"
382
+ }
383
+ ],
384
+ "items": false,
385
+ "minItems": 2,
386
+ "maxItems": 2
387
+ }
388
+ }
389
+ },
299
390
  "outline": {
300
391
  "minItems": 3,
301
392
  "maxItems": 512,
@@ -133,6 +133,106 @@ A serialized generation request: labeled building outlines, optional labeled pol
133
133
  "items": {
134
134
  "type": "object",
135
135
  "properties": {
136
+ "yard": {
137
+ "description": "Lot driveway and open fence segments, in local meters; attach once per house.",
138
+ "type": "object",
139
+ "properties": {
140
+ "driveway": {
141
+ "type": "object",
142
+ "properties": {
143
+ "from": {
144
+ "minItems": 2,
145
+ "maxItems": 2,
146
+ "type": "array",
147
+ "items": {
148
+ "type": "number"
149
+ },
150
+ "description": "[x, z] in local meters."
151
+ },
152
+ "to": {
153
+ "minItems": 2,
154
+ "maxItems": 2,
155
+ "type": "array",
156
+ "items": {
157
+ "type": "number"
158
+ },
159
+ "description": "[x, z] in local meters."
160
+ },
161
+ "width": {
162
+ "type": "number",
163
+ "exclusiveMinimum": 0,
164
+ "maximum": 12
165
+ },
166
+ "lift": {
167
+ "type": "number",
168
+ "minimum": 0,
169
+ "maximum": 1
170
+ }
171
+ },
172
+ "required": [
173
+ "from",
174
+ "to",
175
+ "width"
176
+ ],
177
+ "additionalProperties": false
178
+ },
179
+ "fence": {
180
+ "type": "object",
181
+ "properties": {
182
+ "kind": {
183
+ "type": "string",
184
+ "enum": [
185
+ "timber",
186
+ "masonry",
187
+ "rail"
188
+ ]
189
+ },
190
+ "height": {
191
+ "type": "number",
192
+ "minimum": 0.3,
193
+ "maximum": 2
194
+ },
195
+ "segments": {
196
+ "maxItems": 64,
197
+ "type": "array",
198
+ "items": {
199
+ "type": "array",
200
+ "prefixItems": [
201
+ {
202
+ "minItems": 2,
203
+ "maxItems": 2,
204
+ "type": "array",
205
+ "items": {
206
+ "type": "number"
207
+ },
208
+ "description": "[x, z] in local meters."
209
+ },
210
+ {
211
+ "minItems": 2,
212
+ "maxItems": 2,
213
+ "type": "array",
214
+ "items": {
215
+ "type": "number"
216
+ },
217
+ "description": "[x, z] in local meters."
218
+ }
219
+ ],
220
+ "items": false,
221
+ "minItems": 2,
222
+ "maxItems": 2
223
+ }
224
+ }
225
+ },
226
+ "required": [
227
+ "kind",
228
+ "height",
229
+ "segments"
230
+ ],
231
+ "additionalProperties": false
232
+ }
233
+ },
234
+ "additionalProperties": false
235
+ },
136
236
  "priority": {
137
237
  "type": "number"
138
238
  },
@@ -162,6 +262,11 @@ A serialized generation request: labeled building outlines, optional labeled pol
162
262
  "exclusiveMinimum": 0,
163
263
  "maximum": 12
164
264
  },
265
+ "lift": {
266
+ "type": "number",
267
+ "minimum": 0,
268
+ "maximum": 1
269
+ },
165
270
  "garage": {
166
271
  "type": "boolean"
167
272
  }