Repository navigation
Kerabit 3.0 replaces Rhai with compiled Juni scripting and lifts the renderer to a modern real-time pipeline on the same tiny rustup + cargo footprint.
Scripting: Juni (breaking)
.juniscripts (statically typed, Python-like indentation) compile in-process against the Kerabit prelude (crates/kerabit-juni/juni/kerabit.juni, the Frozen for 3.0 host API) via Juno v13.0.0externhost imports, and run in a fuel-limited wasmtime store.fn main() -> i32once at load,fn frame(dt: f32) -> i32per frame,state:for persistence, entities asi32handles. Type errors showfile:line:colbefore Play; runaway loops trap instead of hanging..rhaifiles no longer load — port withcargo run -p kerabit-juni --bin check_juni -- script.juni(see API.md § Juni for the 1:1 mapping). Spark andhello_juniare the reference scripts.
Rendering
- Depth prepass + G-buffer; clustered lighting (
MAX_LIGHTS4 → 256); four cascaded soft shadows; SSAO; HDR image-based lighting (sceneenvironment/Kerabit::environment); screen-space reflections; TAA; mesh LODs (Entity::lod, scenelods). - 10k cubes + 200 point lights at 60 fps (
cargo run -p kerabit --example many_cubes --release). RenderSettingsandKERABIT_RENDER_DEBUGfor toggles and stage views.
Also
- Strike (
cargo run -p strike) FPS arena slice; Kerabit MCP (tools/kerabit-mcp) for agent workflows withkerabit_check_juni. - Editor Script panel edits Juni and type-checks against the host API.
Full notes: CHANGELOG.md. Reach player zips remain on the v1.0.0 assets until re-cut.