西风逍遥游
|
9a171ce52a
|
feat(procgen): add L-system engine, mesh.lsystem recipe, and poissonDisk sampler
- General stochastic bracketed L-system engine (algorithms/LSystem) with
weighted production rules, 3D turtle interpreter, per-depth radius falloff,
leaf markers, and tropism; exposed to scripts via procgen.newLSystem().
- Register mesh.lsystem recipe (tree/fern/plant/weed presets) that emits
tapered branch cylinders + foliage cards.
- Add PointSet-level blue-noise poissonDisk() (Bridson) sampler.
- Tests: determinism, seed divergence, turtle depth/leaf invariants, mesh
determinism/error reporting, script facade, poisson min-spacing/caps.
- Render-dump test gated on EVENGINE_LSYSTEM_RENDER_PNG / _STYLE.
|
2026-08-26 08:07:23 +08:00 |
|