Verdant Engine documentation
Build verified 3D games, compliant interfaces, and neural worlds for Rust and the web.
The data in this figure
| Study and design | Hands-on code | |
|---|---|---|
| Deep context | Tensor & Neuro | Authoring & UI |
| Practical steps | API reference | Getting started |
Choose your path by role
Verdant Engine is a lawful, high-definition 3D game, story, and interface engine in Rust and WebAssembly.
Every pass enforces solid two-level BVH collision, camera near-plane guard spheres, 22-joint Foot IK characters, and three-pass PBR shadows.
It also scales across floating-origin universe cells, conservation-verified Chronicles, formal UI proofs, and Stitch peer shards.
- KaiGame developerA runnable 3D game world with ECS, XPBD physics, neuromorphic attention, spatial audio, and a starter template.
- IrisTechnical artistExternal GLB scene ingestion, skeletal rigs, validated portable WGSL shaders, and progressive UORC transcoding.
- MiraUI and compliance architectVerified 2D screen-space and 3D diegetic interfaces with 48px touch targets, WCAG contrast, and reachable focus graphs.
- OttoEngine systems engineerFifteen unified uor-matmul semiring kernels, zero-copy Wasm buffers, 60fps worker budgets, and zero magic constants.
- VeraSecurity auditorProof that UORC streaming is monotonic, capability grants enforce denial-wins, and Stitch shards verify SHA-256 seals.
- WrenBrowser playerA responsive 60fps 3D viewport with progressive UORC streaming, mutual-attention camera framing, and spatial audio.
- SolMultiplayer world citizenSelf-custodied Foundry Prism ID sessions, 2-of-3 Stitch parity shards, and deterministic peer rollback rooms.
Live WebAssembly 3D Citadel and tile viewport
Every page in these docs runs site/verdant-wasm.wasm live so you can test the engine while reading.
Engine layer table
| Layer | Crate or path | Core responsibilities |
|---|---|---|
| 4 · Browser Studio | site/, crates/verdant-wasm | 7-role Studio, Standalone Engine Demo, Project Scaffolder, 3-pass WebGL2, and 16x16 tile PBR |
| 3 · Engine Core | crates/verdant-core, crates/verdant-cli | TwoLevelBvh CCD, LawfulCameraRig, 22-joint IK, UniversePosition, and StoryAutomaton |
| 2 · Tensor Substrate | crates/verdant-tensor | Fifteen unified semiring kernels and three zero-decode codec tiers |
| 1 · Prism Model | app/src/*.lex.tex | Constructive Lean proofs compiled into prism_kernel.rs |
Self-hosting, Rust registry, and archive
- Boot via the Blank Frame to pull verified 4-of-8 Stitch shards with zero accounts.
- Add the live RFC 2789 Cargo Sparse Registry at
sparse+https://afflom.github.io/verdant-engine/crates/index/to installverdant-core,verdant-tensor,verdant-wasm, orverdant-cli. - Inspect the permanent Zenodo release archive at zenodo.org/records/24383968.
Documentation map
- Build your first 3D world walks through spawning entities, stepping physics, and observing mutual attention.
- Author scenes, UI compliance, and spatial audio covers
.glbimport, XPBD joints, formal UI checks, and occluded sound. - Stream zero-decode scenes and Stitch shards shows how
uorc_decompress,coded_gemm, and Stitch parity shards run in WebAssembly. - Verdant Engine API reference lists crates, types, rollback sessions, CLI subcommands, and 60fps budgets.
- Unified semiring tensor core and neuromorphic loop explains all fifteen semiring kernels, LIF recurrence, and embedded SLM routing.
Words on this page 1
- bounding volume hierarchy
- A tree of 3D bounding boxes partitioned by surface area so raycasts, diegetic UI picks, and camera frustum checks skip distant geometry.