Rootcause
Procedural flora, terrain, and worlds.
15 botanical species, analytical stream-power erosion, watertight cliffs, ecological succession, and 6-frame lookdev in 1.58 MiB of zero-dep WASM.
# export heightfield from Gaea
# author tree + wind in SpeedTree
# scatter in Houdini, fix floating roots in UE5
# bake impostors in a 4th tool pine = tree("scots_pine", height=13.5, age=0.85)
| auto_rig(buckling_margin=4.0)
| wind(mode="pivot_painter_2", gust_mps=12.0)
alpine = uplift_ridge(size=80, peak_m=260)
| erode_analytical(time_myr=0.9)
| stamp_pad(x=12, y=-8, width_m=20, length_m=14)
Interactive Examples
Switch between runnable Rootcause-Pipe workflows.
units("m"); seed(42); target("unreal5");
pine = tree("scots_pine", height=13.5, age=0.85)
| guide_blueprint(demo=true)
| auto_rig(buckling_margin=4.0)
| wind(mode="pivot_painter_2", gust_mps=12.0)
| impostor(views=64, proxy="tangram6", parallax=true) units("m"); seed(42); target("threejs");
alpine = uplift_ridge(size=80, cell_m=8.0, peak_m=260.0)
| erode_analytical(time_myr=0.9, stages=16)
| detail_zero_drift(amp_m=2.0)
| stamp_pad(x=12.0, y=-8.0, width_m=20.0, length_m=14.0, age_years=120.0)
| geomorph()
forest = ecosystem(terrain="alpine", biome="temperate", years=70) # Stream in-memory .glb straight to sibling jolteon binary over stdin
rootcause jolteon \
-e 'pine = tree(species="scots_pine", age=0.88, height=15.0) | guide_blueprint(demo=true)' \
--mode pt --spp 48 --res 640x640 --out-dir ./out {
"mcpServers": {
"rootcause": {
"command": "/path/to/rootcause/target/release/rootcause",
"args": ["mcp"]
}
}
} Benchmarks
Measured from the local rootcause workspace (11 crates, 81/81 tests, lookdev6 rendered live).
| Metric | Incumbent | Rootcause | Delta |
|---|---|---|---|
| Full 11-crate world stack | 2,500+ MB DCC + terrain suite | 1.87 MiB native · 1.58 MiB WASM | >1,300x smaller |
| Impostor alpha mip drift | 12.0% typical alpha thinning | 0.4% max drift (Tangram 6+1) | 30x tighter |
| Workspace verification | Manual lookdev | 81/81 tests · cross-ISA parity | Native = WASM |
| UE5 ground snap | Floating scatter instances | < 1e-12 m exact snap | Zero floaters |
| MCP schema budget | n/a | 359 tokens (4 tools) | 0-tok clean lint |
Architecture
Exports: PBR .glb + 2048x2048 maps · Pivot Painter 2.0 EXR · Tangram 6+1 impostors · UE5 / Godot / Unity shaders · 6-frame lookdev .png
Biomechanical flora and impostors
15 species with blueprint-guided growth, McMahon buckling lint, Pivot Painter 2.0 wind, and Tangram 6+1 depth-parallax impostors (< 0.4% mip drift).
Tectonic and hydraulic terrain
Braun-Willett stream-power erosion, Priority-Flood zero-sink water networks, particle hydraulic and thermal weathering, dunes, and Forma pad grading.
3D geology and succession
Strike/dip strata across 6 lithologies, watertight Marching Tetrahedra cliffs (NM=0, B=0), 3D moss, and multi-decade biome succession.
Zero-vendoring Jolteon pipe
Streams in-memory .glb straight to Jolteon over stdin for Metal 3 path tracing, alongside a built-in 6-frame blind-critic lookdev sheet.
Outputs
Rendered directly by Rootcause.